CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ALCARECOEcalCalIsolElectron_Output_cff.py
Go to the documentation of this file.
2 
3 # output block for alcastream Electron
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_*'
10 )
11 
12 OutALCARECOEcalCalElectron_noDrop = cms.PSet(
13  # put this if you have a filter
14  SelectEvents = cms.untracked.PSet(
15  SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalWElectron')
16  ),
17  outputCommands = cms.untracked.vstring(
18  'keep *_pfMet_*_*',
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*_*',
39  'keep *_*_*_HLT',
40  'keep recoTracks_generalTracks_*_*'
41  )
42 )
43 
44 OutALCARECOEcalCalElectron_noDrop.outputCommands+=OutALCARECOEcalCalElectron_specific
45 
46 
47 import copy
48 OutALCARECOEcalCalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
49 OutALCARECOEcalCalElectron.outputCommands.insert(0, "drop *")