CMS 3D CMS Logo

L2TauIsolationInfo.h
Go to the documentation of this file.
1 /* L2TauIsolationInfo Class
2 Holds output of the Tau L2 IsolationProducer
3 
4 Author: Michail Bachtis
5 University of Wisconsin-Madison
6 e-mail: bachtis@hep.wisc.edu
7 */
8 
9 #ifndef L2TAUISOLATION_INFO_H
10 #define L2TAUISOLATION_INFO_H
11 #include <vector>
12 
13 namespace reco {
14 
16  public:
18  ecalIsolEt_ = 0.;
19  seedEcalHitEt_ = -1.;
20  ecalClusterShape_.push_back(0.);
21  ecalClusterShape_.push_back(0.);
22  ecalClusterShape_.push_back(0.);
23  nEcalHits_ = 0;
24 
25  hcalIsolEt_ = 0.;
26  seedHcalHitEt_ = -1.;
27  hcalClusterShape_.push_back(0.);
28  hcalClusterShape_.push_back(0.);
29  hcalClusterShape_.push_back(0.);
30  nHcalHits_ = 0;
31  }
32 
34 
35  //getters
36  double ecalIsolEt() const { return ecalIsolEt_; }
37  double seedEcalHitEt() const { return seedEcalHitEt_; }
38  std::vector<double> ecalClusterShape() const { return ecalClusterShape_; }
39  int nEcalHits() const { return nEcalHits_; }
40 
41  double hcalIsolEt() const { return hcalIsolEt_; }
42  double seedHcalHitEt() const { return seedHcalHitEt_; }
43  std::vector<double> hcalClusterShape() const { return hcalClusterShape_; }
44  int nHcalHits() const { return nHcalHits_; }
45 
46  //setters
47  void setEcalIsolEt(double et) { ecalIsolEt_ = et; }
48  void setSeedEcalHitEt(double et) { seedEcalHitEt_ = et; }
49  void setEcalClusterShape(const std::vector<double>& shape) { ecalClusterShape_ = shape; }
50  void setNEcalHits(int hits) { nEcalHits_ = hits; }
51  void setHcalIsolEt(double et) { hcalIsolEt_ = et; }
52  void setSeedHcalHitEt(double et) { seedHcalHitEt_ = et; }
53  void setHcalClusterShape(const std::vector<double>& shape) { hcalClusterShape_ = shape; }
54  void setNHcalHits(int hits) { nHcalHits_ = hits; }
55 
56  private:
57  //ECAL Isolation
58  double ecalIsolEt_;
60  std::vector<double> ecalClusterShape_;
62 
63  //HCAL Isolation
64  double hcalIsolEt_;
66  std::vector<double> hcalClusterShape_;
68  };
69 
70 } // namespace reco
71 #endif
reco::L2TauIsolationInfo::hcalClusterShape
std::vector< double > hcalClusterShape() const
Definition: L2TauIsolationInfo.h:43
reco::L2TauIsolationInfo::setNHcalHits
void setNHcalHits(int hits)
Definition: L2TauIsolationInfo.h:54
reco::L2TauIsolationInfo::setHcalIsolEt
void setHcalIsolEt(double et)
Definition: L2TauIsolationInfo.h:51
reco::L2TauIsolationInfo::seedEcalHitEt
double seedEcalHitEt() const
Definition: L2TauIsolationInfo.h:37
reco::L2TauIsolationInfo::setSeedHcalHitEt
void setSeedHcalHitEt(double et)
Definition: L2TauIsolationInfo.h:52
hfClusterShapes_cfi.hits
hits
Definition: hfClusterShapes_cfi.py:5
reco::L2TauIsolationInfo::nEcalHits_
int nEcalHits_
Definition: L2TauIsolationInfo.h:61
reco::L2TauIsolationInfo::ecalIsolEt
double ecalIsolEt() const
Definition: L2TauIsolationInfo.h:36
reco::L2TauIsolationInfo::setNEcalHits
void setNEcalHits(int hits)
Definition: L2TauIsolationInfo.h:50
reco::L2TauIsolationInfo::hcalIsolEt_
double hcalIsolEt_
Definition: L2TauIsolationInfo.h:64
reco::L2TauIsolationInfo::nEcalHits
int nEcalHits() const
Definition: L2TauIsolationInfo.h:39
reco::L2TauIsolationInfo::hcalIsolEt
double hcalIsolEt() const
Definition: L2TauIsolationInfo.h:41
reco::L2TauIsolationInfo::hcalClusterShape_
std::vector< double > hcalClusterShape_
Definition: L2TauIsolationInfo.h:66
reco
fixed size matrix
Definition: AlignmentAlgorithmBase.h:46
reco::L2TauIsolationInfo::seedHcalHitEt_
double seedHcalHitEt_
Definition: L2TauIsolationInfo.h:65
reco::L2TauIsolationInfo::setEcalIsolEt
void setEcalIsolEt(double et)
Definition: L2TauIsolationInfo.h:47
reco::L2TauIsolationInfo::nHcalHits
int nHcalHits() const
Definition: L2TauIsolationInfo.h:44
reco::L2TauIsolationInfo::setSeedEcalHitEt
void setSeedEcalHitEt(double et)
Definition: L2TauIsolationInfo.h:48
reco::L2TauIsolationInfo::ecalClusterShape_
std::vector< double > ecalClusterShape_
Definition: L2TauIsolationInfo.h:60
EgHLTOffHistBins_cfi.et
et
Definition: EgHLTOffHistBins_cfi.py:8
reco::L2TauIsolationInfo::setHcalClusterShape
void setHcalClusterShape(const std::vector< double > &shape)
Definition: L2TauIsolationInfo.h:53
reco::L2TauIsolationInfo
Definition: L2TauIsolationInfo.h:15
reco::L2TauIsolationInfo::seedEcalHitEt_
double seedEcalHitEt_
Definition: L2TauIsolationInfo.h:59
reco::L2TauIsolationInfo::ecalClusterShape
std::vector< double > ecalClusterShape() const
Definition: L2TauIsolationInfo.h:38
reco::L2TauIsolationInfo::setEcalClusterShape
void setEcalClusterShape(const std::vector< double > &shape)
Definition: L2TauIsolationInfo.h:49
reco::L2TauIsolationInfo::nHcalHits_
int nHcalHits_
Definition: L2TauIsolationInfo.h:67
reco::L2TauIsolationInfo::L2TauIsolationInfo
L2TauIsolationInfo()
Definition: L2TauIsolationInfo.h:17
reco::L2TauIsolationInfo::ecalIsolEt_
double ecalIsolEt_
Definition: L2TauIsolationInfo.h:58
reco::L2TauIsolationInfo::~L2TauIsolationInfo
~L2TauIsolationInfo()
Definition: L2TauIsolationInfo.h:33
reco::L2TauIsolationInfo::seedHcalHitEt
double seedHcalHitEt() const
Definition: L2TauIsolationInfo.h:42