CMS 3D CMS Logo

Public Member Functions | Private Attributes

EcalSimParameterMap Class Reference

#include <EcalSimParameterMap.h>

Inheritance diagram for EcalSimParameterMap:
CaloVSimParameterMap

List of all members.

Public Member Functions

 EcalSimParameterMap ()
 ctor
 EcalSimParameterMap (double simHitToPhotoelectronsBarrel, double simHitToPhotoelectronsEndcap, double photoelectronsToAnalogBarrel, double photoelectronsToAnalogEndcap, double samplingFactor, double timePhase, int readoutFrameSize, int binOfMaximum, bool doPhotostatistics, bool syncPhase)
virtual const CaloSimParameterssimParameters (const DetId &id) const
 return the sim parameters relative to the right subdet
virtual ~EcalSimParameterMap ()
 dtor

Private Attributes

CaloSimParameters theBarrelParameters
 EB.
CaloSimParameters theEndcapParameters
 EE.
CaloSimParameters theESParameters
 ES.

Detailed Description

Definition at line 12 of file EcalSimParameterMap.h.


Constructor & Destructor Documentation

EcalSimParameterMap::EcalSimParameterMap ( )

ctor

Relevant constants are: 4.5 photoelectrons per MeV (J. Nash's slides) APD gain 50, but analog signal stays in GeV Account for excess noise factor

Definition at line 12 of file EcalSimParameterMap.cc.

                                         :
  theBarrelParameters(2250., 1./2250., 
                   1., 0, 
                   10, 6, true, true),
  theEndcapParameters( 1800., 1./1800., 
                   1., 0, 
                       10, 6, true, true),
  theESParameters(1., 1., 1., 20., 3, 2, false, true)
{}
EcalSimParameterMap::EcalSimParameterMap ( double  simHitToPhotoelectronsBarrel,
double  simHitToPhotoelectronsEndcap,
double  photoelectronsToAnalogBarrel,
double  photoelectronsToAnalogEndcap,
double  samplingFactor,
double  timePhase,
int  readoutFrameSize,
int  binOfMaximum,
bool  doPhotostatistics,
bool  syncPhase 
)

Definition at line 22 of file EcalSimParameterMap.cc.

                                                                                 : 
  theBarrelParameters(simHitToPhotoelectronsBarrel, photoelectronsToAnalogBarrel,
                      samplingFactor, timePhase, 
                      readoutFrameSize, binOfMaximum, doPhotostatistics, syncPhase),
  theEndcapParameters(simHitToPhotoelectronsEndcap, photoelectronsToAnalogEndcap, 
                      samplingFactor, timePhase, 
                      readoutFrameSize, binOfMaximum, doPhotostatistics, syncPhase),
  theESParameters(1., 1., 1., 20., 3, 2, false, syncPhase)
{}
virtual EcalSimParameterMap::~EcalSimParameterMap ( ) [inline, virtual]

dtor

Definition at line 25 of file EcalSimParameterMap.h.

{}

Member Function Documentation

const CaloSimParameters & EcalSimParameterMap::simParameters ( const DetId id) const [virtual]

Member Data Documentation

EB.

Definition at line 32 of file EcalSimParameterMap.h.

Referenced by simParameters().

EE.

Definition at line 34 of file EcalSimParameterMap.h.

Referenced by simParameters().

ES.

Definition at line 36 of file EcalSimParameterMap.h.

Referenced by simParameters().