File indexing completed on 2024-04-06 12:30:37
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 from SimGeneral.MixingModule.aliases_cfi import *
0005 from SimGeneral.MixingModule.pixelDigitizer_cfi import *
0006 from SimGeneral.MixingModule.stripDigitizer_cfi import *
0007 from SimGeneral.MixingModule.ecalDigitizer_cfi import *
0008 from SimGeneral.MixingModule.hcalDigitizer_cfi import *
0009 from SimGeneral.MixingModule.castorDigitizer_cfi import *
0010 from SimGeneral.MixingModule.trackingTruthProducer_cfi import *
0011 from SimGeneral.MixingModule.caloTruthProducer_cfi import *
0012
0013 pixelDigitizer.TofLowerCut=cms.double(18.5)
0014 pixelDigitizer.TofUpperCut=cms.double(43.5)
0015 stripDigitizer.CosmicDelayShift = cms.untracked.double(31)
0016
0017 ecalDigitizer.cosmicsPhase = cms.bool(True)
0018 ecalDigitizer.cosmicsShift = cms.double(1.)
0019
0020 theDigitizers = cms.PSet(
0021 pixel = cms.PSet(
0022 pixelDigitizer
0023 ),
0024 strip = cms.PSet(
0025 stripDigitizer
0026 ),
0027 ecal = cms.PSet(
0028 ecalDigitizer
0029 ),
0030 hcal = cms.PSet(
0031 hcalDigitizer
0032 ),
0033 castor = cms.PSet(
0034 castorDigitizer
0035 )
0036 )
0037
0038 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0039 run3_common.toModify( theDigitizers, castor = None )
0040
0041 from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import hgceeDigitizer, hgchebackDigitizer, hgchefrontDigitizer, HGCAL_noise_fC, HGCAL_noise_heback, HFNose_noise_fC, HGCAL_chargeCollectionEfficiencies, HGCAL_ileakParam_toUse, HGCAL_cceParams_toUse, HGCAL_noises
0042
0043 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0044 phase2_hgcal.toModify( theDigitizers,
0045 hgceeDigitizer = cms.PSet(hgceeDigitizer),
0046 hgchebackDigitizer = cms.PSet(hgchebackDigitizer),
0047 hgchefrontDigitizer = cms.PSet(hgchefrontDigitizer),
0048 calotruth = cms.PSet(caloParticles),
0049 )
0050
0051 from SimCalorimetry.HGCalSimProducers.hgcalDigitizer_cfi import hfnoseDigitizer
0052
0053 from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
0054 phase2_hfnose.toModify( theDigitizers,
0055 hfnoseDigitizer = cms.PSet(hfnoseDigitizer),
0056 )
0057
0058 from SimGeneral.MixingModule.ecalTimeDigitizer_cfi import ecalTimeDigitizer
0059 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
0060 phase2_timing.toModify( theDigitizers,
0061 ecalTime = ecalTimeDigitizer.clone() )
0062
0063 from SimFastTiming.Configuration.SimFastTiming_cff import mtdDigitizer
0064 from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
0065 phase2_timing_layer.toModify( theDigitizers,
0066 fastTimingLayer = mtdDigitizer.clone() )
0067
0068 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0069 phase2_tracker.toModify(theDigitizers,
0070 strip = None)
0071
0072 theDigitizersValid = cms.PSet(theDigitizers,
0073 mergedtruth = cms.PSet(trackingParticles))