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
21 
23 public:
24  //constructors
26  float intRadius,
27  float etLow,
28  float lip,
29  float drb,
31  reco::TrackBase::Point beamPoint)
35  stripBarrel_(0.0),
36  stripEndcap_(0.0),
37  etLow_(etLow),
38  lip_(lip),
39  drb_(drb),
41  beamPoint_(beamPoint) {
42  setDzOption("vz");
43  }
44 
46  float intRadius,
47  float strip,
48  float etLow,
49  float lip,
50  float drb,
52  reco::TrackBase::Point beamPoint)
58  etLow_(etLow),
59  lip_(lip),
60  drb_(drb),
62  beamPoint_(beamPoint) {
63  setDzOption("vz");
64  }
65 
67  float intRadiusBarrel,
68  float intRadiusEndcap,
69  float stripBarrel,
70  float stripEndcap,
71  float etLow,
72  float lip,
73  float drb,
75  reco::TrackBase::Point beamPoint)
81  etLow_(etLow),
82  lip_(lip),
83  drb_(drb),
85  beamPoint_(beamPoint) {
86  setDzOption("vz");
87  }
88 
90  float intRadiusBarrel,
91  float intRadiusEndcap,
92  float stripBarrel,
93  float stripEndcap,
94  float etLow,
95  float lip,
96  float drb,
97  const reco::TrackCollection*,
98  reco::TrackBase::Point beamPoint,
99  const std::string&);
100 
101  //destructor
103  //methods
104 
105  std::pair<int, float> getIso(const reco::Candidate*) const;
106 
107  void setDzOption(const std::string& s);
108 
109 private:
110  float extRadius2_;
115  float etLow_;
116  float lip_;
117  float drb_;
118 
121 
123 };
124 
125 #endif
PhotonTkIsolation
Definition: PhotonTkIsolation.h:22
PhotonTkIsolation::setDzOption
void setDzOption(const std::string &s)
Definition: PhotonTkIsolation.cc:53
PhotonTkIsolation::intRadiusBarrel2_
float intRadiusBarrel2_
Definition: PhotonTkIsolation.h:111
PhotonTkIsolation::PhotonTkIsolation
PhotonTkIsolation(float extRadius, float intRadius, float etLow, float lip, float drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint)
Definition: PhotonTkIsolation.h:25
PhotonTkIsolation::etLow_
float etLow_
Definition: PhotonTkIsolation.h:115
electronTrackIsolationLcone_cfi.stripEndcap
stripEndcap
Definition: electronTrackIsolationLcone_cfi.py:9
ESHandle.h
PhotonTkIsolation::beamPoint_
reco::TrackBase::Point beamPoint_
Definition: PhotonTkIsolation.h:120
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:116
PhotonTkIsolation::~PhotonTkIsolation
~PhotonTkIsolation()
Definition: PhotonTkIsolation.cc:66
PhotonTkIsolation::stripBarrel_
float stripBarrel_
Definition: PhotonTkIsolation.h:113
PhotonTkIsolation::trackCollection_
const reco::TrackCollection * trackCollection_
Definition: PhotonTkIsolation.h:119
qcdUeDQM_cfi.lip
lip
Definition: qcdUeDQM_cfi.py:25
alignCSCRings.s
s
Definition: alignCSCRings.py:92
Track.h
PhotonTkIsolation::getIso
std::pair< int, float > getIso(const reco::Candidate *) const
Definition: PhotonTkIsolation.cc:69
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
Vertex.h
PhotonTkIsolation::extRadius2_
float extRadius2_
Definition: PhotonTkIsolation.h:110
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:114
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:66
EgammaTrackSelector.h
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:112
electronHcalTowerIsolationLcone_cfi.intRadius
intRadius
Definition: electronHcalTowerIsolationLcone_cfi.py:5
PhotonTkIsolation::dzOption_
int dzOption_
Definition: PhotonTkIsolation.h:122
Candidate.h
PhotonTkIsolation::drb_
float drb_
Definition: PhotonTkIsolation.h:117
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:45