1 import FWCore.ParameterSet.Config
as cms
15 theDigitizers = cms.PSet(
34 mergedtruth = cms.PSet(
39 from Configuration.Eras.Modifier_fastSim_cff
import fastSim
40 if fastSim.isChosen():
42 delattr(theDigitizers,
"castor")
44 delattr(theDigitizers,
"pixel")
45 delattr(theDigitizers,
"strip")
46 setattr(theDigitizers,
"tracks",recoTrackAccumulator)
51 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
52 phase2_hgcal.toModify( theDigitizers,
53 hgceeDigitizer = cms.PSet(hgceeDigitizer),
54 hgchebackDigitizer = cms.PSet(hgchebackDigitizer),
55 hgchefrontDigitizer = cms.PSet(hgchefrontDigitizer),
58 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
59 run3_common.toModify( theDigitizers, castor =
None )
61 from SimGeneral.MixingModule.ecalTimeDigitizer_cfi
import ecalTimeDigitizer
62 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
63 from Configuration.Eras.Modifier_phase2_timing_layer_cff
import phase2_timing_layer
64 phase2_timing.toModify( theDigitizers,
65 ecalTime = ecalTimeDigitizer.clone() )
67 from SimFastTiming.Configuration.SimFastTiming_cff
import fastTimeDigitizer
68 phase2_timing_layer.toModify( theDigitizers,
69 fastTimingLayer = fastTimeDigitizer.clone() )
71 theDigitizersValid = cms.PSet(theDigitizers)
72 theDigitizers.mergedtruth.select.signalOnlyTP = cms.bool(
True)
74 phase2_hgcal.toModify( theDigitizersValid,
75 calotruth = cms.PSet( caloParticles ) )
78 phase2_timing.toModify( theDigitizersValid.mergedtruth,
79 createInitialVertexCollection = cms.bool(
True) )