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 = cms.double(1.5),
7  originRadius = cms.double(0.2),
8  nSigmaZ = cms.double(3.0),
9  beamSpot = cms.InputTag("offlineBeamSpot"),
10  precise = cms.bool(True),
11  useMultipleScattering = cms.bool(False),
12  useFakeVertices = cms.bool(False),
13  useFoundVertices = cms.bool(True),
14  VertexCollection = cms.InputTag("hiSelectedVertex"),
15  useFixedError = cms.bool(True),
16  fixedError = cms.double(0.2),
17  sigmaZVertex = cms.double(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("hiSelectedVertex"),
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
59 HiTrackingRegionFactoryFromJetsBlock.RegionPSet.JetSrc = cms.InputTag("iterativeConePu5CaloJets")
60 HiTrackingRegionFactoryFromJetsBlock.RegionPSet.vertexSrc = cms.InputTag("hiSelectedVertex")
61 
62 # limited stand-alone muon-seeded tracking region
63 from RecoMuon.TrackingTools.MuonServiceProxy_cff import MuonServiceProxy
64 from RecoMuon.GlobalTrackingTools.MuonTrackingRegionCommon_cff import MuonTrackingRegionCommon
65 from RecoHI.HiMuonAlgos.HiTrackingRegionEDProducer_cfi import HiTrackingRegionEDProducer as _HiTrackingRegionEDProducer
66 HiTrackingRegionFactoryFromSTAMuonsEDProducer = _HiTrackingRegionEDProducer.clone(
67  MuonSrc = "standAloneMuons:UpdatedAtVtx",
68  MuonTrackingRegionBuilder = MuonTrackingRegionCommon.MuonTrackingRegionBuilder.clone(
69  vertexCollection = "hiSelectedVertex",
70  UseVertex = True,
71  Rescale_Dz = 5.0,
72  ),
73  ServiceParameters = MuonServiceProxy.ServiceParameters,
74 )