1 import FWCore.ParameterSet.Config
as cms
4 RecoEcalFEVT = cms.PSet(
5 outputCommands = cms.untracked.vstring(
7 'keep *_selectDigi_*_*',
9 'keep *_reducedEcalRecHitsEB_*_*',
10 'keep *_reducedEcalRecHitsEE_*_*',
11 'keep *_reducedEcalRecHitsES_*_*',
12 'keep *_interestingEcalDetId*_*_*',
13 'keep *_ecalWeightUncalibRecHit_*_*',
14 'keep *_ecalPreshowerRecHit_*_*',
16 'keep *_hybridSuperClusters_*_*',
17 'keep *_correctedHybridSuperClusters_*_*',
19 'keep *_multi5x5*_*_*',
20 'keep *_correctedMulti5x5*_*_*',
22 'keep recoPreshowerClusters_multi5x5SuperClustersWithPreshower_*_*',
23 'keep recoPreshowerClusterShapes_multi5x5PreshowerClusterShape_*_*',
25 'keep *_particleFlowSuperClusterECAL_*_*',
27 'drop recoBasicClusters_multi5x5BasicClusters_multi5x5BarrelBasicClusters_*',
28 'drop recoSuperClusters_multi5x5SuperClusters_multi5x5BarrelSuperClusters_*')
31 RecoEcalRECO = cms.PSet(
32 outputCommands = cms.untracked.vstring(
34 'keep *_selectDigi_*_*',
36 'keep EcalRecHitsSorted_reducedEcalRecHitsEE_*_*',
37 'keep EcalRecHitsSorted_reducedEcalRecHitsEB_*_*',
38 'keep EcalRecHitsSorted_reducedEcalRecHitsES_*_*',
40 'keep *_hybridSuperClusters_*_*',
41 'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
43 'keep *_multi5x5SuperClusters_*_*',
44 'keep recoSuperClusters_multi5x5SuperClusters_*_*',
45 'keep recoSuperClusters_multi5x5SuperClustersWithPreshower_*_*',
46 'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
48 'keep recoPreshowerClusters_multi5x5SuperClustersWithPreshower_*_*',
49 'keep recoPreshowerClusterShapes_multi5x5PreshowerClusterShape_*_*',
51 'keep *_particleFlowSuperClusterECAL_*_*',
53 'drop recoClusterShapes_*_*_*',
54 'drop recoBasicClustersToOnerecoClusterShapesAssociation_*_*_*',
55 'drop recoBasicClusters_multi5x5BasicClusters_multi5x5BarrelBasicClusters_*',
56 'drop recoSuperClusters_multi5x5SuperClusters_multi5x5BarrelSuperClusters_*')
59 RecoEcalAOD = cms.PSet(
60 outputCommands = cms.untracked.vstring(
62 'keep *_selectDigi_*_*',
64 'keep EcalRecHitsSorted_reducedEcalRecHitsEB_*_*',
65 'keep EcalRecHitsSorted_reducedEcalRecHitsEE_*_*',
66 'keep EcalRecHitsSorted_reducedEcalRecHitsES_*_*',
68 'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
69 'keep recoCaloClusters_hybridSuperClusters_*_*',
70 'keep recoSuperClusters_hybridSuperClusters_uncleanOnlyHybridSuperClusters_*',
72 'keep recoCaloClusters_multi5x5SuperClusters_multi5x5EndcapBasicClusters_*',
73 'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
75 'keep recoPreshowerClusters_multi5x5SuperClustersWithPreshower_*_*',
76 'keep recoPreshowerClusterShapes_multi5x5PreshowerClusterShape_*_*',
78 'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
79 'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*'
83 from Configuration.StandardSequences.Eras
import eras
85 for e
in [eras.pA_2016, eras.peripheralPbPb]:
86 for ec
in [RecoEcalRECO.outputCommands, RecoEcalFEVT.outputCommands]:
87 e.toModify( ec, func=
lambda outputCommands: outputCommands.extend([
'keep recoCaloClusters_islandBasicClusters_*_*'])