1 import FWCore.ParameterSet.Config
as cms
4 RecoParticleFlowAOD = cms.PSet(
5 outputCommands = cms.untracked.vstring(
6 'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*',
7 'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*',
8 'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*',
9 'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*',
10 'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*',
11 'keep recoCaloClusters_particleFlowEGamma_*_*',
12 'keep recoSuperClusters_particleFlowEGamma_*_*',
13 'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
14 'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
15 'keep recoConversions_particleFlowEGamma_*_*',
16 'keep recoPFCandidates_particleFlow_*_*',
17 'keep recoPFCandidates_particleFlowTmp_AddedMuonsAndHadrons_*',
18 'keep recoPFCandidates_particleFlowTmp_CleanedCosmicsMuons_*',
19 'keep recoPFCandidates_particleFlowTmp_CleanedFakeMuons_*',
20 'keep recoPFCandidates_particleFlowTmp_CleanedHF_*',
21 'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughMuons_*',
22 'keep recoPFCandidates_particleFlowTmp_CleanedPunchThroughNeutralHadrons_*',
23 'keep recoPFCandidates_particleFlowTmp_CleanedTrackerAndGlobalMuons_*',
24 'keep *_particleFlow_electrons_*',
25 'keep *_particleFlow_photons_*',
26 'keep *_particleFlow_muons_*',
27 'keep recoCaloClusters_pfElectronTranslator_*_*',
28 'keep recoPreshowerClusters_pfElectronTranslator_*_*',
29 'keep recoSuperClusters_pfElectronTranslator_*_*',
30 'keep recoCaloClusters_pfPhotonTranslator_*_*',
31 'keep recoPreshowerClusters_pfPhotonTranslator_*_*',
32 'keep recoSuperClusters_pfPhotonTranslator_*_*',
33 'keep recoPhotons_pfPhotonTranslator_*_*',
34 'keep recoPhotonCores_pfPhotonTranslator_*_*',
35 'keep recoConversions_pfPhotonTranslator_*_*',
36 'keep *_particleFlowPtrs_*_*',
37 'keep *_particleFlowTmpPtrs_*_*',
38 'keep *_chargedHadronPFTrackIsolation_*_*')
43 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
44 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
45 phase2_hgcal.toModify( RecoParticleFlowAOD,
46 outputCommands = RecoParticleFlowAOD.outputCommands + [
'keep recoPFRecHits_particleFlowRecHitHGC_Cleaned_*',
47 'keep recoSuperClusters_simPFProducer_*_*'])
48 phase2_timing.toModify( RecoParticleFlowAOD,
49 outputCommands = RecoParticleFlowAOD.outputCommands + [
'keep *_ecalBarrelClusterFastTimer_*_*'])
52 RecoParticleFlowRECO = cms.PSet(
53 outputCommands = cms.untracked.vstring(
54 'keep recoPFClusters_particleFlowClusterECAL_*_*',
55 'keep recoPFClusters_particleFlowClusterHCAL_*_*',
56 'keep recoPFClusters_particleFlowClusterHO_*_*',
57 'keep recoPFClusters_particleFlowClusterHF_*_*',
58 'keep recoPFClusters_particleFlowClusterPS_*_*',
59 'keep recoPFBlocks_particleFlowBlock_*_*',
60 'keep recoPFCandidates_particleFlowEGamma_*_*',
61 'keep recoPFCandidates_particleFlowTmp_electrons_*',
62 'keep recoPFDisplacedVertexs_particleFlowDisplacedVertex_*_*',
63 'keep *_pfElectronTranslator_*_*',
64 'keep *_pfPhotonTranslator_*_*',
65 'keep *_trackerDrivenElectronSeeds_preid_*')
67 RecoParticleFlowRECO.outputCommands.extend(RecoParticleFlowAOD.outputCommands)
69 phase2_hgcal.toModify( RecoParticleFlowRECO,
70 outputCommands = RecoParticleFlowRECO.outputCommands + [
'keep *_particleFlowSuperClusterHGCal_*_*',
71 'keep recoPFBlocks_simPFProducer_*_*'])
74 RecoParticleFlowFEVT = cms.PSet(
75 outputCommands = cms.untracked.vstring()
77 RecoParticleFlowFEVT.outputCommands.extend(RecoParticleFlowRECO.outputCommands)
79 phase2_hgcal.toModify( RecoParticleFlowFEVT,
80 outputCommands = RecoParticleFlowFEVT.outputCommands + [
'keep recoPFRecHits_particleFlowClusterECAL__*',
81 'keep recoPFRecHits_particleFlowRecHitHGC__*',
82 'keep *_simPFProducer_*_*'])