36 std::vector<reco::TrackExtrapolation>
const & fExtrapolations,
40 for ( JetRefs::const_iterator jetsBegin = fJets.begin(),
41 jetsEnd = fJets.end(),
43 ijet != jetsEnd; ++ijet ) {
56 std::vector<reco::TrackExtrapolation>
const & fExtrapolations,
60 if ( pCaloJet == 0 ) {
61 throw cms::Exception(
"InvalidInput") <<
"Expecting calo jets only in JetTracksAssociationXtrpCalo";
71 for ( std::vector<reco::TrackExtrapolation>::const_iterator xtrpBegin = fExtrapolations.begin(),
72 xtrpEnd = fExtrapolations.end(), ixtrp = xtrpBegin;
73 ixtrp != xtrpEnd; ++ixtrp ) {
75 if ( ixtrp->positions().size()==0 )
continue;
79 double dr = reco::deltaR<double>(
jetEta,
jetPhi, point.eta(), point.phi() );
Jets made from CaloTowers.
LorentzVector detectorP4() const
detector p4 for full 3d vertex correction.
Base class for all types of Jets.
~JetTracksAssociationXtrpCalo()
Destructor.
void associateInputTracksToJet(reco::TrackRefVector &associated, const reco::Jet &fJet, std::vector< reco::TrackExtrapolation > const &fExtrapolations, double dR)
void produce(Association *, JetRefs const &, std::vector< reco::TrackExtrapolation > const &, CaloGeometry const &, double dR)
Associates tracks to jets.
bool setValue(Container &, const reco::JetBaseRef &, reco::TrackRefVector)
associate jet with value. Returns false and associate nothing if jet is already associated ...
math::XYZPoint Point
point in the space
JetTracksAssociationXtrpCalo()
Constructor.
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
virtual double phi() const
momentum azimuthal angle
std::vector< JetRef > JetRefs
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point