CMS 3D CMS Logo

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