test
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 setPartialIsolationVeto(bool pisolationVeto){m_PartialIsolationVeto = pisolationVeto;}
29 void setTauVetoForPartIso(bool tauVeto){m_TauVetoForPartIso = tauVeto;}
30 void setSumEtBelowThres(bool sumEtBelowThres){m_SumEtBelowThres = sumEtBelowThres;}
31 void setMaxEt(bool MaxEt){m_maxEt = MaxEt;}
32 void setSoft(bool Soft){m_soft = Soft;}
33 void setHard(bool Hard){m_hard = Hard;}
34 
38 
42 
43 double getEta() const {return m_eta;}
44 double getPhi() const {return m_phi;}
45 double getEnergy() const {return m_energy;}
46 double getEt() const {return m_et;}
47 bool getTauVeto() const {return m_TauVeto;}
48 bool getEmTauVeto() const {return m_EmTauVeto;}
49 bool getHadTauVeto() const {return m_HadTauVeto;}
50 bool getIsolationVeto() const {return m_IsolationVeto;}
53 bool getSumEtBelowThres() const {return m_SumEtBelowThres;}
54 bool getMaxEt() const {return m_maxEt;}
55 bool getSoft() const {return m_soft;}
56 bool getHard() const {return m_hard;}
57 
58 private:
59  double m_eta;
60  double m_phi;
61  double m_energy;
62  double m_et;
63 
64 // ID is defined like this:
65 // 0 1 2 3
66 // 4 5 6 7
67 // 8 9 10 11
68 // 12 13 14 15
72 
73  bool m_TauVeto;
80  bool m_maxEt;
81  bool m_soft;
82  bool m_hard;
83 };
84 
85 // Defining vector of my classs
86 typedef std::vector<FastL1BitInfo> FastL1BitInfoCollection;
87 
88 #endif
bool m_TauVetoForPartIso
Definition: FastL1BitInfo.h:77
void setTauVeto(bool tauVeto)
Definition: FastL1BitInfo.h:24
double getEt() const
Definition: FastL1BitInfo.h:46
bool getEmTauVeto() const
Definition: FastL1BitInfo.h:48
int getHighestEtTowerID()
Definition: FastL1BitInfo.h:39
void setEt(double Et)
Definition: FastL1BitInfo.h:23
bool getIsolationVeto() const
Definition: FastL1BitInfo.h:50
int getHighestEmEtTowerID()
Definition: FastL1BitInfo.h:40
void setHighestEtTowerID(int id)
Definition: FastL1BitInfo.h:35
bool getTauVetoForPartIso() const
Definition: FastL1BitInfo.h:51
std::vector< FastL1BitInfo > FastL1BitInfoCollection
Definition: FastL1BitInfo.h:86
bool getHard() const
Definition: FastL1BitInfo.h:56
bool m_PartialIsolationVeto
Definition: FastL1BitInfo.h:78
void setPhi(double Phi)
Definition: FastL1BitInfo.h:21
int m_HighestHadEtTowerID
Definition: FastL1BitInfo.h:71
double getPhi() const
Definition: FastL1BitInfo.h:44
void setHadTauVeto(bool hadTauVeto)
Definition: FastL1BitInfo.h:26
void setEnergy(double Energy)
Definition: FastL1BitInfo.h:22
bool m_IsolationVeto
Definition: FastL1BitInfo.h:76
void setEta(double Eta)
Definition: FastL1BitInfo.h:20
void setSoft(bool Soft)
Definition: FastL1BitInfo.h:32
bool getPartialIsolationVeto() const
Definition: FastL1BitInfo.h:52
bool getSoft() const
Definition: FastL1BitInfo.h:55
void setSumEtBelowThres(bool sumEtBelowThres)
Definition: FastL1BitInfo.h:30
void setMaxEt(bool MaxEt)
Definition: FastL1BitInfo.h:31
void setHard(bool Hard)
Definition: FastL1BitInfo.h:33
void setIsolationVeto(bool isolationVeto)
Definition: FastL1BitInfo.h:27
bool getTauVeto() const
Definition: FastL1BitInfo.h:47
void setEmTauVeto(bool emTauVeto)
Definition: FastL1BitInfo.h:25
void setHighestHadEtTowerID(int id)
Definition: FastL1BitInfo.h:37
bool getHadTauVeto() const
Definition: FastL1BitInfo.h:49
void setPartialIsolationVeto(bool pisolationVeto)
Definition: FastL1BitInfo.h:28
bool getSumEtBelowThres() const
Definition: FastL1BitInfo.h:53
bool getMaxEt() const
Definition: FastL1BitInfo.h:54
int getHighestHadEtTowerID()
Definition: FastL1BitInfo.h:41
volatile std::atomic< bool > shutdown_flag false
bool m_SumEtBelowThres
Definition: FastL1BitInfo.h:79
int m_HighestEmEtTowerID
Definition: FastL1BitInfo.h:70
double getEnergy() const
Definition: FastL1BitInfo.h:45
double getEta() const
Definition: FastL1BitInfo.h:43
void setHighestEmEtTowerID(int id)
Definition: FastL1BitInfo.h:36
void setTauVetoForPartIso(bool tauVeto)
Definition: FastL1BitInfo.h:29
int m_HighestEtTowerID
Definition: FastL1BitInfo.h:69