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

Go to the documentation of this file.
00001 #ifndef CalibData_BTofSimBase_h
00002 #define CalibData_BTofSimBase_h
00003 
00004 #include "GaudiKernel/DataObject.h"
00005 #include "CalibData/CalibModel.h"
00006 #include "TMath.h"
00007 
00008 namespace CalibData {
00009   class BTofSimBase{
00010   public:
00011     BTofSimBase(){};
00012     virtual ~BTofSimBase() {}
00013 
00014     //set the Simulation data of Tof
00015     void setGain( double gain )                 { m_gain = gain;     }
00016     void setRatio( double ratio )               { m_ratio = ratio;   }
00017     void setAttenLength( double length )        { m_length = length; }
00018 
00019     //get the Simulation Data of Tof
00020     double getGain()                      const { return m_gain;     }
00021     double getRatio()                     const { return m_ratio;    }
00022     double getAttenLength()               const { return m_length;   }
00023 
00024   private:
00025    double m_gain;
00026    double m_ratio;
00027    double m_length;
00028   };
00029 }
00030 
00031 #endif

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