Go to the documentation of this file.00001 #ifndef FastL1_h
00002 #define FastL1_h
00003
00004 #include <vector>
00005
00006
00007 class FastL1BitInfo
00008 {
00009
00010 public:
00011
00012 FastL1BitInfo(): m_eta(0), m_phi(0), m_energy(0), m_et(0), m_TauVeto(false), m_EmTauVeto(false), m_HadTauVeto(false), m_IsolationVeto(false), m_SumEtBelowThres(false), m_maxEt(false), m_soft(false), m_hard(false)
00013 {
00014 }
00015
00016 ~FastL1BitInfo()
00017 {
00018 }
00019
00020 void setEta(double Eta){m_eta = Eta;}
00021 void setPhi(double Phi){m_phi = Phi;}
00022 void setEnergy(double Energy){m_energy = Energy;}
00023 void setEt(double Et){m_et = Et;}
00024 void setTauVeto(bool tauVeto){m_TauVeto = tauVeto;}
00025 void setEmTauVeto(bool emTauVeto){m_EmTauVeto = emTauVeto;}
00026 void setHadTauVeto(bool hadTauVeto){m_HadTauVeto = hadTauVeto;}
00027 void setIsolationVeto(bool isolationVeto){m_IsolationVeto = isolationVeto;}
00028 void setSumEtBelowThres(bool sumEtBelowThres){m_SumEtBelowThres = sumEtBelowThres;}
00029 void setMaxEt(bool MaxEt){m_maxEt = MaxEt;}
00030 void setSoft(bool Soft){m_soft = Soft;}
00031 void setHard(bool Hard){m_hard = Hard;}
00032
00033 void setHighestEtTowerID (int id) {m_HighestEtTowerID = id;}
00034 void setHighestEmEtTowerID (int id) {m_HighestEmEtTowerID = id;}
00035 void setHighestHadEtTowerID (int id) {m_HighestHadEtTowerID = id;}
00036
00037 int getHighestEtTowerID () {return m_HighestEtTowerID;}
00038 int getHighestEmEtTowerID () {return m_HighestEmEtTowerID;}
00039 int getHighestHadEtTowerID () {return m_HighestHadEtTowerID;}
00040
00041 double getEta() const {return m_eta;}
00042 double getPhi() const {return m_phi;}
00043 double getEnergy() const {return m_energy;}
00044 double getEt() const {return m_et;}
00045 bool getTauVeto() const {return m_TauVeto;}
00046 bool getEmTauVeto() const {return m_EmTauVeto;}
00047 bool getHadTauVeto() const {return m_HadTauVeto;}
00048 bool getIsolationVeto() const {return m_IsolationVeto;}
00049 bool getSumEtBelowThres() const {return m_SumEtBelowThres;}
00050 bool getMaxEt() const {return m_maxEt;}
00051 bool getSoft() const {return m_soft;}
00052 bool getHard() const {return m_hard;}
00053
00054 private:
00055 double m_eta;
00056 double m_phi;
00057 double m_energy;
00058 double m_et;
00059
00060
00061
00062
00063
00064
00065 int m_HighestEtTowerID;
00066 int m_HighestEmEtTowerID;
00067 int m_HighestHadEtTowerID;
00068
00069 bool m_TauVeto;
00070 bool m_EmTauVeto;
00071 bool m_HadTauVeto;
00072 bool m_IsolationVeto;
00073 bool m_SumEtBelowThres;
00074 bool m_maxEt;
00075 bool m_soft;
00076 bool m_hard;
00077 };
00078
00079
00080 typedef std::vector<FastL1BitInfo> FastL1BitInfoCollection;
00081
00082 #endif