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,
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())
69 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.
virtual ~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.
double phi() const final
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