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 *_tofPID_*_*']
21 phase2_timing.toModify( RecoVertexAOD,
22  outputCommands = RecoVertexAOD.outputCommands + _phase2_tktiming_RecoVertexEventContent)
23 phase2_timing_layer.toModify( RecoVertexAOD,
24  outputCommands = RecoVertexAOD.outputCommands + _phase2_tktiming_layer_RecoVertexEventContent)
25 
26 #RECO content
27 RecoVertexRECO = cms.PSet(
28  outputCommands = cms.untracked.vstring()
29 )
30 RecoVertexRECO.outputCommands.extend(RecoVertexAOD.outputCommands)
31 
32 #FEVT content
33 RecoVertexFEVT = cms.PSet(
34  outputCommands = cms.untracked.vstring()
35 )
36 RecoVertexFEVT.outputCommands.extend(RecoVertexRECO.outputCommands)