CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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
void setSeedHcalHitEt(double et)
void setEcalClusterShape(const std::vector< double > &shape)
std::vector< double > hcalClusterShape() const
void setHcalClusterShape(const std::vector< double > &shape)
void setSeedEcalHitEt(double et)
std::vector< double > hcalClusterShape_
std::vector< double > ecalClusterShape_
std::vector< double > ecalClusterShape() const