CMS 3D CMS Logo

aliases_PreMix_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 simCastorDigis = cms.EDAlias(
4  mix = cms.VPSet(
5  cms.PSet(type = cms.string('CastorDataFramesSorted'))
6  )
7 )
8 simEcalUnsuppressedDigis = cms.EDAlias()
9 # mix = cms.VPSet(
10 # cms.PSet(type = cms.string('EBDigiCollection')),
11 # cms.PSet(type = cms.string('EEDigiCollection')),
12 # cms.PSet(type = cms.string('ESDigiCollection'))
13 # )
14 #)
15 simHcalUnsuppressedDigis = cms.EDAlias()
16 # mix = cms.VPSet(
17 # cms.PSet(type = cms.string('HBHEDataFramesSorted')),
18 # cms.PSet(type = cms.string('HFDataFramesSorted')),
19 # cms.PSet(type = cms.string('HODataFramesSorted')),
20 # cms.PSet(type = cms.string('ZDCDataFramesSorted'))
21 # )
22 #)
23 simHGCalUnsuppressedDigis = cms.EDAlias()
24 simHFNoseUnsuppressedDigis = cms.EDAlias()
25 _pixelCommon = cms.VPSet(
26  cms.PSet(type = cms.string('PixelDigiedmDetSetVector')),
27  cms.PSet(type = cms.string('PixelDigiSimLinkedmDetSetVector'))
28 )
29 simSiPixelDigis = cms.EDAlias(
30  mix = _pixelCommon
31 )
32 simSiStripDigis = cms.EDAlias(
33  mix = cms.VPSet(
34  cms.PSet(type = cms.string('SiStripDigiedmDetSetVector')),
35  cms.PSet(type = cms.string('SiStripRawDigiedmDetSetVector')),
36  cms.PSet(type = cms.string('StripDigiSimLinkedmDetSetVector'))
37  )
38 )
39 #mergedtruth = cms.EDAlias(
40 # mix = cms.VPSet(
41 # cms.PSet(type = cms.string('TrackingParticles')),
42 # cms.PSet(type = cms.string('TrackingVertexs'))
43 # )
44 #)
45 
46 genPUProtons = cms.EDAlias(
47  mixData = cms.VPSet(
48  cms.PSet( type = cms.string('recoGenParticles') )
49  )
50 )
51 
52 simAPVsaturation = cms.EDAlias(
53  mixData = cms.VPSet(
54  cms.PSet(
55  type = cms.string('bool'),
56  fromProductInstance = cms.string('siStripDigisDMSimulatedAPVDynamicGain'),
57  toProductInstance = cms.string('SimulatedAPVDynamicGain'),
58  )
59  )
60 )
61 
62 from Configuration.Eras.Modifier_run3_common_cff import run3_common
63 run3_common.toModify(simCastorDigis, mix = None)
64 
65 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
66 phase1Pixel.toModify(simSiPixelDigis, mix = _pixelCommon + [cms.PSet(type = cms.string('PixelFEDChanneledmNewDetSetVector'))])
67 
68 from Configuration.Eras.Modifier_phase2_tracker_cff import phase2_tracker
69 phase2_tracker.toModify(simSiStripDigis, mix = None)
70 phase2_tracker.toModify(simAPVsaturation, mixData = None)
71 
72 # no castor,pixel,strip digis in fastsim
73 from Configuration.Eras.Modifier_fastSim_cff import fastSim
74 (fastSim & ~run3_common).toModify(simCastorDigis, mix = None)
75 fastSim.toModify(simSiPixelDigis, mix = None)
76 fastSim.toModify(simSiStripDigis, mix = None)
77 fastSim.toModify(simAPVsaturation, mixData = None)