CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch2/src/SimCalorimetry/EcalSimAlgos/interface/APDSimParameters.h

Go to the documentation of this file.
00001 #ifndef EcalSimAlgos_APDSimParameters_h
00002 #define EcalSimAlgos_APDSimParameters_h
00003 
00004 
00005 class APDSimParameters
00006 {
00007    public:
00008 
00009       APDSimParameters( bool   addToBarrel  ,
00010                         bool   separateDigi ,
00011                         double simToPELow   , 
00012                         double simToPEHigh  , 
00013                         double timeOffset   ,
00014                         double timeOffWidth ,
00015                         bool   doPEStats    ,
00016                         const std::string& digiTag,
00017                         const std::vector<double>& nonlParms ) :
00018 
00019          m_addToBarrel  ( addToBarrel  ) ,
00020          m_separateDigi ( separateDigi ) ,
00021          m_simToPELow   ( simToPELow   ) ,
00022          m_simToPEHigh  ( simToPEHigh  ) ,
00023          m_timeOffset   ( timeOffset   ) ,
00024          m_timeOffWidth ( fabs( timeOffWidth ) ) ,
00025          m_doPEStats    ( doPEStats    ) ,
00026          m_digiTag      ( digiTag      ) ,
00027          m_nonlParms    ( nonlParms    )      {}
00028 
00029       virtual ~APDSimParameters() {}
00030 
00031       bool   addToBarrel()  const { return m_addToBarrel  ; }
00032       bool   separateDigi() const { return m_separateDigi ; }
00033       double simToPELow()   const { return m_simToPELow   ; }
00034       double simToPEHigh()  const { return m_simToPEHigh  ; }
00035       double timeOffset()   const { return m_timeOffset   ; }
00036       double timeOffWidth() const { return m_timeOffWidth ; }
00037       bool   doPEStats()    const { return m_doPEStats    ; }
00038 
00039       const std::string& digiTag() const { return m_digiTag    ; }
00040 
00041       const std::vector<double>& nonlParms() const { return m_nonlParms ; }
00042 
00043    private:
00044 
00045       bool   m_addToBarrel  ;
00046       bool   m_separateDigi ;
00047       double m_simToPELow   ;
00048       double m_simToPEHigh  ;
00049       double m_timeOffset   ;
00050       double m_timeOffWidth ;
00051       bool   m_doPEStats    ;
00052       std::string m_digiTag ;
00053       std::vector<double> m_nonlParms ;
00054 };
00055 
00056 #endif
00057