/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Tof/TofQElecSvc/TofQElecSvc-00-00-05/TofQElecSvc/EndcapElec.h

Go to the documentation of this file.
00001 #ifndef ENDCAPELELEC_H
00002 #define ENDCAPELELEC_H
00003 
00004 class EndcapElec{
00005  public:
00006   EndcapElec()  {}
00007   ~EndcapElec() {}
00008  public:
00009   unsigned int getNum( unsigned int idx )  const { return  m_num[idx];  }
00010   double getP( unsigned int idx )          const { return  m_p[idx];    }
00011   double getSimP( unsigned int idx )       const { return  m_simP[idx]; }
00012 
00013   void  setNum( unsigned int idx, unsigned int num )   { m_num[idx] = num;}
00014   void  setNum( unsigned int num[4] ) {
00015     for( unsigned int i=0; i<4; i++ ) m_num[i] = num[i];
00016   }
00017   void  setP( unsigned int idx, double p )             { m_p[idx] = p;    }
00018   void  setP( double p[11] ) {
00019     for( unsigned int i=0; i<11; i++ ) { m_p[i] = p[i]; }
00020   }
00021   void  setSimP( unsigned int idx, double p )          { m_simP[idx] = p; }
00022   void  setSimP( double p[11] ) {
00023     for( unsigned int i=0; i<11; i++ ) { m_simP[i] = p[i]; }
00024   }
00025 
00026  private:
00027   unsigned int m_num[4];
00028   double m_p[11];
00029   double m_simP[11];
00030 }
00031 
00032 #endif

Generated on Tue Nov 29 22:57:48 2016 for BOSS_7.0.2 by  doxygen 1.4.7