CMS 3D CMS Logo

SimFastTiming_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 SimFastTimingFEVTDEBUG = cms.PSet(
4  outputCommands = cms.untracked.vstring()
5 )
6 
7 SimFastTimingRAW = cms.PSet(
8  outputCommands = cms.untracked.vstring()
9 )
10 
11 SimFastTimingRECO = cms.PSet(
12  outputCommands = cms.untracked.vstring()
13 )
14 
15 SimFastTimingAOD = cms.PSet(
16  outputCommands = cms.untracked.vstring()
17 )
18 
19 SimFastTimingPREMIX = cms.PSet(
20  outputCommands = cms.untracked.vstring()
21 )
22 
23 _phase2_timing_extraCommands = cms.PSet( # using PSet in order to customize with Modifier
24  value = cms.vstring( 'keep *_mix_FTLBarrel_*','keep *_mix_FTLEndcap_*','keep *_mix_InitialVertices_*', 'keep *_mtdRecoClusterToSimLayerClusterAssociation_*_*', 'keep *_mtdSimLayerClusterToTPAssociation_*_*')
25 )
26 # For premixing switch the sim digi collections to the ones including pileup
27 # Unsure what to do with InitialVertices, they don't seem to be consumed downstream?
28 from Configuration.ProcessModifiers.premix_stage2_cff import premix_stage2
29 premix_stage2.toModify(_phase2_timing_extraCommands,
30  value = [ 'keep *_mixData_FTLBarrel_*','keep *_mixData_FTLEndcap_*','keep *_mix_InitialVertices_*', 'keep *_mtdRecoClusterToSimLayerClusterAssociation_*_*', 'keep *_mtdSimLayerClusterToTPAssociation_*_*' ]
31 )
32 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
33 phase2_timing.toModify( SimFastTimingRAW, outputCommands = SimFastTimingRAW.outputCommands + _phase2_timing_extraCommands.value )
34 phase2_timing.toModify( SimFastTimingFEVTDEBUG, outputCommands = SimFastTimingFEVTDEBUG.outputCommands + _phase2_timing_extraCommands.value )
35 phase2_timing.toModify( SimFastTimingRECO, outputCommands = SimFastTimingRECO.outputCommands + _phase2_timing_extraCommands.value )
36 phase2_timing.toModify( SimFastTimingPREMIX, outputCommands = SimFastTimingRECO.outputCommands + _phase2_timing_extraCommands.value )