CMS 3D CMS Logo

ChargeIsolationExtra.h
Go to the documentation of this file.
1 #ifndef CalibrationIsolatedParticlesChargeIsolationExtra_h
2 #define CalibrationIsolatedParticlesChargeIsolationExtra_h
3 
4 // system include files
5 #include <memory>
6 #include <cmath>
7 #include <string>
8 #include <map>
9 #include <vector>
10 
11 // user include files
14 
22 
28 
31 
32 namespace spr {
33 
34  double chargeIsolation(const edm::Event& iEvent,
35  const edm::EventSetup& iSetup,
37  reco::TrackCollection::const_iterator trkItr,
39  const CaloSubdetectorGeometry* gEB,
40  const CaloSubdetectorGeometry* gEE,
42  TrackAssociatorParameters& parameters_,
43  int ieta,
44  int iphi,
45  const std::string& theTrackQuality,
46  bool debug = false);
47 
48  bool chargeIsolation(const DetId anyCell, CaloNavigator<DetId>& navigator, int deta, int dphi);
49 
51  const edm::EventSetup& iSetup,
52  const DetId& coreDet,
53  reco::TrackCollection::const_iterator trkItr,
55  const CaloGeometry* geo,
56  const CaloTopology* caloTopology,
58  TrackAssociatorParameters& parameters_,
59  int ieta,
60  int iphi,
61  const std::string& theTrackQuality,
62  bool debug = false);
63 
65  const edm::EventSetup& iSetup,
66  reco::TrackCollection::const_iterator trkItr,
68  const DetId ClosestCell,
69  const HcalTopology* topology,
70  const CaloSubdetectorGeometry* gHB,
72  TrackAssociatorParameters& parameters_,
73  int ieta,
74  int iphi,
75  const std::string& theTrackQuality,
76  bool debug = false);
77 
78 } // namespace spr
79 
80 #endif
LCToCPAssociation_cfi.associator
associator
Definition: LCToCPAssociation_cfi.py:4
Handle.h
spr
Definition: CaloConstants.h:6
CaloNavigator.h
TrackDetectorAssociator.h
HLT_FULL_cff.navigator
navigator
Definition: HLT_FULL_cff.py:13108
HcalTopology
Definition: HcalTopology.h:26
edm::Handle< reco::TrackCollection >
CaloTopology
Definition: CaloTopology.h:19
EcalRecHitCollections.h
LEDCalibrationChannels.iphi
iphi
Definition: LEDCalibrationChannels.py:64
DetId
Definition: DetId.h:17
CaloGeometry
Definition: CaloGeometry.h:21
debug
#define debug
Definition: HDRShower.cc:19
Track.h
TrackFwd.h
spr::chargeIsolationHcal
double chargeIsolationHcal(unsigned int trkIndex, std::vector< spr::propagatedTrackID > &vdetIds, const HcalTopology *topology, int ieta, int iphi, bool debug=false)
Definition: ChargeIsolation.cc:114
LEDCalibrationChannels.ieta
ieta
Definition: LEDCalibrationChannels.py:63
CaloSubdetectorGeometry.h
spr::chargeIsolation
bool chargeIsolation(const DetId anyCell, std::vector< DetId > &vdets)
Definition: ChargeIsolation.cc:213
Event.h
TrackDetectorAssociator
Definition: TrackDetectorAssociator.h:44
iEvent
int iEvent
Definition: GenABIO.cc:224
MagneticField.h
edm::EventSetup
Definition: EventSetup.h:58
AlCaHLTBitMon_QueryRunRegistry.string
string string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
CaloTopology.h
HcalTopology.h
CaloNavigator
Definition: CaloNavigator.h:7
DetId.h
CaloGeometry.h
GlobalVector.h
EventSetup.h
CaloSubdetectorGeometry
Definition: CaloSubdetectorGeometry.h:22
spr::chargeIsolationEcal
double chargeIsolationEcal(unsigned int trkIndex, std::vector< spr::propagatedTrackID > &vdetIds, const CaloGeometry *geo, const CaloTopology *caloTopology, int ieta, int iphi, bool debug=false)
Definition: ChargeIsolation.cc:15
edm::Event
Definition: Event.h:73
GlobalPoint.h
TrackAssociatorParameters
Definition: TrackAssociatorParameters.h:43