00001 #ifndef TrigConf_PrescaledClock
00002 #define TrigConf_PrescaledClock
00003
00004 #include <iosfwd>
00005 #include <string>
00006 #include "TrigConfL1Data/L1DataBaseclass.h"
00007
00008 namespace TrigConf {
00009 class PrescaledClock : public L1DataBaseclass {
00010 public:
00011 PrescaledClock();
00012 ~PrescaledClock();
00013
00014
00015 int clock1() const { return m_clock1; }
00016 int clock2() const { return m_clock2; }
00017
00018
00019 void setClock1( int clock1 ) { m_clock1 = clock1; }
00020 void setClock2( int clock2 ) { m_clock2 = clock2; }
00021
00022 virtual void print(const std::string& indent="", unsigned int detail=1) const;
00023 virtual void writeXML(std::ostream & xmlfile, int indentLevel=0, int indentWidth=2) const;
00024
00025 private:
00026 int m_clock1;
00027 int m_clock2;
00028 };
00029 }
00030
00031 #endif