Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
import FWCore.ParameterSet.Config as cms

# output block for alcastream HCAL Isotrk
# output module 
#  module alcastreamHcalIsotrkOutput = PoolOutputModule
OutALCARECOHcalCalIsoTrkNoHLT_noDrop = cms.PSet(
    # use this in case of filter available
    SelectEvents = cms.untracked.PSet(
        SelectEvents = cms.vstring('pathALCARECOHcalCalIsoTrkNoHLT')
        ),
    outputCommands = cms.untracked.vstring( 
        'keep *_IsoProd_*_*',
        'keep *_TkAlIsoProd_*_*',
	'keep *_offlineBeamSpot_*_*',
        'keep HcalNoiseSummary_hcalnoise_*_*',
        'keep recoTracks_generalTracks_*_*',
        'keep recoTrackExtras_generalTracks_*_*',
        'keep *_gtStage2Digis_*_*',
        'keep *_hbhereco_*_*',
        'keep edmTriggerResults_*_*_*',
        'keep triggerTriggerEvent_*_*_*',
        'keep *_genParticles_*_*',
        )
)


import copy
OutALCARECOHcalCalIsoTrkNoHLT=copy.deepcopy(OutALCARECOHcalCalIsoTrkNoHLT_noDrop)
OutALCARECOHcalCalIsoTrkNoHLT.outputCommands.insert(0, "drop *")