CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
FastL1BitInfo.h
Go to the documentation of this file.
1 #ifndef FastL1_h
2 #define FastL1_h
3 
4 #include <vector>
5 
6 // Defining my own class
8 {
9 
10 public:
11 
13 {
14 }
15 
17 {
18 }
19 
20 void setEta(double Eta){m_eta = Eta;}
21 void setPhi(double Phi){m_phi = Phi;}
22 void setEnergy(double Energy){m_energy = Energy;}
23 void setEt(double Et){m_et = Et;}
24 void setTauVeto(bool tauVeto){m_TauVeto = tauVeto;}
25 void setEmTauVeto(bool emTauVeto){m_EmTauVeto = emTauVeto;}
26 void setHadTauVeto(bool hadTauVeto){m_HadTauVeto = hadTauVeto;}
27 void setIsolationVeto(bool isolationVeto){m_IsolationVeto = isolationVeto;}
28 void setSumEtBelowThres(bool sumEtBelowThres){m_SumEtBelowThres = sumEtBelowThres;}
29 void setMaxEt(bool MaxEt){m_maxEt = MaxEt;}
30 void setSoft(bool Soft){m_soft = Soft;}
31 void setHard(bool Hard){m_hard = Hard;}
32 
36 
40 
41 double getEta() const {return m_eta;}
42 double getPhi() const {return m_phi;}
43 double getEnergy() const {return m_energy;}
44 double getEt() const {return m_et;}
45 bool getTauVeto() const {return m_TauVeto;}
46 bool getEmTauVeto() const {return m_EmTauVeto;}
47 bool getHadTauVeto() const {return m_HadTauVeto;}
48 bool getIsolationVeto() const {return m_IsolationVeto;}
49 bool getSumEtBelowThres() const {return m_SumEtBelowThres;}
50 bool getMaxEt() const {return m_maxEt;}
51 bool getSoft() const {return m_soft;}
52 bool getHard() const {return m_hard;}
53 
54 private:
55  double m_eta;
56  double m_phi;
57  double m_energy;
58  double m_et;
59 
60 // ID is defined like this:
61 // 0 1 2 3
62 // 4 5 6 7
63 // 8 9 10 11
64 // 12 13 14 15
68 
69  bool m_TauVeto;
74  bool m_maxEt;
75  bool m_soft;
76  bool m_hard;
77 };
78 
79 // Defining vector of my classs
80 typedef std::vector<FastL1BitInfo> FastL1BitInfoCollection;
81 
82 #endif
void setTauVeto(bool tauVeto)
Definition: FastL1BitInfo.h:24
double getEt() const
Definition: FastL1BitInfo.h:44
bool getEmTauVeto() const
Definition: FastL1BitInfo.h:46
int getHighestEtTowerID()
Definition: FastL1BitInfo.h:37
void setEt(double Et)
Definition: FastL1BitInfo.h:23
bool getIsolationVeto() const
Definition: FastL1BitInfo.h:48
int getHighestEmEtTowerID()
Definition: FastL1BitInfo.h:38
void setHighestEtTowerID(int id)
Definition: FastL1BitInfo.h:33
std::vector< FastL1BitInfo > FastL1BitInfoCollection
Definition: FastL1BitInfo.h:80
bool getHard() const
Definition: FastL1BitInfo.h:52
void setPhi(double Phi)
Definition: FastL1BitInfo.h:21
int m_HighestHadEtTowerID
Definition: FastL1BitInfo.h:67
double getPhi() const
Definition: FastL1BitInfo.h:42
void setHadTauVeto(bool hadTauVeto)
Definition: FastL1BitInfo.h:26
void setEnergy(double Energy)
Definition: FastL1BitInfo.h:22
bool m_IsolationVeto
Definition: FastL1BitInfo.h:72
void setEta(double Eta)
Definition: FastL1BitInfo.h:20
void setSoft(bool Soft)
Definition: FastL1BitInfo.h:30
bool getSoft() const
Definition: FastL1BitInfo.h:51
void setSumEtBelowThres(bool sumEtBelowThres)
Definition: FastL1BitInfo.h:28
void setMaxEt(bool MaxEt)
Definition: FastL1BitInfo.h:29
void setHard(bool Hard)
Definition: FastL1BitInfo.h:31
void setIsolationVeto(bool isolationVeto)
Definition: FastL1BitInfo.h:27
bool getTauVeto() const
Definition: FastL1BitInfo.h:45
void setEmTauVeto(bool emTauVeto)
Definition: FastL1BitInfo.h:25
void setHighestHadEtTowerID(int id)
Definition: FastL1BitInfo.h:35
bool getHadTauVeto() const
Definition: FastL1BitInfo.h:47
bool getSumEtBelowThres() const
Definition: FastL1BitInfo.h:49
bool getMaxEt() const
Definition: FastL1BitInfo.h:50
int getHighestHadEtTowerID()
Definition: FastL1BitInfo.h:39
bool m_SumEtBelowThres
Definition: FastL1BitInfo.h:73
int m_HighestEmEtTowerID
Definition: FastL1BitInfo.h:66
double getEnergy() const
Definition: FastL1BitInfo.h:43
double getEta() const
Definition: FastL1BitInfo.h:41
void setHighestEmEtTowerID(int id)
Definition: FastL1BitInfo.h:34
int m_HighestEtTowerID
Definition: FastL1BitInfo.h:65