4 OutALCARECOEcalCalElectron_specific = cms.untracked.vstring(
5 'drop *EcalRecHit*_ecalRecHit_*_*',
6 'drop *EcalrecHit*_*ecalPreshowerRecHit*_*EcalRecHitsES*_*',
7 'drop *EcalRecHit*_reducedEcalRecHitsE*_*_*',
8 'keep *EcalRecHit*_alCaIsolatedElectrons_*_*',
9 'keep *EcalRecHit*_reducedEcalRecHitsES_alCaRecHitsES_*'
12 OutALCARECOEcalCalElectron_noDrop = cms.PSet(
14 SelectEvents = cms.untracked.PSet(
15 SelectEvents = cms.vstring(
'pathALCARECOEcalCalZElectron',
'pathALCARECOEcalCalWElectron')
17 outputCommands = cms.untracked.vstring(
19 'keep *_kt6PFJetsForRhoCorrection_rho_*',
20 'keep *_kt6PFJets_rho_*',
21 'keep *_offlinePrimaryVerticesWithBS_*_*',
22 'keep *BeamSpot_offlineBeamSpot_*_*',
23 'keep *_allConversions_*_*',
24 'keep *_conversions_*_*',
25 'keep *GsfTrack*_*_*_*',
26 'keep *_generator_*_*',
27 'keep *_addPileupInfo_*_*',
28 'keep *_genParticles_*_*',
29 'keep recoGsfElectron*_gsfElectron*_*_*',
30 'keep recoCaloClusters_*_*_*',
31 'keep recoSuperClusters_*_*_*',
32 'keep recoPreshowerCluster*_*_*_*',
33 'drop reco*Clusters_hfEMClusters_*_*',
34 'drop reco*Clusters_pfPhotonTranslator_*_*',
35 'drop *_*Unclean*_*_*',
36 'drop *_*unclean*_*_*',
37 'drop *_*_*Unclean*_*',
38 'drop *_*_*unclean*_*',
40 'keep recoTracks_generalTracks_*_*'
44 OutALCARECOEcalCalElectron_noDrop.outputCommands+=OutALCARECOEcalCalElectron_specific
48 OutALCARECOEcalCalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
49 OutALCARECOEcalCalElectron.outputCommands.insert(0,
"drop *")