File indexing completed on 2024-04-06 11:58:29
0001 import FWCore.ParameterSet.Config as cms
0002
0003 import copy
0004 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
0005
0006 from CalibMuon.DTCalibration.DTCalibMuonSelection_cfi import *
0007
0008
0009 ALCARECODtCalibHLTFilter = copy.deepcopy(hltHighLevel)
0010
0011
0012 ALCARECODtCalibHLTFilter.throw = False
0013 ALCARECODtCalibHLTFilter.eventSetupPathsKey = 'DtCalib'
0014
0015 import RecoLocalMuon.DTSegment.dt4DSegments_CombPatternReco4D_LinearDriftFromDB_cfi as dt4DSegmentsCfiRef
0016 dt4DSegmentsNoWire = dt4DSegmentsCfiRef.dt4DSegments.clone()
0017 dt4DSegmentsNoWire.Reco4DAlgoConfig.recAlgoConfig.tTrigModeConfig.doWirePropCorrection = False
0018 dt4DSegmentsNoWire.Reco4DAlgoConfig.Reco2DAlgoConfig.recAlgoConfig.tTrigModeConfig.doWirePropCorrection = False
0019
0020
0021 from RecoMET.METFilters.metFilters_cff import primaryVertexFilter, noscraping
0022
0023 seqALCARECODtCalib = cms.Sequence(primaryVertexFilter * noscraping * ALCARECODtCalibHLTFilter * DTCalibMuonSelection * dt4DSegmentsNoWire)
0024
0025
0026 from Configuration.ProcessModifiers.pp_on_AA_cff import pp_on_AA
0027 pp_on_AA.toModify(ALCARECODtCalibHLTFilter,
0028 eventSetupPathsKey='DtCalibHI'
0029 )
0030
0031 seqALCARECODtCalibHI = cms.Sequence(ALCARECODtCalibHLTFilter * dt4DSegmentsNoWire)
0032
0033
0034 pp_on_AA.toReplaceWith(seqALCARECODtCalib,seqALCARECODtCalibHI)