00001 #ifndef TrigConf_CaloSinCos
00002 #define TrigConf_CaloSinCos
00003
00004 #include <string>
00005 #include "TrigConfL1Data/L1DataBaseclass.h"
00006
00007 namespace TrigConf {
00008
00009 class CaloSinCos : public L1DataBaseclass {
00010 public:
00011
00012 CaloSinCos( const std::string& n, const int v,
00013 int val1, int val2, int val3, int val4,
00014 int val5, int val6, int val7, int val8,
00015 int phimin, int phimax,int etamin,int etamax);
00016
00017 CaloSinCos();
00018
00019 virtual ~CaloSinCos();
00020
00021
00022 int val1() const { return m_Val1; }
00023 int val2() const { return m_Val2; }
00024 int val3() const { return m_Val3; }
00025 int val4() const { return m_Val4; }
00026 int val5() const { return m_Val5; }
00027 int val6() const { return m_Val6; }
00028 int val7() const { return m_Val7; }
00029 int val8() const { return m_Val8; }
00030 int etamin() const { return m_EtaMin; }
00031 int etamax() const { return m_EtaMax; }
00032 int phimin() const { return m_PhiMin; }
00033 int phimax() const { return m_PhiMax; }
00034
00035
00036 void setVal1( int val) { m_Val1 = val; }
00037 void setVal2( int val) { m_Val2 = val; }
00038 void setVal3( int val) { m_Val3 = val; }
00039 void setVal4( int val) { m_Val4 = val; }
00040 void setVal5( int val) { m_Val5 = val; }
00041 void setVal6( int val) { m_Val6 = val; }
00042 void setVal7( int val) { m_Val7 = val; }
00043 void setVal8( int val) { m_Val8 = val; }
00044 void setEtaMin( int val) { m_EtaMin = val; }
00045 void setEtaMax( int val) { m_EtaMax = val; }
00046 void setPhiMin( int val) { m_PhiMin = val; }
00047 void setPhiMax( int val) { m_PhiMax = val; }
00048
00049 virtual void print(const std::string& indent="", unsigned int detail=1) const;
00050
00051 protected:
00052 int m_Val[8];
00053 int m_Val1;
00054 int m_Val2;
00055 int m_Val3;
00056 int m_Val4;
00057 int m_Val5;
00058 int m_Val6;
00059 int m_Val7;
00060 int m_Val8;
00061 int m_PhiMin;
00062 int m_PhiMax;
00063 int m_EtaMin;
00064 int m_EtaMax;
00065
00066 };
00067
00068 }
00069
00070 #endif
00071