Back to home page

Project CMSSW displayed by LXR

 
 

    


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 # AlCaReco for DT calibration
0009 ALCARECODtCalibHLTFilter = copy.deepcopy(hltHighLevel)
0010 #ALCARECODtCalibHLTFilter.andOr = True ## choose logical OR between Triggerbits
0011 #ALCARECODtCalibHLTFilter.HLTPaths = ['HLT_L1MuOpen*', 'HLT_L1Mu*']
0012 ALCARECODtCalibHLTFilter.throw = False ## dont throw on unknown path names
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 #this is to select collisions
0021 from RecoMET.METFilters.metFilters_cff import primaryVertexFilter, noscraping
0022 
0023 seqALCARECODtCalib = cms.Sequence(primaryVertexFilter * noscraping * ALCARECODtCalibHLTFilter * DTCalibMuonSelection * dt4DSegmentsNoWire) 
0024 
0025 ## customizations for the pp_on_AA eras
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 #Specify to use HI sequence for the pp_on_AA eras
0034 pp_on_AA.toReplaceWith(seqALCARECODtCalib,seqALCARECODtCalibHI)