CMS 3D CMS Logo

FastL1BitInfo.h

Go to the documentation of this file.
00001 #ifndef FastL1_h
00002 #define FastL1_h
00003 
00004 #include <vector>
00005 
00006 // Defining my own  class
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 double getEta() const {return m_eta;}
00034 double getPhi() const {return m_phi;}
00035 double getEnergy() const {return m_energy;}
00036 double getEt() const {return m_et;}
00037 bool getTauVeto() const {return m_TauVeto;}
00038 bool getEmTauVeto() const {return m_EmTauVeto;}
00039 bool getHadTauVeto() const {return m_HadTauVeto;}
00040 bool getIsolationVeto() const {return m_IsolationVeto;}
00041 bool getSumEtBelowThres() const {return m_SumEtBelowThres;}
00042 bool getMaxEt() const {return m_maxEt;}
00043 bool getSoft() const {return m_soft;}
00044 bool getHard() const {return m_hard;}
00045 
00046 private:
00047   double m_eta;
00048   double m_phi;
00049   double m_energy;
00050   double m_et;
00051 
00052   bool m_TauVeto;
00053   bool m_EmTauVeto;
00054   bool m_HadTauVeto;
00055   bool m_IsolationVeto;
00056   bool m_SumEtBelowThres;
00057   bool m_maxEt;
00058   bool m_soft;
00059   bool m_hard;
00060 };
00061 
00062 // Defining vector of my classs
00063 typedef std::vector<FastL1BitInfo> FastL1BitInfoCollection;
00064 
00065 #endif

Generated on Tue Jun 9 17:35:00 2009 for CMSSW by  doxygen 1.5.4