CMS 3D CMS Logo

ALCARECOTkAlJpsiMuMuHI_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 Jpsi->mumu events in heavy ion (PbPb) data
4 OutALCARECOTkAlJpsiMuMuHI_noDrop = cms.PSet(
5  SelectEvents = cms.untracked.PSet(
6  SelectEvents = cms.vstring('pathALCARECOTkAlJpsiMuMuHI')
7  ),
8  outputCommands = cms.untracked.vstring(
9  'keep *_ALCARECOTkAlJpsiMuMuHI_*_*',
10  'keep L1AcceptBunchCrossings_*_*_*',
11  'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
12  'keep *_TriggerResults_*_*',
13  'keep DcsStatuss_scalersRawToDigi_*_*',
14  'keep *_hiSelectedVertex_*_*')
15 )
16 
17 # in Run3, SCAL digis replaced by onlineMetaDataDigis
18 import copy
19 _run3_common_removedCommands = OutALCARECOTkAlJpsiMuMuHI_noDrop.outputCommands.copy()
20 _run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*')
21 
22 _run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*']
23 
24 from Configuration.Eras.Modifier_run3_common_cff import run3_common
25 run3_common.toModify(OutALCARECOTkAlJpsiMuMuHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
26 
27 OutALCARECOTkAlJpsiMuMuHI = OutALCARECOTkAlJpsiMuMuHI_noDrop.clone()
28 OutALCARECOTkAlJpsiMuMuHI.outputCommands.insert(0, "drop *")