Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
SimGeneral
MixingModule
python
digitizers_cfi.py
Go to the documentation of this file.
1
import
FWCore.ParameterSet.Config
as
cms
2
3
# configuration to model pileup for initial physics phase
4
from
SimGeneral.MixingModule.aliases_cfi
import
*
5
from
SimGeneral.MixingModule.pixelDigitizer_cfi
import
*
6
from
SimGeneral.MixingModule.stripDigitizer_cfi
import
*
7
from
SimGeneral.MixingModule.ecalDigitizer_cfi
import
*
8
from
SimGeneral.MixingModule.hcalDigitizer_cfi
import
*
9
from
SimGeneral.MixingModule.castorDigitizer_cfi
import
*
10
from
SimGeneral.MixingModule.pileupVtxDigitizer_cfi
import
*
11
from
SimGeneral.MixingModule.trackingTruthProducerSelection_cfi
import
*
12
from
FastSimulation.Tracking.recoTrackAccumulator_cfi
import
*
13
14
theDigitizers = cms.PSet(
15
pixel = cms.PSet(
16
pixelDigitizer
17
),
18
strip = cms.PSet(
19
stripDigitizer
20
),
21
ecal = cms.PSet(
22
ecalDigitizer
23
),
24
hcal = cms.PSet(
25
hcalDigitizer
26
),
27
castor = cms.PSet(
28
castorDigitizer
29
),
30
puVtx = cms.PSet(
31
pileupVtxDigitizer
32
)
33
)
34
35
from
Configuration.StandardSequences.Eras
import
eras
36
if
eras.fastSim.isChosen():
37
# fastsim does not model castor
38
delattr(theDigitizers,
"castor"
)
39
# fastsim does not digitize pixel and strip hits
40
delattr(theDigitizers,
"pixel"
)
41
delattr(theDigitizers,
"strip"
)
42
setattr(theDigitizers,
"tracks"
,recoTrackAccumulator)
43
44
theDigitizersValid = cms.PSet(
45
theDigitizers,
46
mergedtruth = cms.PSet(
47
trackingParticles
48
)
49
)
hcalDigitizer_cfi
pileupVtxDigitizer_cfi
trackingTruthProducerSelection_cfi
ecalDigitizer_cfi
aliases_cfi
castorDigitizer_cfi
pixelDigitizer_cfi
recoTrackAccumulator_cfi
stripDigitizer_cfi
Generated for CMSSW Reference Manual by
1.8.5