/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Calibration/CalibData/CalibData-00-01-18/CalibData/Tof/tofCalibInfoBase.h

Go to the documentation of this file.
00001 #ifndef CalibData_tofCalibInfoBase_h
00002 #define CalibData_tofCalibInfoBase_h
00003 
00004 #include "GaudiKernel/DataObject.h"
00005 #include "CalibData/CalibModel.h"
00006 #include <vector>
00007 
00008 namespace CalibData {
00009   class tofCalibInfoBase{
00010   public:
00011     tofCalibInfoBase(){};
00012 
00013     virtual ~tofCalibInfoBase() {}
00014 
00015     //set the Calib Info of Tof
00016     void setRunBegin(const int run1)       {  m_run1 = run1;       }
00017     void setRunEnd(const int run2)         {  m_run2 = run2;       }
00018     void setVersion(const int version)     {  m_version = version; }
00019 
00020     void setQCorr(const int qCorr)         {  m_qCorr = qCorr;       }
00021     void setQElec(const int qElec)         {  m_qElec = qElec;       }
00022     void setMisLable(const int misLable)   {  m_misLable = misLable; }
00023 
00024     void setBrEast(const int* tofidEast);
00025     void setBrWest(const int* tofidWest);
00026     void setEndcap(const int* tofidEndcap);
00027 
00028     //get the Calib Info of Tof
00029     int getRunBegin()            const { return  m_run1;     }
00030     int getRunEnd()              const { return  m_run2;     }
00031     int getVersion()             const { return  m_version;  }
00032 
00033     int getQCorr()               const { return  m_qCorr;    }
00034     int getQElec()               const { return  m_qElec;    }
00035     int getMisLable()            const { return  m_misLable; }
00036 
00037     int getBrEast(int No)        const { return  m_tofidEast[No];   }
00038     int getBrWest(int No)        const { return  m_tofidWest[No];   }
00039     int getEndcap(int No)        const { return  m_tofidEndcap[No]; }
00040 
00041   private:
00042     int m_run1, m_run2, m_version;
00043     int m_qCorr, m_qElec, m_misLable;
00044     int m_tofidEast[5], m_tofidWest[5], m_tofidEndcap[5];
00045 
00046   };
00047 }
00048 
00049 #endif

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