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
void setDzOption(const std::string &s)
PhotonTkIsolation(float extRadius, float intRadius, float strip, float etLow, float lip, float drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint)
std::vector< Track > TrackCollection
collection of Tracks
Definition: TrackFwd.h:14
reco::TrackBase::Point beamPoint_
const reco::TrackCollection * trackCollection_
std::pair< int, float > getIso(const reco::Candidate *) const
math::XYZPoint Point
point in the space
Definition: TrackBase.h:80
trackCollection
Definition: JetHT_cfg.py:50
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)
PhotonTkIsolation(float extRadius, float intRadius, float etLow, float lip, float drb, const reco::TrackCollection *trackCollection, reco::TrackBase::Point beamPoint)