CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_4_1_8_patch13/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 
00018          m_addToBarrel  ( addToBarrel  ) ,
00019          m_separateDigi ( separateDigi ) ,
00020          m_simToPELow   ( simToPELow   ) ,
00021          m_simToPEHigh  ( simToPEHigh  ) ,
00022          m_timeOffset   ( timeOffset   ) ,
00023          m_timeOffWidth ( fabs( timeOffWidth ) ) ,
00024          m_doPEStats    ( doPEStats    ) ,
00025          m_digiTag      ( digiTag      )   {}
00026 
00027       virtual ~APDSimParameters() {}
00028 
00029       bool   addToBarrel()  const { return m_addToBarrel  ; }
00030       bool   separateDigi() const { return m_separateDigi ; }
00031       double simToPELow()   const { return m_simToPELow   ; }
00032       double simToPEHigh()  const { return m_simToPEHigh  ; }
00033       double timeOffset()   const { return m_timeOffset   ; }
00034       double timeOffWidth() const { return m_timeOffWidth ; }
00035       bool   doPEStats()    const { return m_doPEStats    ; }
00036 
00037       const std::string& digiTag() const { return m_digiTag    ; }
00038 
00039    private:
00040 
00041       bool   m_addToBarrel  ;
00042       bool   m_separateDigi ;
00043       double m_simToPELow   ;
00044       double m_simToPEHigh  ;
00045       double m_timeOffset   ;
00046       double m_timeOffWidth ;
00047       bool   m_doPEStats    ;
00048       std::string m_digiTag ;
00049 };
00050 
00051 #endif
00052