Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-07-05 22:22:35

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # AlCaReco for track based calibration using Cosmics events
0004 OutALCARECOSiStripCalCosmics_noDrop = cms.PSet(
0005     SelectEvents = cms.untracked.PSet(
0006         SelectEvents = cms.vstring('pathALCARECOSiStripCalCosmics')
0007     ),
0008     outputCommands = cms.untracked.vstring( 
0009         'keep *_ALCARECOSiStripCalCosmics_*_*', 
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 # in Run3, SCAL digis replaced by onlineMetaDataDigis
0021 import copy
0022 _run3_common_removedCommands = OutALCARECOSiStripCalCosmics_noDrop.outputCommands.copy()
0023 _run3_common_removedCommands.remove('keep LumiScalerss_scalersRawToDigi_*_*')
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(OutALCARECOSiStripCalCosmics_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
0031 
0032 OutALCARECOSiStripCalCosmics=OutALCARECOSiStripCalCosmics_noDrop.clone()
0033 OutALCARECOSiStripCalCosmics.outputCommands.insert(0,"drop *")