Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:28:08

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #AOD content
0004 RecoVertexAOD = cms.PSet(
0005     outputCommands = cms.untracked.vstring('keep  *_offlinePrimaryVertices__*', 
0006         'keep *_offlinePrimaryVerticesWithBS_*_*',
0007         'keep *_offlinePrimaryVerticesFromCosmicTracks_*_*',
0008         'keep *_nuclearInteractionMaker_*_*',
0009         'keep *_generalV0Candidates_*_*',                                           
0010     'keep *_inclusiveSecondaryVertices_*_*')
0011 )
0012 
0013 from Configuration.Eras.Modifier_phase2_timing_cff import phase2_timing
0014 from Configuration.Eras.Modifier_phase2_timing_layer_cff import phase2_timing_layer
0015 
0016 _phase2_tktiming_RecoVertexEventContent = [ 'keep *_offlinePrimaryVertices4D__*',
0017                                             'keep *_offlinePrimaryVertices4DWithBS__*',
0018                                             'keep *_trackTimeValueMapProducer_*_*' ]
0019 
0020 _phase2_tktiming_layer_RecoVertexEventContent = [ 'keep *_offlinePrimaryVertices4DnoPID__*',
0021                                                   'keep *_offlinePrimaryVertices4DnoPIDWithBS__*',
0022                                                   'keep *_tofPID_*_*']
0023 phase2_timing.toModify( RecoVertexAOD,
0024      outputCommands = RecoVertexAOD.outputCommands + _phase2_tktiming_RecoVertexEventContent)
0025 phase2_timing_layer.toModify( RecoVertexAOD,
0026      outputCommands = RecoVertexAOD.outputCommands + _phase2_tktiming_layer_RecoVertexEventContent)
0027 
0028 #RECO content
0029 RecoVertexRECO = cms.PSet(
0030     outputCommands = cms.untracked.vstring()
0031 )
0032 RecoVertexRECO.outputCommands.extend(RecoVertexAOD.outputCommands)
0033 
0034 #FEVT content
0035 RecoVertexFEVT = cms.PSet(
0036     outputCommands = cms.untracked.vstring()
0037 )
0038 RecoVertexFEVT.outputCommands.extend(RecoVertexRECO.outputCommands)