1 import FWCore.ParameterSet.Config
as cms
4 OutALCARECOEcalCalElectron_specific = cms.untracked.vstring(
5 'drop reco*Clusters_hfEMClusters_*_*',
6 'drop reco*Clusters_pfPhotonTranslator_*_*',
7 'drop *EcalRecHit*_ecalRecHit_*_*',
8 'drop *EcalrecHit*_*ecalPreshowerRecHit*_*EcalRecHitsES*_*',
9 'drop *EcalRecHit*_reducedEcalRecHitsE*_*_*',
10 'drop *_*Unclean*_*_*',
11 'drop *_*unclean*_*_*',
12 'drop *_*_*Unclean*_*',
13 'drop *_*_*unclean*_*',
14 'drop *CaloCluster*_*particleFlowEGamma*_*EBEEClusters*_*',
15 'drop *CaloCluster*_*particleFlowEGamma*_*ESClusters*_*',
17 'keep *CaloCluster*_alCaIsolatedElectrons_*alcaCaloCluster*_*' 20 OutALCARECOEcalCalElectron_noDrop = cms.PSet(
22 SelectEvents = cms.untracked.PSet(
23 SelectEvents = cms.vstring(
'pathALCARECOEcalCalZElectron',
'pathALCARECOEcalCalWElectron',
'pathALCARECOEcalCalZSCElectron')
25 outputCommands = cms.untracked.vstring(
30 'keep recoVertexs_offlinePrimaryVertices_*_*',
31 'keep recoVertexs_offlinePrimaryVerticesWithBS_*_*',
32 'keep *BeamSpot_offlineBeamSpot_*_*',
33 'keep *_allConversions_*_*',
34 'keep *_conversions_*_*',
36 'keep *GsfTrack*_electronGsfTracks_*_*',
38 'keep *_generator_*_*',
39 'keep *_addPileupInfo_*_*',
40 'keep *_genParticles_*_*',
41 'keep recoGsfElectron*_gsfElectron*_*_*',
43 'keep recoGsfElectron*_gedGsfElectrons_*_*',
45 'keep recoGsfElectron*_gedGsfElectronCores_*_*',
46 'keep recoPhoton*_gedPhoton_*_*',
48 'keep recoCaloClusters_hfEMClusters_*_*',
49 'keep recoCaloClusters_particleFlowEGamma_*_*',
50 'keep recoCaloClusters_alCaIsolatedElectrons_*_*',
51 'keep recoCaloClusters_cleanedHybridSuperClusters_*_*',
52 'keep recoCaloClusters_hybridSuperClusters_*_*',
53 'keep recoCaloClusters_uncleanedHybridSuperClusters_*_*',
54 'keep recoCaloClusters_multi5x5BasicClustersCleaned_*_*',
55 'keep recoCaloClusters_multi5x5BasicClustersUncleaned_*_*',
56 'keep recoCaloClusters_multi5x5SuperClusters_*_*',
57 'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
59 'keep recoSuperClusters_SCselector_*_*',
60 'keep recoSuperClusters_cleanedHybridSuperClusters_*_*',
61 'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
62 'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
63 'keep recoSuperClusters_hfEMClusters_*_*',
64 'keep recoSuperClusters_hybridSuperClusters_*_*',
65 'keep recoSuperClusters_mergedSuperClusters_*_*',
66 'keep recoSuperClusters_multi5x5SuperClustersWithPreshower_*_*',
67 'keep recoSuperClusters_particleFlowEGamma_*_*',
68 'keep recoSuperClusters_uncleanedHybridSuperClusters_*_*',
69 'keep recoSuperClusters_uncleanedOnlyCorrectedHybridSuperClusters_*_*',
70 'keep recoSuperClusters_uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower_*_*',
71 'keep recoSuperClusters_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
72 'keep recoSuperClusters_multi5x5SuperClustersCleaned_*_*',
73 'keep recoSuperClusters_multi5x5SuperClustersUncleaned_*_*',
74 'keep recoSuperClusters_multi5x5SuperClusters_*_*',
75 'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
77 'keep recoPreshowerCluster*_multi5x5SuperClustersWithPreshower_*_*',
78 'keep recoPreshowerCluster*_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
79 'keep recoPreshowerCluster*_multi5x5PreshowerClusterShape_*_*',
80 'keep *_pfElectronTranslator_*_*',
84 'keep *_alcaElectronTracksReducer_*_*',
86 'keep *_l1extraParticles_*_*',
87 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
88 'keep *_l1L1GtObjectMap_*_*',
89 'keep edmConditionsInEventBlock_conditionsInEdm_*_*',
90 'keep edmConditionsInLumiBlock_conditionsInEdm_*_*',
91 'keep edmConditionsInRunBlock_conditionsInEdm_*_*',
92 'keep *_TriggerResults_*_*',
93 'keep *_hltTriggerSummaryAOD_*_HLT',
95 'keep *EcalRecHit*_alCaIsolatedElectrons_*_*',
96 'keep *EcalRecHit*_reducedEcalRecHitsES_alCaRecHitsES_*',
97 'keep *_fixedGridRhoFastjetAll_*_*' 103 OutALCARECOEcalCalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
104 OutALCARECOEcalCalElectron.outputCommands.insert(0,
"drop *")
105 OutALCARECOEcalCalElectron.outputCommands+=OutALCARECOEcalCalElectron_specific
107 OutALCARECOEcalCalWElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
108 OutALCARECOEcalCalWElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
109 OutALCARECOEcalCalWElectron.SelectEvents = cms.untracked.PSet(
110 SelectEvents = cms.vstring(
'pathALCARECOEcalCalWElectron') )
111 OutALCARECOEcalCalWElectron_noDrop.SelectEvents = cms.untracked.PSet(
112 SelectEvents = cms.vstring(
'pathALCARECOEcalCalWElectron') )
115 OutALCARECOEcalCalZElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
116 OutALCARECOEcalCalZElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
118 OutALCARECOEcalCalZElectron.SelectEvents = cms.untracked.PSet(
119 SelectEvents = cms.vstring(
'pathALCARECOEcalCalZElectron',
'pathALCARECOEcalCalZSCElectron') )
120 OutALCARECOEcalCalZElectron_noDrop.SelectEvents = cms.untracked.PSet(
121 SelectEvents = cms.vstring(
'pathALCARECOEcalCalZElectron',
'pathALCARECOEcalCalZSCElectron') )