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*_*',
16 'keep *CaloCluster*_*alCaIsolatedElectrons*_*alcaCaloCluster*_*'
19 OutALCARECOEcalCalElectron_noDrop = cms.PSet(
21 SelectEvents = cms.untracked.PSet(
22 SelectEvents = cms.vstring(
'pathALCARECOEcalCalZElectron',
'pathALCARECOEcalCalWElectron',
'pathALCARECOEcalCalZSCElectron')
24 outputCommands = cms.untracked.vstring(
26 'keep *_kt6PFJetsForRhoCorrection_rho_*',
27 'keep *_kt6PFJets_rho_*',
29 'keep recoVertexs_offlinePrimaryVertices_*_*',
30 'keep recoVertexs_offlinePrimaryVerticesWithBS_*_*',
31 'keep *BeamSpot_offlineBeamSpot_*_*',
32 'keep *_allConversions_*_*',
33 'keep *_conversions_*_*',
35 'keep *GsfTrack*_electronGsfTracks_*_*',
36 'keep *GsfTrack*_uncleanedOnlyElectronGsfTracks_*_*',
37 'keep *_generator_*_*',
38 'keep *_addPileupInfo_*_*',
39 'keep *_genParticles_*_*',
40 'keep recoGsfElectron*_gsfElectron*_*_*',
42 'keep recoGsfElectron*_gedGsfElectrons_*_*',
43 'keep recoGsfElectron*_gedGsfElectronsTmp_*_*',
44 'keep recoGsfElectron*_gedGsfElectronCores_*_*',
45 'keep recoPhoton*_gedPhoton_*_*',
47 'keep recoCaloClusters_hfEMClusters_*_*',
48 'keep recoCaloClusters_particleFlowEGamma_*_*',
49 'keep recoCaloClusters_alCaIsolatedElectrons_*_*',
50 'keep recoCaloClusters_cleanedHybridSuperClusters_*_*',
51 'keep recoCaloClusters_hybridSuperClusters_*_*',
52 'keep recoCaloClusters_uncleanedHybridSuperClusters_*_*',
53 'keep recoCaloClusters_multi5x5BasicClustersCleaned_*_*',
54 'keep recoCaloClusters_multi5x5BasicClustersUncleaned_*_*',
55 'keep recoCaloClusters_multi5x5SuperClusters_*_*',
56 'keep recoCaloClusters_particleFlowSuperClusterECAL_*_*',
58 'keep recoSuperClusters_SCselector_*_*',
59 'keep recoSuperClusters_cleanedHybridSuperClusters_*_*',
60 'keep recoSuperClusters_correctedHybridSuperClusters_*_*',
61 'keep recoSuperClusters_correctedMulti5x5SuperClustersWithPreshower_*_*',
62 'keep recoSuperClusters_hfEMClusters_*_*',
63 'keep recoSuperClusters_hybridSuperClusters_*_*',
64 'keep recoSuperClusters_mergedSuperClusters_*_*',
65 'keep recoSuperClusters_multi5x5SuperClustersWithPreshower_*_*',
66 'keep recoSuperClusters_particleFlowEGamma_*_*',
67 'keep recoSuperClusters_uncleanedHybridSuperClusters_*_*',
68 'keep recoSuperClusters_uncleanedOnlyCorrectedHybridSuperClusters_*_*',
69 'keep recoSuperClusters_uncleanedOnlyCorrectedMulti5x5SuperClustersWithPreshower_*_*',
70 'keep recoSuperClusters_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
71 'keep recoSuperClusters_multi5x5SuperClustersCleaned_*_*',
72 'keep recoSuperClusters_multi5x5SuperClustersUncleaned_*_*',
73 'keep recoSuperClusters_multi5x5SuperClusters_*_*',
74 'keep recoSuperClusters_particleFlowSuperClusterECAL_*_*',
76 'keep recoPreshowerCluster*_multi5x5SuperClustersWithPreshower_*_*',
77 'keep recoPreshowerCluster*_uncleanedOnlyMulti5x5SuperClustersWithPreshower_*_*',
78 'keep recoPreshowerCluster*_multi5x5PreshowerClusterShape_*_*',
79 'keep *_pfElectronTranslator_*_*',
83 'keep *_alcaElectronTracksReducer_*_*',
85 'keep *_l1extraParticles_*_*',
86 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
87 'keep *_l1L1GtObjectMap_*_*',
88 'keep edmConditionsInEventBlock_conditionsInEdm_*_*',
89 'keep edmConditionsInLumiBlock_conditionsInEdm_*_*',
90 'keep edmConditionsInRunBlock_conditionsInEdm_*_*',
91 'keep *_TriggerResults_*_*',
92 'keep *_hltTriggerSummaryAOD_*_HLT',
94 'keep *EcalRecHit*_alCaIsolatedElectrons_*_*',
95 'keep *EcalRecHit*_reducedEcalRecHitsES_alCaRecHitsES_*',
100 OutALCARECOEcalCalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
101 OutALCARECOEcalCalElectron.outputCommands.insert(0,
"drop *")
102 OutALCARECOEcalCalElectron.outputCommands+=OutALCARECOEcalCalElectron_specific
104 OutALCARECOEcalCalWElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
105 OutALCARECOEcalCalWElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
106 OutALCARECOEcalCalWElectron.SelectEvents = cms.untracked.PSet(
107 SelectEvents = cms.vstring(
'pathALCARECOEcalCalWElectron') )
108 OutALCARECOEcalCalWElectron_noDrop.SelectEvents = cms.untracked.PSet(
109 SelectEvents = cms.vstring(
'pathALCARECOEcalCalWElectron') )
112 OutALCARECOEcalCalZElectron=copy.deepcopy(OutALCARECOEcalCalElectron)
113 OutALCARECOEcalCalZElectron_noDrop=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
115 OutALCARECOEcalCalZElectron.SelectEvents = cms.untracked.PSet(
116 SelectEvents = cms.vstring(
'pathALCARECOEcalCalZElectron',
'pathALCARECOEcalCalZSCElectron') )
117 OutALCARECOEcalCalZElectron_noDrop.SelectEvents = cms.untracked.PSet(
118 SelectEvents = cms.vstring(
'pathALCARECOEcalCalZElectron',
'pathALCARECOEcalCalZSCElectron') )