8 #ifndef CalibrationIsolatedParticlesChargeIsolation_h 9 #define CalibrationIsolatedParticlesChargeIsolation_h 45 std::vector<spr::propagatedTrackID>& vdetIds,
53 std::vector<spr::propagatedGenParticleID>& trackIDs,
64 reco::TrackCollection::const_iterator trkItr,
78 std::vector<spr::propagatedTrackID>& vdetIds,
89 const DetId ClosestCell,
104 reco::TrackCollection::const_iterator trkItr,
110 int& nLayers_maxNearP,
111 int& trkQual_maxNearP,
112 double& maxNearP_goodTrk,
118 std::vector<spr::propagatedTrackDirection>& trkDirs,
124 std::vector<spr::propagatedGenParticleID>& trackIDs,
130 std::vector<spr::propagatedTrackDirection>& trkDirs,
142 reco::TrackCollection::const_iterator trkItr,
157 const DetId& coreDet,
158 reco::TrackCollection::const_iterator trkItr,
171 reco::TrackCollection::const_iterator trkItr,
173 const DetId ClosestCell,
double coneChargeIsolation(const edm::Event &iEvent, const edm::EventSetup &iSetup, reco::TrackCollection::const_iterator trkItr, edm::Handle< reco::TrackCollection > trkCollection, TrackDetectorAssociator &associator, TrackAssociatorParameters ¶meters_, const std::string &theTrackQuality, int &nNearTRKs, int &nLayers_maxNearP, int &trkQual_maxNearP, double &maxNearP_goodTrk, const GlobalPoint &hpoint1, const GlobalVector &trackMom, double dR)
bool chargeIsolation(const DetId anyCell, std::vector< DetId > &vdets)
double chargeIsolationGenCone(unsigned int trkIndex, std::vector< spr::propagatedGenParticleID > &trackIDs, double dR, int &nNearTRKs, bool debug=false)
double chargeIsolationCone(unsigned int trkIndex, std::vector< spr::propagatedTrackDirection > &trkDirs, double dR, int &nNearTRKs, bool debug=false)
double chargeIsolationGenEcal(unsigned int trkIndex, std::vector< spr::propagatedGenParticleID > &trackIDs, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, bool debug=false)
double chargeIsolationEcal(unsigned int trkIndex, std::vector< spr::propagatedTrackID > &vdetIds, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, bool debug=false)
double chargeIsolationHcal(unsigned int trkIndex, std::vector< spr::propagatedTrackID > &vdetIds, const HcalTopology *topology, int ieta, int iphi, bool debug=false)