35 std::vector<reco::TrackExtrapolation>
const & fExtrapolations,
39 for ( JetRefs::const_iterator jetsBegin = fJets.begin(),
40 jetsEnd = fJets.end(),
42 ijet != jetsEnd; ++ijet ) {
55 std::vector<reco::TrackExtrapolation>
const & fExtrapolations,
59 if ( pCaloJet == 0 ) {
60 throw cms::Exception(
"InvalidInput") <<
"Expecting calo jets only in JetTracksAssociationXtrpCalo";
70 for ( std::vector<reco::TrackExtrapolation>::const_iterator xtrpBegin = fExtrapolations.begin(),
71 xtrpEnd = fExtrapolations.end(), ixtrp = xtrpBegin;
72 ixtrp != xtrpEnd; ++ixtrp ) {
74 if ( ixtrp->positions().size()==0 )
continue;
78 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