Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-04 01:26:20

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 
0016 from Configuration.Eras.Modifier_phase2_ecal_devel_cff import phase2_ecal_devel
0017 phase2_ecal_devel.toModify(simEcalUnsuppressedDigis,
0018                            mix = cms.VPSet(
0019                                cms.PSet(type = cms.string('EBDigiCollectionPh2'))
0020                            )
0021 )
0022 
0023 
0024 simHcalUnsuppressedDigis = cms.EDAlias(
0025     mix = cms.VPSet(
0026       cms.PSet(type = cms.string('HBHEDataFramesSorted')),
0027       cms.PSet(type = cms.string('HFDataFramesSorted')),
0028       cms.PSet(type = cms.string('HODataFramesSorted')),
0029       cms.PSet(type = cms.string('ZDCDataFramesSorted')),
0030       cms.PSet(type = cms.string('QIE10DataFrameHcalDataFrameContainer')),
0031       cms.PSet(type = cms.string('QIE11DataFrameHcalDataFrameContainer'))
0032     )
0033 )
0034 _pixelCommon = cms.VPSet(
0035     cms.PSet(type = cms.string('PixelDigiedmDetSetVector')),
0036     cms.PSet(type = cms.string('PixelDigiSimLinkedmDetSetVector')),
0037 )
0038 
0039 simSiPixelDigis = cms.EDAlias(
0040     mix = _pixelCommon
0041 ) 
0042 simSiStripDigis = cms.EDAlias(
0043     mix = cms.VPSet(
0044       cms.PSet(type = cms.string('SiStripDigiedmDetSetVector')),
0045       cms.PSet(type = cms.string('SiStripRawDigiedmDetSetVector')),
0046       cms.PSet(type = cms.string('StripDigiSimLinkedmDetSetVector'))
0047     )
0048 )
0049 simHGCalUnsuppressedDigis = cms.EDAlias(
0050     mix = cms.VPSet(
0051         cms.PSet(
0052             type = cms.string("DetIdHGCSampleHGCDataFramesSorted"),
0053             fromProductInstance = cms.string("HGCDigisEE"),
0054             toProductInstance = cms.string("EE"),
0055         ),
0056         cms.PSet(
0057             type = cms.string("DetIdHGCSampleHGCDataFramesSorted"),
0058             fromProductInstance = cms.string("HGCDigisHEfront"),
0059             toProductInstance = cms.string("HEfront"),
0060         ),
0061         cms.PSet(
0062             type = cms.string("DetIdHGCSampleHGCDataFramesSorted"),
0063             fromProductInstance = cms.string("HGCDigisHEback"),
0064             toProductInstance = cms.string("HEback"),
0065         ),
0066     )
0067 )
0068 simHFNoseUnsuppressedDigis = cms.EDAlias(
0069     mix = cms.VPSet(
0070         cms.PSet(
0071             type = cms.string("DetIdHGCSampleHGCDataFramesSorted"),
0072             fromProductInstance = cms.string("HFNoseDigis"),
0073             toProductInstance = cms.string("HFNose"),
0074         ),
0075     )
0076 )
0077 
0078 simAPVsaturation = cms.EDAlias(
0079     mix = cms.VPSet(
0080         cms.PSet(type = cms.string('bool'))
0081     )
0082 )
0083 
0084 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0085 run3_common.toModify(simCastorDigis, mix = None)
0086 
0087 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
0088 (~phase2_hgcal).toModify(simHGCalUnsuppressedDigis, mix = None)
0089 
0090 from Configuration.ProcessModifiers.premix_stage1_cff import premix_stage1
0091 (premix_stage1 & phase2_hgcal).toModify(simHGCalUnsuppressedDigis,
0092     mix = {
0093         0 : dict(type = "PHGCSimAccumulator"),
0094         1 : dict(type = "PHGCSimAccumulator"),
0095         2 : dict(type = "PHGCSimAccumulator"),
0096     }
0097 )
0098 from Configuration.ProcessModifiers.runDependentForPixel_cff import runDependentForPixel
0099 (runDependentForPixel).toModify(simSiPixelDigis, mix = _pixelCommon + [cms.PSet(type = cms.string('PixelSimHitExtraInfoedmDetSetVector'))])
0100 
0101 from Configuration.Eras.Modifier_phase2_hfnose_cff import phase2_hfnose
0102 (~phase2_hfnose).toModify(simHFNoseUnsuppressedDigis, mix = None)
0103 
0104 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
0105 phase1Pixel.toModify(simSiPixelDigis, mix = _pixelCommon + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))])
0106 (phase1Pixel & runDependentForPixel).toModify(simSiPixelDigis, mix = _pixelCommon + [cms.PSet(type = cms.string('PixelSimHitExtraInfoedmDetSetVector'))] + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))])
0107 
0108 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
0109 phase2_tracker.toModify(simSiStripDigis, mix = None)
0110 phase2_tracker.toModify(simAPVsaturation, mix = None)
0111 
0112 # no castor,pixel,strip digis in fastsim
0113 from Configuration.Eras.Modifier_fastSim_cff import fastSim
0114 (fastSim & ~run3_common).toModify(simCastorDigis, mix = None)
0115 fastSim.toModify(simSiPixelDigis, mix = None)
0116 fastSim.toModify(simSiStripDigis, mix = None)
0117 fastSim.toModify(simAPVsaturation, mix = None)