CMS 3D CMS Logo

TrackingTools_EventContent_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 TrackingToolsFEVT = cms.PSet(
4  outputCommands = cms.untracked.vstring('keep *_CkfElectronCandidates_*_*',
5  'keep *_GsfGlobalElectronTest_*_*',
6  'keep *_electronMergedSeeds_*_*',
7  'keep *_electronGsfTracks_*_*'
8  )
9 )
10 #RECO content
11 TrackingToolsRECO = cms.PSet(
12  outputCommands = cms.untracked.vstring('keep *_CkfElectronCandidates_*_*',
13  'keep *_GsfGlobalElectronTest_*_*',
14  'keep *_electronMergedSeeds_*_*',
15  'keep recoGsfTracks_electronGsfTracks_*_*',
16  'keep recoGsfTrackExtras_electronGsfTracks_*_*',
17  'keep recoTrackExtras_electronGsfTracks_*_*',
18  'keep TrackingRecHitsOwned_electronGsfTracks_*_*' )
19 )
20 
21 _phase2_hgcal_TrackingRECO_tokeep = [
22  'keep recoGsfTracks_electronGsfTracksFromMultiCl_*_*',
23  'keep recoGsfTrackExtras_electronGsfTracksFromMultiCl_*_*',
24  'keep recoTrackExtras_electronGsfTracksFromMultiCl_*_*',
25  'keep TrackingRecHitsOwned_electronGsfTracksFromMultiCl_*_*',
26  'keep *_electronMergedSeedsFromMultiCl_*_*'
27 ]
28 
29 #AOD content
30 TrackingToolsAOD = cms.PSet(
31  outputCommands = cms.untracked.vstring('keep recoTracks_GsfGlobalElectronTest_*_*',
32  'keep recoGsfTracks_electronGsfTracks_*_*'
33 
34  )
35 )
36 
37 from Configuration.Eras.Modifier_phase2_hgcal_cff import phase2_hgcal
38 phase2_hgcal.toModify( TrackingToolsRECO,
39  outputCommands = TrackingToolsRECO.outputCommands + _phase2_hgcal_TrackingRECO_tokeep)
40 phase2_hgcal.toModify( TrackingToolsAOD,
41  outputCommands = TrackingToolsAOD.outputCommands + ['keep recoGsfTracks_electronGsfTracksFromMultiCl_*_*'])
42