CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
EcalSimParameterMap.h
Go to the documentation of this file.
1 #ifndef EcalSimAlgos_EcalSimParameterMap_h
2 #define EcalSimAlgos_EcalSimParameterMap_h
3 
6 
7 /* \class EcalSimParametersMap
8  * \brief map of parameters for the ECAL (EE, EB, preshower) simulation
9  *
10  */
12 public:
15  EcalSimParameterMap(double simHitToPhotoelectronsBarrel,
16  double simHitToPhotoelectronsEndcap,
17  double photoelectronsToAnalogBarrel,
18  double photoelectronsToAnalogEndcap,
19  double samplingFactor,
20  double timePhase,
21  int readoutFrameSize,
22  int binOfMaximum,
23  bool doPhotostatistics,
24  bool syncPhase);
26  ~EcalSimParameterMap() override {}
27 
29  const CaloSimParameters& simParameters(const DetId& id) const override;
30 
31 private:
38 };
39 
40 #endif
const CaloSimParameters & simParameters(const DetId &id) const override
return the sim parameters relative to the right subdet
Main class for Parameters in different subdetectors.
Definition: DetId.h:17
CaloSimParameters theEndcapParameters
EE.
CaloSimParameters theESParameters
ES.
CaloSimParameters theBarrelParameters
EB.
~EcalSimParameterMap() override
dtor