src
SimCalorimetry
EcalSimAlgos
src
ComponentSimParameterMap.cc
Go to the documentation of this file.
1
#include "
SimCalorimetry/EcalSimAlgos/interface/ComponentSimParameterMap.h
"
2
#include "
DataFormats/DetId/interface/DetId.h
"
3
#include "
DataFormats/EcalDetId/interface/EcalSubdetector.h
"
4
#include <iostream>
5
6
ComponentSimParameterMap::ComponentSimParameterMap
(
bool
addToBarrel,
7
bool
separateDigi,
8
double
simHitToPhotoelectronsBarrel
,
9
double
simHitToPhotoelectronsEndcap
,
10
double
photoelectronsToAnalogBarrel
,
11
double
photoelectronsToAnalogEndcap
,
12
double
samplingFactor
,
13
double
timePhase
,
14
int
readoutFrameSize
,
15
int
binOfMaximum
,
16
bool
doPhotostatistics
,
17
bool
syncPhase
)
18
: m_addToBarrel(addToBarrel),
19
m_separateDigi(separateDigi),
20
theComponentParameters(
simHitToPhotoelectronsBarrel
,
21
photoelectronsToAnalogBarrel
,
22
samplingFactor
,
23
timePhase
,
24
readoutFrameSize
,
25
binOfMaximum
,
26
doPhotostatistics
,
27
syncPhase
) {}
28
29
const
CaloSimParameters
&
ComponentSimParameterMap::simParameters
(
const
DetId
&
detId
)
const
{
30
return
theComponentParameters
;
31
}
EcalSubdetector.h
ecalSimParameterMap_cff.simHitToPhotoelectronsEndcap
simHitToPhotoelectronsEndcap
Definition:
ecalSimParameterMap_cff.py:6
ComponentSimParameterMap::simParameters
const CaloSimParameters & simParameters(const DetId &id) const override
return the sim parameters relative to the right subdet
Definition:
ComponentSimParameterMap.cc:29
ecalSimParameterMap_cff.simHitToPhotoelectronsBarrel
simHitToPhotoelectronsBarrel
Definition:
ecalSimParameterMap_cff.py:9
ComponentSimParameterMap.h
CaloSimParameters
Main class for Parameters in different subdetectors.
Definition:
CaloSimParameters.h:14
ecalSimParameterMap_cff.doPhotostatistics
doPhotostatistics
Definition:
ecalSimParameterMap_cff.py:11
ComponentSimParameterMap::theComponentParameters
CaloSimParameters theComponentParameters
EB.
Definition:
ComponentSimParameterMap.h:35
hcalRecHitTable_cff.detId
detId
Definition:
hcalRecHitTable_cff.py:12
DetId
Definition:
DetId.h:17
ecalSimParameterMap_cff.samplingFactor
samplingFactor
Definition:
ecalSimParameterMap_cff.py:7
ecalSimParameterMap_cff.photoelectronsToAnalogBarrel
photoelectronsToAnalogBarrel
Definition:
ecalSimParameterMap_cff.py:12
ecalTPGAnalyzer_cfg.binOfMaximum
binOfMaximum
Definition:
ecalTPGAnalyzer_cfg.py:118
ecalSimParameterMap_cff.syncPhase
syncPhase
Definition:
ecalSimParameterMap_cff.py:10
ecalSimParameterMap_cff.photoelectronsToAnalogEndcap
photoelectronsToAnalogEndcap
Definition:
ecalSimParameterMap_cff.py:4
DetId.h
ComponentSimParameterMap::ComponentSimParameterMap
ComponentSimParameterMap()
ecalSimParameterMap_cff.timePhase
timePhase
Definition:
ecalSimParameterMap_cff.py:8
hcalSimParameters_cfi.readoutFrameSize
readoutFrameSize
Definition:
hcalSimParameters_cfi.py:14
Generated for CMSSW Reference Manual by
1.8.14