CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CalibMuon/DTCalibration/python/ALCARECODtCalibHI_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 import copy
00004 from HLTrigger.HLTfilters.hltHighLevel_cfi import *
00005 
00006 from CalibMuon.DTCalibration.DTCalibMuonSelection_cfi import *
00007 
00008 # AlCaReco for DT calibration
00009 ALCARECODtCalibHIHLTFilter = copy.deepcopy(hltHighLevel)
00010 #ALCARECODtCalibHIHLTFilter.andOr = True ## choose logical OR between Triggerbits
00011 #ALCARECODtCalibHIHLTFilter.HLTPaths = ['HLT_HIL1SingleMu3']
00012 #ALCARECODtCalibHIHLTFilter.HLTPaths = ['HLT_.*']
00013 ALCARECODtCalibHIHLTFilter.throw = False ## dont throw on unknown path names
00014 ALCARECODtCalibHIHLTFilter.eventSetupPathsKey = 'MuAlcaDtCalibHI'
00015 
00016 import RecoLocalMuon.DTSegment.dt4DSegments_CombPatternReco4D_LinearDriftFromDB_cfi as dt4DSegmentsCfiRef
00017 dt4DSegmentsNoWire = dt4DSegmentsCfiRef.dt4DSegments.clone()
00018 dt4DSegmentsNoWire.Reco4DAlgoConfig.recAlgoConfig.tTrigModeConfig.doWirePropCorrection = False
00019 dt4DSegmentsNoWire.Reco4DAlgoConfig.Reco2DAlgoConfig.recAlgoConfig.tTrigModeConfig.doWirePropCorrection = False
00020 
00021 #this is to select collisions
00022 primaryVertexFilter = cms.EDFilter("VertexSelector",
00023    src = cms.InputTag("hiSelectedVertex"),
00024    cut = cms.string("!isFake && ndof > 4 && abs(z) <= 15 && position.Rho <= 2"),
00025    filter = cms.bool(True),
00026 )
00027 
00028 noscraping = cms.EDFilter("FilterOutScraping",
00029    applyfilter = cms.untracked.bool(True),
00030    debugOn = cms.untracked.bool(False),
00031    numtrack = cms.untracked.uint32(10),
00032    thresh = cms.untracked.double(0.25)
00033 )
00034 
00035 #seqALCARECODtCalibHI = cms.Sequence(ALCARECODtCalibHIHLTFilter * primaryVertexFilter * DTCalibMuonSelection * dt4DSegmentsNoWire) 
00036 
00037 seqALCARECODtCalibHI = cms.Sequence(ALCARECODtCalibHIHLTFilter * dt4DSegmentsNoWire)