Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 11:56:16

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # AlCaReco for track based alignment using Z->mumu events in heavy ion (PbPb) data
0004 OutALCARECOTkAlZMuMuHI_noDrop = cms.PSet(
0005     SelectEvents = cms.untracked.PSet(
0006         SelectEvents = cms.vstring('pathALCARECOTkAlZMuMuHI')
0007     ),
0008     outputCommands = cms.untracked.vstring(
0009         'keep recoTracks_ALCARECOTkAlZMuMuHI_*_*',
0010         'keep recoTrackExtras_ALCARECOTkAlZMuMuHI_*_*',
0011         'keep TrackingRecHitsOwned_ALCARECOTkAlZMuMuHI_*_*',
0012         'keep SiPixelClusteredmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*',
0013         'keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*',
0014         'keep L1AcceptBunchCrossings_*_*_*',
0015         'keep L1GlobalTriggerReadoutRecord_gtDigis_*_*',
0016         'keep *_TriggerResults_*_*',
0017         'keep DcsStatuss_scalersRawToDigi_*_*',
0018     'keep *_hiSelectedVertex_*_*')
0019 )
0020 
0021 # in Run3, SCAL digis replaced by onlineMetaDataDigis
0022 import copy
0023 _run3_common_removedCommands = OutALCARECOTkAlZMuMuHI_noDrop.outputCommands.copy()
0024 _run3_common_removedCommands.remove('keep DcsStatuss_scalersRawToDigi_*_*')
0025 
0026 _run3_common_extraCommands = ['keep DCSRecord_onlineMetaDataDigis_*_*']
0027 
0028 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0029 run3_common.toModify(OutALCARECOTkAlZMuMuHI_noDrop, outputCommands = _run3_common_removedCommands + _run3_common_extraCommands)
0030 
0031 # in Phase2, remove the SiStrip clusters and keep the OT ones instead
0032 _phase2_common_removedCommands = OutALCARECOTkAlZMuMuHI_noDrop.outputCommands.copy()
0033 _phase2_common_removedCommands.remove('keep SiStripClusteredmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*')
0034 
0035 _phase2_common_extraCommands = ['keep Phase2TrackerCluster1DedmNewDetSetVector_ALCARECOTkAlZMuMuHI_*_*']
0036 
0037 from Configuration.Eras.Modifier_phase2_common_cff import phase2_common
0038 phase2_common.toModify(OutALCARECOTkAlZMuMuHI_noDrop, outputCommands = _phase2_common_removedCommands + _phase2_common_extraCommands )
0039 
0040 OutALCARECOTkAlZMuMuHI = OutALCARECOTkAlZMuMuHI_noDrop.clone()
0041 OutALCARECOTkAlZMuMuHI.outputCommands.insert(0, "drop *")