CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_3_10_patch1/src/SimCalorimetry/EcalSimAlgos/interface/EcalSimParameterMap.h

Go to the documentation of this file.
00001 #ifndef EcalSimAlgos_EcalSimParameterMap_h
00002 #define EcalSimAlgos_EcalSimParameterMap_h
00003 
00004 #include "SimCalorimetry/CaloSimAlgos/interface/CaloVSimParameterMap.h"
00005 #include "SimCalorimetry/CaloSimAlgos/interface/CaloSimParameters.h"
00006 
00007 
00008 /* \class EcalSimParametersMap
00009  * \brief map of parameters for the ECAL (EE, EB, preshower) simulation
00010  *
00011  */
00012 class EcalSimParameterMap : public CaloVSimParameterMap
00013 {
00014 public:
00016   EcalSimParameterMap();
00017   EcalSimParameterMap(double simHitToPhotoelectronsBarrel, 
00018                       double simHitToPhotoelectronsEndcap, 
00019                       double photoelectronsToAnalogBarrel, 
00020                       double photoelectronsToAnalogEndcap, 
00021                       double samplingFactor, double timePhase,
00022                       int readoutFrameSize, int binOfMaximum,
00023                       bool doPhotostatistics, bool syncPhase);
00025   virtual ~EcalSimParameterMap() {}
00026 
00028   virtual const CaloSimParameters & simParameters(const DetId & id) const;
00029 
00030 private:
00032   CaloSimParameters theBarrelParameters;
00034   CaloSimParameters theEndcapParameters;
00036   CaloSimParameters theESParameters;
00037 };
00038 
00039 #endif
00040