CMS 3D CMS Logo

HITrackingRegionProducer_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # global tracking region for primary pixel tracks
4 from RecoTracker.TkTrackingRegions.globalTrackingRegionWithVertices_cfi import globalTrackingRegionWithVertices as _globalTrackingRegionWithVertices
5 hiTrackingRegionWithVertex = _globalTrackingRegionWithVertices.clone(RegionPSet = dict(
6  ptMin = 1.5,
7  originRadius = 0.2,
8  nSigmaZ = 3.0,
9  beamSpot = "offlineBeamSpot",
10  precise = True,
11  useMultipleScattering = False,
12  useFakeVertices = False,
13  useFoundVertices = True,
14  VertexCollection = "hiSelectedPixelVertex",
15  useFixedError = True,
16  fixedError = 0.2,
17  sigmaZVertex = 3.0
18 ))
19 
20 # global tracking region for low-pt pixel tracks
21 HiLowPtTrackingRegionWithVertexBlock = cms.PSet(
22  ptMin = cms.double(0.25),
23  originRadius = cms.double(0.2),
24  nSigmaZ = cms.double(3.0),
25  beamSpot = cms.InputTag("offlineBeamSpot"),
26  precise = cms.bool(True),
27  useMultipleScattering = cms.bool(False),
28  useFakeVertices = cms.bool(False),
29  useFoundVertices = cms.bool(True),
30  VertexCollection = cms.InputTag("hiSelectedPixelVertex"),
31  useFixedError = cms.bool(True),
32  fixedError = cms.double(0.2),
33  sigmaZVertex = cms.double(3.0)
34  )
35 
36 # limited tracking region for pixel proto-tracks passed to vertexing
37 HiTrackingRegionForPrimaryVertexBlock = cms.PSet(
38  ptMin = cms.double( 0.7 ),
39  doVariablePtMin = cms.bool ( True ),
40  originRadius = cms.double( 0.1 ),
41  nSigmaZ = cms.double(3.0),
42  beamSpot = cms.InputTag("offlineBeamSpot"),
43  precise = cms.bool( True ),
44  useMultipleScattering = cms.bool(False),
45  useFakeVertices = cms.bool(False),
46  siPixelRecHits = cms.InputTag( "siPixelRecHits" ),
47  directionXCoord = cms.double( 1.0 ),
48  directionYCoord = cms.double( 1.0 ),
49  directionZCoord = cms.double( 0.0 )
50  )
51 
52 # limited tracking region for pixel proto-tracks (using cluster vtx input)
53 from RecoHI.HiTracking.hiTrackingRegionFromClusterVtx_cfi import hiTrackingRegionFromClusterVtx
54 
55 
56 # limited jet-seeded tracking region
57 from RecoTauTag.HLTProducers.TauRegionalPixelSeedGenerator_cfi import tauRegionalPixelSeedGenerator
58 HiTrackingRegionFactoryFromJetsBlock = tauRegionalPixelSeedGenerator.RegionFactoryPSet.clone(
59  RegionPSet = dict(
60  JetSrc = "iterativeConePu5CaloJets",
61  vertexSrc = "hiSelectedPixelVertex")
62 )
63 # limited stand-alone muon-seeded tracking region
64 from RecoMuon.TrackingTools.MuonServiceProxy_cff import MuonServiceProxy
65 from RecoMuon.GlobalTrackingTools.MuonTrackingRegionCommon_cff import MuonTrackingRegionCommon
66 from RecoHI.HiMuonAlgos.HiTrackingRegionEDProducer_cfi import HiTrackingRegionEDProducer as _HiTrackingRegionEDProducer
67 HiTrackingRegionFactoryFromSTAMuonsEDProducer = _HiTrackingRegionEDProducer.clone(
68  MuonSrc = "standAloneMuons:UpdatedAtVtx",
69  MuonTrackingRegionBuilder = MuonTrackingRegionCommon.MuonTrackingRegionBuilder.clone(
70  vertexCollection = "hiSelectedPixelVertex",
71  UseVertex = True,
72  Rescale_Dz = 5.0,
73  ),
74  ServiceParameters = MuonServiceProxy.ServiceParameters,
75 )