CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/Calibration/EcalAlCaRecoProducers/python/ALCARECOEcalCalIsolElectron_Output_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 # output block for alcastream Electron
00004 OutALCARECOEcalCalElectron_specific = cms.untracked.vstring(
00005     'drop *EcalRecHit*_ecalRecHit_*_*',
00006     'drop *EcalrecHit*_*ecalPreshowerRecHit*_*EcalRecHitsES*_*',
00007     'drop *EcalRecHit*_reducedEcalRecHitsE*_*_*',
00008     'keep *EcalRecHit*_alCaIsolatedElectrons_*_*',
00009     'keep *EcalRecHit*_reducedEcalRecHitsES_alCaRecHitsES_*'
00010 )
00011 
00012 OutALCARECOEcalCalElectron_noDrop = cms.PSet(
00013     # put this if you have a filter
00014     SelectEvents = cms.untracked.PSet(
00015         SelectEvents = cms.vstring('pathALCARECOEcalCalZElectron', 'pathALCARECOEcalCalWElectron')
00016     ),
00017     outputCommands = cms.untracked.vstring( 
00018     'keep *_pfMet_*_*',
00019     'keep *_kt6PFJetsForRhoCorrection_rho_*',
00020     'keep *_kt6PFJets_rho_*',
00021     'keep *_offlinePrimaryVerticesWithBS_*_*',
00022     'keep *BeamSpot_offlineBeamSpot_*_*',
00023     'keep *_allConversions_*_*',
00024     'keep *_conversions_*_*',
00025     'keep *GsfTrack*_*_*_*',
00026     'keep *_generator_*_*',
00027     'keep *_addPileupInfo_*_*',
00028     'keep *_genParticles_*_*',
00029     'keep recoGsfElectron*_gsfElectron*_*_*',
00030     'keep recoCaloClusters_*_*_*',
00031     'keep recoSuperClusters_*_*_*',
00032     'keep recoPreshowerCluster*_*_*_*',
00033     'drop reco*Clusters_hfEMClusters_*_*',
00034     'drop reco*Clusters_pfPhotonTranslator_*_*',
00035     'drop *_*Unclean*_*_*',
00036     'drop *_*unclean*_*_*',
00037     'drop *_*_*Unclean*_*',
00038     'drop *_*_*unclean*_*',
00039     'keep *_*_*_HLT',
00040     'keep recoTracks_generalTracks_*_*'
00041     )
00042 )
00043 
00044 OutALCARECOEcalCalElectron_noDrop.outputCommands+=OutALCARECOEcalCalElectron_specific
00045 
00046 
00047 import copy
00048 OutALCARECOEcalCalElectron=copy.deepcopy(OutALCARECOEcalCalElectron_noDrop)
00049 OutALCARECOEcalCalElectron.outputCommands.insert(0, "drop *")