3 import FWCore.ParameterSet.Config
as cms
6 RecoTrackerAOD = cms.PSet(
7 outputCommands = cms.untracked.vstring(
8 'keep recoTracks_generalTracks_*_*',
9 'keep recoTracks_conversionStepTracks_*_*',
10 'keep recoTracks_beamhaloTracks_*_*',
11 'keep recoTracks_ctfPixelLess_*_*',
12 'keep *_dedxHarmonic2_*_*',
13 'keep *_dedxPixelHarmonic2_*_*',
14 'keep *_dedxHitInfo_*_*',
15 'keep *_trackExtrapolator_*_*',
16 'keep *_generalTracks_MVAValues_*',
17 'keep *_generalTracks_MVAVals_*' 21 from Configuration.Eras.Modifier_run3_upc_cff
import run3_upc
22 from Configuration.ProcessModifiers.pp_on_AA_cff
import pp_on_AA
23 (pp_on_AA | run3_upc).toModify( RecoTrackerAOD.outputCommands,
24 func=
lambda outputCommands: outputCommands.extend([
'keep recoTracks_hiConformalPixelTracks_*_*'])
27 RecoTrackerRECO = cms.PSet(
28 outputCommands = cms.untracked.vstring(
29 'keep recoTrackExtras_generalTracks_*_*',
30 'keep TrackingRecHitsOwned_generalTracks_*_*',
31 'keep TrackingRecHitsOwned_extraFromSeeds_*_*',
32 'keep uints_extraFromSeeds_*_*',
33 'keep recoTrackExtras_beamhaloTracks_*_*',
34 'keep TrackingRecHitsOwned_beamhaloTracks_*_*',
35 'keep recoTrackExtras_conversionStepTracks_*_*',
36 'keep TrackingRecHitsOwned_conversionStepTracks_*_*',
37 'keep *_ctfPixelLess_*_*',
38 'keep *_dedxTruncated40_*_*' 41 RecoTrackerRECO.outputCommands.extend(RecoTrackerAOD.outputCommands)
42 (pp_on_AA | run3_upc).toModify( RecoTrackerRECO.outputCommands,
43 func=
lambda outputCommands: outputCommands.extend([
44 'keep recoTrackExtras_hiConformalPixelTracks_*_*',
45 'keep TrackingRecHitsOwned_hiConformalPixelTracks_*_*' 49 RecoTrackerFEVT = cms.PSet(
50 outputCommands = cms.untracked.vstring()
52 RecoTrackerFEVT.outputCommands.extend(RecoTrackerRECO.outputCommands)