CMS 3D CMS Logo

RecoVertex_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 RecoVertexFEVT = cms.PSet(
4  outputCommands = cms.untracked.vstring('keep *_offlinePrimaryVertices__*',
5  'keep *_offlinePrimaryVerticesWithBS_*_*',
6  'keep *_offlinePrimaryVerticesFromCosmicTracks_*_*',
7  'keep *_nuclearInteractionMaker_*_*',
8  'keep *_generalV0Candidates_*_*',
9  'keep *_inclusiveSecondaryVertices_*_*')
10 )
11 #RECO content
12 RecoVertexRECO = cms.PSet(
13  outputCommands = cms.untracked.vstring('keep *_offlinePrimaryVertices__*',
14  'keep *_offlinePrimaryVerticesWithBS_*_*',
15  'keep *_offlinePrimaryVerticesFromCosmicTracks_*_*',
16  'keep *_nuclearInteractionMaker_*_*',
17  'keep *_generalV0Candidates_*_*',
18  'keep *_inclusiveSecondaryVertices_*_*')
19 )
20 #AOD content
21 RecoVertexAOD = cms.PSet(
22  outputCommands = cms.untracked.vstring('keep *_offlinePrimaryVertices__*',
23  'keep *_offlinePrimaryVerticesWithBS_*_*',
24  'keep *_offlinePrimaryVerticesFromCosmicTracks_*_*',
25  'keep *_nuclearInteractionMaker_*_*',
26  'keep *_generalV0Candidates_*_*',
27  'keep *_inclusiveSecondaryVertices_*_*')
28 )
29 
30 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
31 from Configuration.Eras.Modifier_phase2_timing_layer_tile_cff import phase2_timing_layer_tile
32 from Configuration.Eras.Modifier_phase2_timing_layer_bar_cff import phase2_timing_layer_bar
33 
34 _phase2_tktiming_RecoVertexEventContent = [ 'keep *_offlinePrimaryVertices4D__*',
35  'keep *_offlinePrimaryVertices4DWithBS__*',
36  'keep *_trackTimeValueMapProducer_*_*' ]
37 
38 _phase2_tktiming_layer_RecoVertexEventContent = [ 'keep *_offlinePrimaryVertices4DnoPID__*',
39  'keep *_offlinePrimaryVertices4DnoPIDWithBS__*',
40  'keep *_tofPID_*_*',
41  'keep *_offlinePrimaryVertices4Dfastsim__*',
42  'keep *_offlinePrimaryVertices4DfastsimWithBS__*']
43 
45  temp = mod.outputCommands + _phase2_tktiming_RecoVertexEventContent
46  phase2_timing.toModify( mod, outputCommands = temp )
47 
48 _phase2_tktiming_AddNewContent(RecoVertexFEVT)
49 _phase2_tktiming_AddNewContent(RecoVertexRECO)
50 _phase2_tktiming_AddNewContent(RecoVertexAOD)
51 
53  temp = mod.outputCommands + _phase2_tktiming_layer_RecoVertexEventContent
54  (phase2_timing_layer_tile | phase2_timing_layer_bar).toModify( mod, outputCommands = temp )
55