1 import FWCore.ParameterSet.Config
as cms
4 OutALCARECOSiStripCalCosmics_noDrop = cms.PSet(
5 SelectEvents = cms.untracked.PSet(
6 SelectEvents = cms.vstring(
'pathALCARECOSiStripCalCosmics')
8 outputCommands = cms.untracked.vstring(
9 'keep *_ALCARECOSiStripCalCosmics_*_*',
10 'keep *_siStripClusters_*_*',
11 'keep *_siPixelClusters_*_*',
12 'keep DetIds_siStripDigis_*_*',
13 'keep L1AcceptBunchCrossings_*_*_*',
14 'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
15 'keep LumiScalerss_scalersRawToDigi_*_*',
16 'keep DcsStatuss_scalersRawToDigi_*_*',
17 'keep *_TriggerResults_*_*')
22 _run3_common_removedCommands = OutALCARECOSiStripCalCosmics_noDrop.outputCommands.copy()
23 _run3_common_removedCommands.remove(
'keep LumiScalerss_scalersRawToDigi_*_*')
24 _run3_common_removedCommands.remove(
'keep DcsStatuss_scalersRawToDigi_*_*')
26 _run3_common_extraCommands = [
'keep DCSRecord_onlineMetaDataDigis_*_*',
27 'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*']
29 from Configuration.Eras.Modifier_run3_common_cff
import run3_common
30 run3_common.toModify(OutALCARECOSiStripCalCosmics_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
32 OutALCARECOSiStripCalCosmics=OutALCARECOSiStripCalCosmics_noDrop.clone()
33 OutALCARECOSiStripCalCosmics.outputCommands.insert(0,
"drop *")