CMS 3D CMS Logo

PhotonTkIsolation.h
Go to the documentation of this file.
1 #ifndef PhotonTkIsolation_h
2 #define PhotonTkIsolation_h
3 
4 //*****************************************************************************
5 // File: PhotonTkIsolation.h
6 // ----------------------------------------------------------------------------
7 // OrigAuth: Matthias Mozer
8 // Institute: IIHE-VUB
9 //=============================================================================
10 //*****************************************************************************
11 
12 //C++ includes
13 #include <string>
14 
15 //CMSSW includes
19 
21 public:
22  //constructors
24  float intRadius,
25  float etLow,
26  float lip,
27  float drb,
29  reco::TrackBase::Point beamPoint)
33  stripBarrel_(0.0),
34  stripEndcap_(0.0),
35  etLow_(etLow),
36  lip_(lip),
37  drb_(drb),
39  beamPoint_(beamPoint) {
40  setDzOption("vz");
41  }
42 
44  float intRadius,
45  float strip,
46  float etLow,
47  float lip,
48  float drb,
50  reco::TrackBase::Point beamPoint)
56  etLow_(etLow),
57  lip_(lip),
58  drb_(drb),
60  beamPoint_(beamPoint) {
61  setDzOption("vz");
62  }
63 
65  float intRadiusBarrel,
66  float intRadiusEndcap,
67  float stripBarrel,
68  float stripEndcap,
69  float etLow,
70  float lip,
71  float drb,
73  reco::TrackBase::Point beamPoint)
79  etLow_(etLow),
80  lip_(lip),
81  drb_(drb),
83  beamPoint_(beamPoint) {
84  setDzOption("vz");
85  }
86 
88  float intRadiusBarrel,
89  float intRadiusEndcap,
90  float stripBarrel,
91  float stripEndcap,
92  float etLow,
93  float lip,
94  float drb,
95  const reco::TrackCollection*,
96  reco::TrackBase::Point beamPoint,
97  const std::string&);
98 
99  //destructor
101  //methods
102 
103  std::pair<int, float> getIso(const reco::Candidate*) const;
104 
105  void setDzOption(const std::string& s);
106 
107 private:
108  float extRadius2_;
113  float etLow_;
114  float lip_;
115  float drb_;
116 
119 
121 };
122 
123 #endif
PhotonTkIsolation
Definition: PhotonTkIsolation.h:20
PhotonTkIsolation::setDzOption
void setDzOption(const std::string &s)
Definition: PhotonTkIsolation.cc:36
PhotonTkIsolation::intRadiusBarrel2_
float intRadiusBarrel2_
Definition: PhotonTkIsolation.h:109
PhotonTkIsolation::PhotonTkIsolation
PhotonTkIsolation(float extRadius, float intRadius, float etLow, float lip, float drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint)
Definition: PhotonTkIsolation.h:23
PhotonTkIsolation::etLow_
float etLow_
Definition: PhotonTkIsolation.h:113
electronTrackIsolationLcone_cfi.stripEndcap
stripEndcap
Definition: electronTrackIsolationLcone_cfi.py:9
PhotonTkIsolation::beamPoint_
reco::TrackBase::Point beamPoint_
Definition: PhotonTkIsolation.h:118
digitizers_cfi.strip
strip
Definition: digitizers_cfi.py:19
electronEcalRecHitIsolationLcone_cfi.extRadius
extRadius
Definition: electronEcalRecHitIsolationLcone_cfi.py:18
electronEcalRecHitIsolationLcone_cfi.intRadiusBarrel
intRadiusBarrel
Definition: electronEcalRecHitIsolationLcone_cfi.py:15
PhotonTkIsolation::lip_
float lip_
Definition: PhotonTkIsolation.h:114
PhotonTkIsolation::~PhotonTkIsolation
~PhotonTkIsolation()
Definition: PhotonTkIsolation.cc:49
PhotonTkIsolation::stripBarrel_
float stripBarrel_
Definition: PhotonTkIsolation.h:111
PhotonTkIsolation::trackCollection_
const reco::TrackCollection * trackCollection_
Definition: PhotonTkIsolation.h:117
qcdUeDQM_cfi.lip
lip
Definition: qcdUeDQM_cfi.py:25
alignCSCRings.s
s
Definition: alignCSCRings.py:92
Track.h
TrackFwd.h
PhotonTkIsolation::getIso
std::pair< int, float > getIso(const reco::Candidate *) const
Definition: PhotonTkIsolation.cc:52
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
PhotonTkIsolation::extRadius2_
float extRadius2_
Definition: PhotonTkIsolation.h:108
electronTrackIsolationLcone_cfi.stripBarrel
stripBarrel
Definition: electronTrackIsolationLcone_cfi.py:8
duplicaterechits_cfi.trackCollection
trackCollection
Definition: duplicaterechits_cfi.py:4
PhotonTkIsolation::stripEndcap_
float stripEndcap_
Definition: PhotonTkIsolation.h:112
PhotonTkIsolation::PhotonTkIsolation
PhotonTkIsolation(float extRadius, float intRadiusBarrel, float intRadiusEndcap, float stripBarrel, float stripEndcap, float etLow, float lip, float drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint)
Definition: PhotonTkIsolation.h:64
electronEcalRecHitIsolationLcone_cfi.intRadiusEndcap
intRadiusEndcap
Definition: electronEcalRecHitIsolationLcone_cfi.py:16
reco::Candidate
Definition: Candidate.h:27
reco::TrackBase::Point
math::XYZPoint Point
point in the space
Definition: TrackBase.h:80
PhotonTkIsolation::intRadiusEndcap2_
float intRadiusEndcap2_
Definition: PhotonTkIsolation.h:110
electronHcalTowerIsolationLcone_cfi.intRadius
intRadius
Definition: electronHcalTowerIsolationLcone_cfi.py:5
PhotonTkIsolation::dzOption_
int dzOption_
Definition: PhotonTkIsolation.h:120
Candidate.h
PhotonTkIsolation::drb_
float drb_
Definition: PhotonTkIsolation.h:115
reco::TrackCollection
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
PhotonTkIsolation::PhotonTkIsolation
PhotonTkIsolation(float extRadius, float intRadius, float strip, float etLow, float lip, float drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint)
Definition: PhotonTkIsolation.h:43