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