00001 #ifndef TrigConf_DeadTime
00002 #define TrigConf_DeadTime
00003
00004 #include <iosfwd>
00005 #include <string>
00006 #include "TrigConfL1Data/L1DataBaseclass.h"
00007
00008 namespace TrigConf {
00009 class DeadTime : public L1DataBaseclass {
00010 public:
00011 DeadTime();
00012 ~DeadTime();
00013
00014
00015 int simple() const { return m_simple; }
00016 int complex1Level() const { return m_complex1Level; }
00017 int complex1Rate() const { return m_complex1Rate; }
00018 int complex2Level() const { return m_complex2Level; }
00019 int complex2Rate() const { return m_complex2Rate; }
00020
00021
00022 void setSimple ( int i ) { m_simple = i; }
00023 void setComplex1Level( int i ) { m_complex1Level = i; }
00024 void setComplex1Rate ( int i ) { m_complex1Rate = i; }
00025 void setComplex2Level( int i ) { m_complex2Level = i; }
00026 void setComplex2Rate ( int i ) { m_complex2Rate = i; }
00027
00028 virtual void print(const std::string& indent="", unsigned int detail=1) const;
00029 virtual void writeXML(std::ostream & xmlfile, int indentLevel=0, int indentWidth=2) const;
00030
00031 private:
00032 int m_simple;
00033 int m_complex1Level;
00034 int m_complex1Rate;
00035 int m_complex2Level;
00036 int m_complex2Rate;
00037 };
00038 }
00039
00040 #endif