/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Tof/EstTofCaliSvc/EstTofCaliSvc-00-00-10/EstTofCaliSvc/EtfCal.h

Go to the documentation of this file.
00001 #ifndef ETF_CAL_H
00002 #define ETF_CAL_H 
00003 
00004 const unsigned int nEtfPar    = 20;
00005   
00006 class EtfCal{
00007  public:
00008   EtfCal() {}
00009   ~EtfCal(){}
00010 
00011  public:
00012   double getP(int idx)                 const{ return m_p[idx];     }
00013   double getP1(int idx)                const{ return m_p1[idx];    }
00014   double getP2(int idx)                const{ return m_p2[idx];    }
00015 
00016  public:
00017   void   setP(int idx,double p)             { m_p[idx]     = p;    }
00018   void   setP1(int idx,double p1)           { m_p1[idx]    = p1;   }
00019   void   setP2(int idx,double p2)           { m_p2[idx]    = p2;   }
00020 
00021  private:
00022   double m_p[nEtfPar];         // combined time calibration constant 
00023   double m_p1[nEtfPar];        // left time calibration constant 
00024   double m_p2[nEtfPar];        // right time calibration constant 
00025 
00026 };
00027 #endif             

Generated on Tue Nov 29 23:14:35 2016 for BOSS_7.0.2 by  doxygen 1.4.7