Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-02-20 23:14:40

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 simCastorDigis = cms.EDAlias(
0004     mix = cms.VPSet(
0005       cms.PSet(type = cms.string('CastorDataFramesSorted'))
0006     )
0007 )
0008 simEcalUnsuppressedDigis = cms.EDAlias()
0009 #    mix = cms.VPSet(
0010 #      cms.PSet(type = cms.string('EBDigiCollection')),
0011 #      cms.PSet(type = cms.string('EEDigiCollection')),
0012 #      cms.PSet(type = cms.string('ESDigiCollection'))
0013 #    )
0014 #)
0015 simHcalUnsuppressedDigis = cms.EDAlias()
0016 #    mix = cms.VPSet(
0017 #      cms.PSet(type = cms.string('HBHEDataFramesSorted')),
0018 #      cms.PSet(type = cms.string('HFDataFramesSorted')),
0019 #      cms.PSet(type = cms.string('HODataFramesSorted')),
0020 #      cms.PSet(type = cms.string('ZDCDataFramesSorted'))
0021 #    )
0022 #)
0023 simHGCalUnsuppressedDigis = cms.EDAlias()
0024 simHFNoseUnsuppressedDigis = cms.EDAlias()
0025 _pixelCommon = cms.VPSet(
0026     cms.PSet(type = cms.string('PixelDigiedmDetSetVector')),
0027     cms.PSet(type = cms.string('PixelDigiSimLinkedmDetSetVector'))
0028 )
0029 simSiPixelDigis = cms.EDAlias(
0030     mix = _pixelCommon
0031 ) 
0032 simSiStripDigis = cms.EDAlias(
0033     mix = cms.VPSet(
0034       cms.PSet(type = cms.string('SiStripDigiedmDetSetVector')),
0035       cms.PSet(type = cms.string('SiStripRawDigiedmDetSetVector')),
0036       cms.PSet(type = cms.string('StripDigiSimLinkedmDetSetVector'))
0037     )
0038 )
0039 #mergedtruth = cms.EDAlias(
0040 #    mix = cms.VPSet(
0041 #      cms.PSet(type = cms.string('TrackingParticles')),
0042 #      cms.PSet(type = cms.string('TrackingVertexs'))
0043 #    )
0044 #)
0045 
0046 genPUProtons = cms.EDAlias(
0047     mixData = cms.VPSet(
0048         cms.PSet( type = cms.string('recoGenParticles') )
0049     )
0050 )
0051 
0052 simAPVsaturation = cms.EDAlias(
0053     mixData = cms.VPSet(
0054         cms.PSet(
0055             type = cms.string('bool'),
0056             fromProductInstance = cms.string('siStripDigisDMSimulatedAPVDynamicGain'),
0057             toProductInstance = cms.string('SimulatedAPVDynamicGain'),
0058         )
0059     )
0060 )
0061 
0062 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0063 run3_common.toModify(simCastorDigis, mix = None)
0064 
0065 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0066 phase1Pixel.toModify(simSiPixelDigis, mix = _pixelCommon + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))])
0067 
0068 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0069 phase2_tracker.toModify(simSiStripDigis,  mix = None)
0070 phase2_tracker.toModify(simAPVsaturation, mixData = None)
0071 
0072 # no castor,pixel,strip digis in fastsim
0073 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0074 fastSim.toModify(simCastorDigis, mix = None)
0075 fastSim.toModify(simSiPixelDigis, mix = None)
0076 fastSim.toModify(simSiStripDigis, mix = None)
0077 fastSim.toModify(simAPVsaturation, mixData = None)