1 import FWCore.ParameterSet.Config
as cms
3 TrackingToolsFEVT = cms.PSet(
4 outputCommands = cms.untracked.vstring(
'keep *_CkfElectronCandidates_*_*',
5 'keep *_GsfGlobalElectronTest_*_*',
6 'keep *_electronMergedSeeds_*_*',
7 'keep *_electronGsfTracks_*_*' 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_*_*' )
21 _phase2_hgcal_TrackingRECO_tokeep = [
22 'keep recoGsfTracks_electronGsfTracksFromMultiCl_*_*',
23 'keep recoGsfTrackExtras_electronGsfTracksFromMultiCl_*_*',
24 'keep recoTrackExtras_electronGsfTracksFromMultiCl_*_*',
25 'keep TrackingRecHitsOwned_electronGsfTracksFromMultiCl_*_*',
26 'keep *_electronMergedSeedsFromMultiCl_*_*' 30 TrackingToolsAOD = cms.PSet(
31 outputCommands = cms.untracked.vstring(
'keep recoTracks_GsfGlobalElectronTest_*_*',
32 'keep recoGsfTracks_electronGsfTracks_*_*' 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_*_*'])