6 import FWCore.ParameterSet.Config
as cms
9 RecoParticleFlowFEVT = cms.PSet(
10 outputCommands = cms.untracked.vstring(
11 'drop CaloTowersSorted_towerMakerPF_*_*',
13 'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*',
14 'keep recoPFRecHits_particleFlowClusterHCAL_Cleaned_*',
15 'keep recoPFRecHits_particleFlowClusterHO_Cleaned_*',
16 'keep recoPFRecHits_particleFlowClusterHF_Cleaned_*',
17 'keep recoPFRecHits_particleFlowClusterPS_Cleaned_*',
18 'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*',
19 'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*',
20 'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*',
21 'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*',
22 'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*',
24 'keep recoPFClusters_particleFlowClusterECAL_*_*',
25 'keep recoPFClusters_particleFlowClusterHCAL_*_*',
26 'keep recoPFClusters_particleFlowClusterHO_*_*',
27 'keep recoPFClusters_particleFlowClusterHF_*_*',
28 'keep recoPFClusters_particleFlowClusterPS_*_*',
30 'keep recoPFBlocks_particleFlowBlock_*_*',
32 'keep recoPFCandidates_particleFlowEGamma_*_*',
33 'keep recoCaloClusters_particleFlowEGamma_*_*',
34 'keep recoSuperClusters_particleFlowEGamma_*_*',
35 'keep recoConversions_particleFlowEGamma_*_*',
36 'keep recoPFCandidates_particleFlow_*_*',
37 'keep recoPFCandidates_particleFlowTmp_*_*',
38 'drop recoPFCandidates_particleFlowTmp__*',
40 'keep recoPFDisplacedVertexs_particleFlowDisplacedVertex_*_*',
41 'keep *_pfElectronTranslator_*_*',
42 'keep *_pfPhotonTranslator_*_*',
43 'keep *_particleFlow_electrons_*',
44 'keep *_particleFlow_photons_*',
45 'keep *_trackerDrivenElectronSeeds_preid_*',
46 'keep *_particleFlowPtrs_*_*',
47 'keep *_particleFlowTmpPtrs_*_*',
48 'keep *_chargedHadronPFTrackIsolation_*_*' 52 RecoParticleFlowRECO = cms.PSet(
53 outputCommands = cms.untracked.vstring(
54 'drop CaloTowersSorted_towerMakerPF_*_*',
56 'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*',
57 'keep recoPFRecHits_particleFlowClusterHCAL_Cleaned_*',
58 'keep recoPFRecHits_particleFlowClusterHO_Cleaned_*',
59 'keep recoPFRecHits_particleFlowClusterHF_Cleaned_*',
60 'keep recoPFRecHits_particleFlowClusterPS_Cleaned_*',
61 'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*',
62 'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*',
63 'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*',
64 'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*',
65 'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*',
67 'keep recoPFClusters_particleFlowClusterECAL_*_*',
68 'keep recoPFClusters_particleFlowClusterHCAL_*_*',
69 'keep recoPFClusters_particleFlowClusterHO_*_*',
70 'keep recoPFClusters_particleFlowClusterHF_*_*',
71 'keep recoPFClusters_particleFlowClusterPS_*_*',
73 'keep recoPFBlocks_particleFlowBlock_*_*',
75 'keep recoPFCandidates_particleFlowEGamma_*_*',
76 'keep recoCaloClusters_particleFlowEGamma_*_*',
77 'keep recoSuperClusters_particleFlowEGamma_*_*',
78 'keep recoConversions_particleFlowEGamma_*_*',
79 'keep recoPFCandidates_particleFlow_*_*',
80 'keep recoPFCandidates_particleFlowTmp_electrons_*',
81 'keep recoPFCandidates_particleFlowTmp_*_*',
82 'drop recoPFCandidates_particleFlowTmp__*',
84 'keep recoPFDisplacedVertexs_particleFlowDisplacedVertex_*_*',
85 'keep *_pfElectronTranslator_*_*',
86 'keep *_pfPhotonTranslator_*_*',
87 'keep *_particleFlow_electrons_*',
88 'keep *_particleFlow_photons_*',
89 'keep *_particleFlow_muons_*',
90 'keep *_trackerDrivenElectronSeeds_preid_*',
91 'keep *_particleFlowPtrs_*_*',
92 'keep *_particleFlowTmpPtrs_*_*',
93 'keep *_chargedHadronPFTrackIsolation_*_*' 98 RecoParticleFlowAOD = cms.PSet(
99 outputCommands = cms.untracked.vstring(
100 'drop CaloTowersSorted_towerMakerPF_*_*',
101 'drop *_pfElectronTranslator_*_*',
103 'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*',
104 'keep recoPFRecHits_particleFlowClusterHCAL_Cleaned_*',
105 'keep recoPFRecHits_particleFlowClusterHO_Cleaned_*',
106 'keep recoPFRecHits_particleFlowClusterHF_Cleaned_*',
107 'keep recoPFRecHits_particleFlowClusterPS_Cleaned_*',
108 'keep recoPFRecHits_particleFlowRecHitECAL_Cleaned_*',
109 'keep recoPFRecHits_particleFlowRecHitHBHE_Cleaned_*',
110 'keep recoPFRecHits_particleFlowRecHitHF_Cleaned_*',
111 'keep recoPFRecHits_particleFlowRecHitHO_Cleaned_*',
112 'keep recoPFRecHits_particleFlowRecHitPS_Cleaned_*',
114 'keep recoCaloClusters_particleFlowEGamma_*_*',
115 'keep recoSuperClusters_particleFlowEGamma_*_*',
116 'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
117 'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
118 'keep recoConversions_particleFlowEGamma_*_*',
119 'keep recoPFCandidates_particleFlow_*_*',
120 'keep recoPFCandidates_particleFlowTmp_*_*',
121 'drop recoPFCandidates_particleFlowTmp__*',
122 'keep *_particleFlow_electrons_*',
123 'keep *_particleFlow_photons_*',
124 'keep *_particleFlow_muons_*',
125 'keep recoCaloClusters_pfElectronTranslator_*_*',
126 'keep recoPreshowerClusters_pfElectronTranslator_*_*',
127 'keep recoSuperClusters_pfElectronTranslator_*_*',
128 'keep recoCaloClusters_pfPhotonTranslator_*_*',
129 'keep recoPreshowerClusters_pfPhotonTranslator_*_*',
130 'keep recoSuperClusters_pfPhotonTranslator_*_*',
131 'keep recoPhotons_pfPhotonTranslator_*_*',
132 'keep recoPhotonCores_pfPhotonTranslator_*_*',
133 'keep recoConversions_pfPhotonTranslator_*_*',
134 'keep *_particleFlowPtrs_*_*',
135 'keep *_particleFlowTmpPtrs_*_*',
136 'keep *_chargedHadronPFTrackIsolation_*_*' 141 obj.outputCommands.append(
'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*')
144 obj.outputCommands.append(
'keep recoPFRecHits_particleFlowClusterECAL__*')
145 obj.outputCommands.append(
'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*')
150 from Configuration.Eras.Modifier_phase2_hgcal_cff
import phase2_hgcal
151 phase2_hgcal.toModify( RecoParticleFlowFEVT, outputCommands = RecoParticleFlowFEVT.outputCommands + [
152 'keep recoPFRecHits_particleFlowClusterECAL__*',
153 'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*',
154 'keep recoPFRecHits_particleFlowRecHitHGC__*',
155 'keep recoPFRecHits_particleFlowRecHitHGC_Cleaned_*',
156 'keep recoPFClusters_particleFlowClusterHGCal__*',
157 'keep recoPFClusters_particleFlowClusterHGCalFromMultiCl__*',
158 'keep *_particleFlowSuperClusterHGCalFromMultiCl_*_*',
159 'keep *_simPFProducer_*_*' 162 phase2_hgcal.toModify( RecoParticleFlowRECO, outputCommands = RecoParticleFlowRECO.outputCommands + [
163 'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*',
164 'keep recoPFRecHits_particleFlowRecHitHGC_Cleaned_*',
165 'keep recoPFClusters_particleFlowClusterHGCal__*',
166 'keep recoPFClusters_particleFlowClusterHGCalFromMultiCl__*',
167 'keep *_particleFlowSuperClusterHGCalFromMultiCl_*_*',
168 'keep recoPFBlocks_simPFProducer_*_*',
169 'keep recoSuperClusters_simPFProducer_*_*' 171 phase2_hgcal.toModify( RecoParticleFlowAOD, outputCommands = RecoParticleFlowAOD.outputCommands + [
172 'keep recoPFRecHits_particleFlowClusterECAL_Cleaned_*',
173 'keep recoPFRecHits_particleFlowRecHitHGC_Cleaned_*',
174 'keep recoPFClusters_particleFlowClusterHGCal__*',
175 'keep recoPFClusters_particleFlowClusterHGCalFromMultiCl__*',
176 'keep recoSuperClusters_simPFProducer_*_*' ] )
179 from Configuration.Eras.Modifier_phase2_timing_cff
import phase2_timing
180 phase2_timing.toModify(
181 RecoParticleFlowFEVT,
182 outputCommands = RecoParticleFlowFEVT.outputCommands + [
183 'keep *_ecalBarrelClusterFastTimer_*_*' 185 phase2_timing.toModify(
186 RecoParticleFlowRECO,
187 outputCommands = RecoParticleFlowRECO.outputCommands + [
188 'keep *_ecalBarrelClusterFastTimer_*_*' 190 phase2_timing.toModify(
192 outputCommands = RecoParticleFlowAOD.outputCommands + [
193 'keep *_ecalBarrelClusterFastTimer_*_*' def _modifyPFEventContentForHGCalRECO(obj)
def _modifyPFEventContentForHGCalFEVT(obj)