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

Go to the documentation of this file.
00001 #ifndef TOFINFO_CAL_H
00002 #define TOFINFO_CAL_H 
00003 
00004 class TofInfoCal{
00005  public:
00006   TofInfoCal() {}
00007   ~TofInfoCal() {}
00008  public:
00009   int getRunBegin()          const { return  m_run1;     }
00010   int getRunEnd()            const { return  m_run2;     }
00011   int getVersion()           const { return  m_version;  }
00012 
00013   int getQCorr()             const { return  m_qcorr;    }
00014   int getQElec()             const { return  m_qelec;    }
00015   int getMisLable()          const { return  m_mislable; }
00016 
00017   int getBrEast(unsigned int im)   const { return m_breast[im]; }
00018   int getBrWest(unsigned int im)   const { return m_brwest[im]; }
00019   int getEndcap(unsigned int im)   const { return m_endcap[im]; }
00020 
00021  public:
00022   void setRunBegin( int run1 )     { m_run1 = run1;        }
00023   void setRunEnd( int run2 )       { m_run2 = run2;        }
00024   void setVersion( int version )   { m_version = version;  }
00025 
00026   void setQCorr( int qcorr )       { m_qcorr = qcorr;      }
00027   void setQElec( int qelec )       { m_qelec = qelec;      }
00028   void setMisLable( int mis )      { m_mislable = mis;     }
00029 
00030   void setBrEast(unsigned int i, int id1) { m_breast[i] = id1; }
00031   void setBrWest(unsigned int i, int id2) { m_brwest[i] = id2; }
00032   void setEndcap(unsigned int i, int id3) { m_endcap[i] = id3; }
00033 
00034  private:
00035   int  m_run1, m_run2, m_version;
00036   int  m_qcorr, m_qelec, m_mislable;
00037   int  m_breast[5], m_brwest[5], m_endcap[5];
00038 
00039 };
00040 
00041 #endif
00042 

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