Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
import FWCore.ParameterSet.Config as cms

OutALCARECOSiPixelCalSingleMuon_noDrop = cms.PSet(
    SelectEvents = cms.untracked.PSet(
        SelectEvents = cms.vstring('pathALCARECOSiPixelCalSingleMuon')
    ),
    outputCommands = cms.untracked.vstring(
      'keep *_ALCARECOSiPixelCalSingleMuon_*_*',
      'keep *_muons__*',
      'keep *_offlinePrimaryVertices_*_*',
      'keep *_*riggerResults_*_HLT'
     )
)

OutALCARECOSiPixelCalSingleMuon=OutALCARECOSiPixelCalSingleMuon_noDrop.clone()
OutALCARECOSiPixelCalSingleMuon.outputCommands.insert(0, "drop *")