CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/CalibMuon/DTCalibration/python/ALCARECODtCalib_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 ALCARECODtCalibHLTFilter = copy.deepcopy(hltHighLevel)
00010 #ALCARECODtCalibHLTFilter.andOr = True ## choose logical OR between Triggerbits
00011 #ALCARECODtCalibHLTFilter.HLTPaths = ['HLT_L1MuOpen*', 'HLT_L1Mu*']
00012 ALCARECODtCalibHLTFilter.throw = False ## dont throw on unknown path names
00013 ALCARECODtCalibHLTFilter.eventSetupPathsKey = 'MuAlcaDtCalibMu'
00014 
00015 import RecoLocalMuon.DTSegment.dt4DSegments_CombPatternReco4D_LinearDriftFromDB_cfi as dt4DSegmentsCfiRef
00016 dt4DSegmentsNoWire = dt4DSegmentsCfiRef.dt4DSegments.clone()
00017 dt4DSegmentsNoWire.Reco4DAlgoConfig.recAlgoConfig.tTrigModeConfig.doWirePropCorrection = False
00018 dt4DSegmentsNoWire.Reco4DAlgoConfig.Reco2DAlgoConfig.recAlgoConfig.tTrigModeConfig.doWirePropCorrection = False
00019 
00020 #this is to select collisions
00021 primaryVertexFilter = cms.EDFilter("VertexSelector",
00022    src = cms.InputTag("offlinePrimaryVertices"),
00023    cut = cms.string("!isFake && ndof > 4 && abs(z) <= 15 && position.Rho <= 2"), # tracksSize() > 3 for the older cut
00024    filter = cms.bool(True),   # otherwise it won't filter the events, just produce an empty vertex collection.
00025 )
00026 
00027 noscraping = cms.EDFilter("FilterOutScraping",
00028    applyfilter = cms.untracked.bool(True),
00029    debugOn = cms.untracked.bool(False),
00030    numtrack = cms.untracked.uint32(10),
00031    thresh = cms.untracked.double(0.25)
00032 )
00033 
00034 seqALCARECODtCalib = cms.Sequence(primaryVertexFilter * noscraping * ALCARECODtCalibHLTFilter * DTCalibMuonSelection * dt4DSegmentsNoWire)