Go to the documentation of this file.
32 std::vector<reco::TrackExtrapolation>
const& fExtrapolations,
35 for (JetRefs::const_iterator jetsBegin = fJets.begin(), jetsEnd = fJets.end(), ijet = jetsBegin; ijet != jetsEnd;
46 std::vector<reco::TrackExtrapolation>
const& fExtrapolations,
48 reco::CaloJet const* pCaloJet = dynamic_cast<reco::CaloJet const*>(&fJet);
49 if (pCaloJet ==
nullptr) {
50 throw cms::Exception(
"InvalidInput") <<
"Expecting calo jets only in JetTracksAssociationXtrpCalo";
60 for (std::vector<reco::TrackExtrapolation>::const_iterator xtrpBegin = fExtrapolations.begin(),
61 xtrpEnd = fExtrapolations.end(),
65 if (ixtrp->positions().empty())
Jets made from CaloTowers.
Base class for all types of Jets.
bool setValue(Container &, const reco::JetBaseRef &, reco::TrackRefVector)
associate jet with value. Returns false and associate nothing if jet is already associated
std::vector< JetRef > JetRefs
virtual ~JetTracksAssociationXtrpCalo()
Destructor.
LorentzVector detectorP4() const
detector p4 for full 3d vertex correction.
void push_back(value_type const &ref)
Add a Ref<C, T> to the RefVector.
math::XYZPoint Point
point in the space
double phi() const final
momentum azimuthal angle
JetTracksAssociationXtrpCalo()
Constructor.
*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
void produce(Association *, JetRefs const &, std::vector< reco::TrackExtrapolation > const &, CaloGeometry const &, double dR)
Associates tracks to jets.
void associateInputTracksToJet(reco::TrackRefVector &associated, const reco::Jet &fJet, std::vector< reco::TrackExtrapolation > const &fExtrapolations, double dR)