test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 
10 
11 #ifndef L2TAUISOLATION_INFO_H
12 #define L2TAUISOLATION_INFO_H
13 #include <vector>
14 
15 namespace reco {
16 
18 {
19  public:
21  {
22  ecalIsolEt_=0.;
23  seedEcalHitEt_=-1.;
24  ecalClusterShape_.push_back(0.);
25  ecalClusterShape_.push_back(0.);
26  ecalClusterShape_.push_back(0.);
27  nEcalHits_=0;
28 
29  hcalIsolEt_=0.;
30  seedHcalHitEt_=-1.;
31  hcalClusterShape_.push_back(0.);
32  hcalClusterShape_.push_back(0.);
33  hcalClusterShape_.push_back(0.);
34  nHcalHits_=0;
35  }
36 
37 
39  {
40 
41  }
42 
43  //getters
44  double ecalIsolEt() const {return ecalIsolEt_;}
45  double seedEcalHitEt() const {return seedEcalHitEt_;}
46  std::vector<double> ecalClusterShape() const {return ecalClusterShape_;}
47  int nEcalHits() const {return nEcalHits_;}
48 
49  double hcalIsolEt() const {return hcalIsolEt_;}
50  double seedHcalHitEt() const {return seedHcalHitEt_;}
51  std::vector<double> hcalClusterShape() const {return hcalClusterShape_;}
52  int nHcalHits() const {return nHcalHits_;}
53 
54  //setters
55  void setEcalIsolEt(double et) { ecalIsolEt_ = et;}
56  void setSeedEcalHitEt(double et) { seedEcalHitEt_ = et;}
57  void setEcalClusterShape(const std::vector<double>& shape) { ecalClusterShape_ = shape;}
58  void setNEcalHits(int hits) { nEcalHits_ = hits;}
59  void setHcalIsolEt(double et) { hcalIsolEt_ = et;}
60  void setSeedHcalHitEt(double et) { seedHcalHitEt_ = et;}
61  void setHcalClusterShape(const std::vector<double>& shape) { hcalClusterShape_ = shape;}
62  void setNHcalHits(int hits) { nHcalHits_ = hits;}
63 
64  private:
65 
66  //ECAL Isolation
67  double ecalIsolEt_;
69  std::vector<double> ecalClusterShape_;
71 
72 
73  //HCAL Isolation
74  double hcalIsolEt_;
76  std::vector<double> hcalClusterShape_;
78 
79 };
80 
81 }
82 #endif
83 
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