Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-06-20 00:21:22

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # AlCaReco for track based calibration using MinBias events
0004 OutALCARECOSiStripCalSmallBiasScan_noDrop = cms.PSet(
0005     SelectEvents = cms.untracked.PSet(
0006         SelectEvents = cms.vstring('pathALCARECOSiStripCalSmallBiasScan')
0007     ),
0008     outputCommands = cms.untracked.vstring( 
0009         'keep *_ALCARECOSiStripCalSmallBiasScan_*_*', 
0010         'keep *_siStripClusters_*_*', 
0011         'keep *_siPixelClusters_*_*',
0012         'keep DetIdedmEDCollection_siStripDigis_*_*',
0013         'keep L1AcceptBunchCrossings_*_*_*',
0014         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0015         'keep LumiScalerss_scalersRawToDigi_*_*',
0016         'keep DcsStatuss_scalersRawToDigi_*_*',
0017         'keep *_TriggerResults_*_*')
0018 )
0019 
0020 
0021 import copy
0022 OutALCARECOSiStripCalSmallBiasScan=copy.deepcopy(OutALCARECOSiStripCalSmallBiasScan_noDrop)
0023 OutALCARECOSiStripCalSmallBiasScan.outputCommands.insert(0,"drop *")
0024 
0025 # in Run3, SCAL digis replaced by onlineMetaDataDigis
0026 _run3_common_removedCommands = OutALCARECOSiStripCalSmallBiasScan.outputCommands
0027 _run3_common_removedCommands.remove('keep LumiScalerss_scalersRawToDigi_*_*')
0028 _run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*')
0029 
0030 _run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*',
0031                               'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*']
0032 
0033 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0034 run3_common.toModify(OutALCARECOSiStripCalSmallBiasScan, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)