Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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