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 simSiPixelDigis = cms.EDAlias(
24  mix = cms.VPSet(
25  cms.PSet(type = cms.string('PixelDigiedmDetSetVector')),
26  cms.PSet(type = cms.string('PixelDigiSimLinkedmDetSetVector'))
27  )
28 )
29 simSiStripDigis = cms.EDAlias(
30  mix = cms.VPSet(
31  cms.PSet(type = cms.string('SiStripDigiedmDetSetVector')),
32  cms.PSet(type = cms.string('SiStripRawDigiedmDetSetVector')),
33  cms.PSet(type = cms.string('StripDigiSimLinkedmDetSetVector'))
34  )
35 )
36 #mergedtruth = cms.EDAlias(
37 # mix = cms.VPSet(
38 # cms.PSet(type = cms.string('TrackingParticles')),
39 # cms.PSet(type = cms.string('TrackingVertexs'))
40 # )
41 #)
42 
43 # no castor,pixel,strip digis in fastsim
44 from Configuration.Eras.Modifier_fastSim_cff import fastSim
45 fastSim.toModify(simCastorDigis, mix = None)
46 fastSim.toModify(simSiPixelDigis, mix = None)
47 fastSim.toModify(simSiStripDigis, mix = None)
48 
49 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
50 phase2_common.toModify(simCastorDigis, mix = None)