/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Tof/TofSimSvc/TofSimSvc-00-00-04/TofSimSvc/TofConst.h

Go to the documentation of this file.
00001 #ifndef TOF_SIM_CONST_H
00002 #define TOF_SIM_CONST_H 
00003   
00004 class TofConst{
00005  public:
00006    TofConst()  {}
00007    ~TofConst() {}
00008  public:
00009    double getBarLowThres()        const { return m_blth;   }
00010    double getBarHighThres()       const { return m_bhth;   }
00011    double getEndLowThres()        const { return m_elth;   }
00012    double getEndHighThres()       const { return m_ehth;   }
00013    double getBarPMTGain()         const { return m_bgain;  }
00014    double getEndPMTGain()         const { return m_egain;  }
00015    double getBarConstant()        const { return m_bconst; }
00016    double getEndConstant()        const { return m_econst; }
00017    double getEndNoiseSwitch()     const { return m_eswitch;}
00018 
00019  public:
00020    void setBarLowThres( double blth )   { m_blth = blth;   }
00021    void setBarHighThres( double bhth )  { m_bhth = bhth;   }
00022    void setEndLowThres( double elth )   { m_elth = elth;   }
00023    void setEndHighThres( double ehth )  { m_ehth = ehth;   }
00024    void setBarPMTGain( double bg )      { m_bgain = bg;   }
00025    void setEndPMTGain( double eg )      { m_egain = eg;   }
00026    void setBarConstant( double bc )     { m_bconst = bc;   }
00027    void setEndConstant( double ec )     { m_econst = ec;   }
00028    void setEndNoiseSwitch( double eswitch )     { m_eswitch = eswitch;   }
00029 
00030  private:
00031    double m_blth;
00032    double m_bhth;
00033    double m_elth;
00034    double m_ehth;
00035    double m_bgain;
00036    double m_egain;
00037    double m_bconst;
00038    double m_econst;
00039    double m_eswitch;
00040 };
00041 
00042 #endif

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