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

Go to the documentation of this file.
00001 #ifndef CalibData_TofSimConstBase_h
00002 #define CalibData_TofSimConstBase_h
00003 
00004 #include "GaudiKernel/DataObject.h"
00005 #include "CalibData/CalibModel.h"
00006 #include <vector>
00007 
00008 namespace CalibData {
00009   class TofSimConstBase{
00010   public:
00011     TofSimConstBase(){};
00012     virtual ~TofSimConstBase() {}
00013 
00014     //set the Simulation data of Tof
00015    double getBarLowThres()        const { return m_blth;   }
00016    double getBarHighThres()       const { return m_bhth;   }
00017    double getEndLowThres()        const { return m_elth;   }
00018    double getEndHighThres()       const { return m_ehth;   }
00019    double getBarPMTGain()         const { return m_bgain; }
00020    double getEndPMTGain()         const { return m_egain; }
00021    double getBarConstant()        const { return m_bconst; }
00022    double getEndConstant()        const { return m_econst; }
00023    double getEndNoiseSwitch()     const { return m_eswitch; }
00024 
00025    // get the Simulation data of Tof
00026    void setBarLowThres( const double blth )   { m_blth = blth;   }
00027    void setBarHighThres( const double bhth )  { m_bhth = bhth;   }
00028    void setEndLowThres( const double elth )   { m_elth = elth;   }
00029    void setEndHighThres( const double ehth )  { m_ehth = ehth;   }
00030    void setBarPMTGain( const double bg )      { m_bgain = bg;   }
00031    void setEndPMTGain( const double eg )      { m_egain = eg;   }
00032    void setBarConstant( const double bc )     { m_bconst = bc;   }
00033    void setEndConstant( const double ec )     { m_econst = ec;   }
00034    void setEndNoiseSwitch( const double eswitch )     { m_eswitch = eswitch;   }
00035 
00036  private:
00037    double m_blth;
00038    double m_bhth;
00039    double m_elth;
00040    double m_ehth;
00041    double m_bgain;
00042    double m_egain;
00043    double m_bconst;
00044    double m_econst;
00045    double m_eswitch;
00046   };
00047 }
00048 
00049 #endif

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