1 import FWCore.ParameterSet.Config
as cms
15 theDigitizers = cms.PSet(
36 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
37 if fastSim.isChosen():
39 delattr(theDigitizers,
"castor")
41 delattr(theDigitizers,
"pixel")
42 delattr(theDigitizers,
"strip")
43 setattr(theDigitizers,
"tracks",recoTrackAccumulator)
48 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
49 phase2_hgcal.toModify( theDigitizers,
50 hgceeDigitizer = cms.PSet(hgceeDigitizer),
51 hgchebackDigitizer = cms.PSet(hgchebackDigitizer),
52 hgchefrontDigitizer = cms.PSet(hgchefrontDigitizer),
55 from Configuration.Eras.Modifier_phase2_common_cff
import phase2_common
56 phase2_common.toModify( theDigitizers, castor =
None )
58 from SimGeneral.MixingModule.ecalTimeDigitizer_cfi
import ecalTimeDigitizer
59 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
60 from Configuration.Eras.Modifier_phase2_timing_layer_cff
import phase2_timing_layer
61 phase2_timing.toModify( theDigitizers,
62 ecalTime = ecalTimeDigitizer.clone() )
64 from SimFastTiming.Configuration.SimFastTiming_cff
import fastTimeDigitizer
65 phase2_timing_layer.toModify( theDigitizers,
66 fastTimingLayer = fastTimeDigitizer.clone() )
68 theDigitizersValid = cms.PSet(
70 mergedtruth = cms.PSet(
76 phase2_hgcal.toModify( theDigitizersValid,
77 calotruth = cms.PSet( caloParticles ) )
80 phase2_timing.toModify( theDigitizersValid.mergedtruth,
81 createInitialVertexCollection = cms.bool(
True) )