CMS 3D CMS Logo

RecoVertex_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 #AOD content
4 RecoVertexAOD = cms.PSet(
5  outputCommands = cms.untracked.vstring('keep *_offlinePrimaryVertices__*',
6  'keep *_offlinePrimaryVerticesWithBS_*_*',
7  'keep *_offlinePrimaryVerticesFromCosmicTracks_*_*',
8  'keep *_nuclearInteractionMaker_*_*',
9  'keep *_generalV0Candidates_*_*',
10  'keep *_inclusiveSecondaryVertices_*_*')
11 )
12 
13 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
14 from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
15 
16 _phase2_tktiming_RecoVertexEventContent = [ 'keep *_offlinePrimaryVertices4D__*',
17  'keep *_offlinePrimaryVertices4DWithBS__*',
18  'keep *_trackTimeValueMapProducer_*_*' ]
19 
20 _phase2_tktiming_layer_RecoVertexEventContent = [ 'keep *_offlinePrimaryVertices4DnoPID__*',
21  'keep *_offlinePrimaryVertices4DnoPIDWithBS__*',
22  'keep *_tofPID_*_*']
23 phase2_timing.toModify( RecoVertexAOD,
24  outputCommands = RecoVertexAOD.outputCommands + _phase2_tktiming_RecoVertexEventContent)
25 phase2_timing_layer.toModify( RecoVertexAOD,
26  outputCommands = RecoVertexAOD.outputCommands + _phase2_tktiming_layer_RecoVertexEventContent)
27 
28 #RECO content
29 RecoVertexRECO = cms.PSet(
30  outputCommands = cms.untracked.vstring()
31 )
32 RecoVertexRECO.outputCommands.extend(RecoVertexAOD.outputCommands)
33 
34 #FEVT content
35 RecoVertexFEVT = cms.PSet(
36  outputCommands = cms.untracked.vstring()
37 )
38 RecoVertexFEVT.outputCommands.extend(RecoVertexRECO.outputCommands)