CMS 3D CMS Logo

ALCARECOSiStripCalMinBiasAAG_Output_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # AlCaReco for track based calibration using MinBias events
4 OutALCARECOSiStripCalMinBiasAAG_noDrop = cms.PSet(
5  SelectEvents = cms.untracked.PSet(
6  SelectEvents = cms.vstring('pathALCARECOSiStripCalMinBiasAAG')
7  ),
8  outputCommands = cms.untracked.vstring(
9  'keep *_ALCARECOSiStripCalMinBiasAAG_*_*',
10  'keep *_siStripClusters_*_*',
11  'keep *_siPixelClusters_*_*',
12  'keep DetIdedmEDCollection_siStripDigis_*_*',
13  'keep L1AcceptBunchCrossings_*_*_*',
14  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
15  'keep LumiScalerss_scalersRawToDigi_*_*',
16  'keep DcsStatuss_scalersRawToDigi_*_*',
17  'keep *_TriggerResults_*_*')
18 )
19 
20 # in Run3, SCAL digis replaced by onlineMetaDataDigis
21 import copy
22 _run3_common_removedCommands = OutALCARECOSiStripCalMinBiasAAG_noDrop.outputCommands.copy()
23 _run3_common_removedCommands.remove('keep LumiScalerss_scalersRawToDigi_*_*')
24 _run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*')
25 
26 _run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*',
27  'keep OnlineLuminosityRecord_onlineMetaDataDigis_*_*']
28 
29 from Configuration.Eras.Modifier_run3_common_cff import run3_common
30 run3_common.toModify(OutALCARECOSiStripCalMinBiasAAG_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
31 
32 OutALCARECOSiStripCalMinBiasAAG=OutALCARECOSiStripCalMinBiasAAG_noDrop.clone()
33 OutALCARECOSiStripCalMinBiasAAG.outputCommands.insert(0,"drop *")