CMS 3D CMS Logo

AllPixelTracks_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 from RecoPixelVertexing.PixelLowPtUtilities.clusterShapeTrackFilter_cfi import clusterShapeTrackFilter
4 from RecoPixelVertexing.PixelLowPtUtilities.trackFitter_cfi import trackFitter
6 
7 ##########################
8 # The base for all steps
9 allPixelTracks = cms.EDProducer("PixelTrackProducer",
10 
11  passLabel = cms.string(''),
12 
13  # Region
14  RegionFactoryPSet = cms.PSet(
15  ComponentName = cms.string('GlobalTrackingRegionWithVerticesProducer'),
16  RegionPSet = cms.PSet(
17  precise = cms.bool(True),
18  beamSpot = cms.InputTag("offlineBeamSpot"),
19  originRadius = cms.double(0.2),
20  sigmaZVertex = cms.double(3.0),
21  useFixedError = cms.bool(True),
22  fixedError = cms.double(0.2),
23 
24  useFoundVertices = cms.bool(False),
25  VertexCollection = cms.InputTag("pixel3Vertices"),
26  ptMin = cms.double(0.075),
27  nSigmaZ = cms.double(3.0)
28  )
29  ),
30 
31  # Ordered hits
32  OrderedHitsFactoryPSet = cms.PSet(
33  ComponentName = cms.string('StandardHitTripletGenerator'),
34  SeedingLayers = cms.InputTag('PixelLayerTriplets'),
35  GeneratorPSet = cms.PSet(
36  ComponentName = cms.string('PixelTripletLowPtGenerator'),
37  checkClusterShape = cms.bool(False),
38  checkMultipleScattering = cms.bool(True),
39  nSigMultipleScattering = cms.double(5.0),
40  maxAngleRatio = cms.double(10.0),
41  rzTolerance = cms.double(0.2),
42  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
43  clusterShapeCacheSrc = cms.InputTag("siPixelClusterShapeCache")
44  )
45  ),
46 
47  # Filter
48  Filter = cms.InputTag("clusterShapeTrackFilter"),
49 
50  # Cleaner
51  CleanerPSet = cms.string("trackCleaner"),
52 
53  # Fitter
54  FitterPSet = cms.InputTag("allPixelTracksFitter"),
55 )
56 
57 allPixelTracksFitter = trackFitter.clone(
58  TTRHBuilder = 'TTRHBuilderWithoutAngle4PixelTriplets'
59 )
60 
61 allPixelTracksSequence = cms.Sequence(
62  allPixelTracksFitter +
63  clusterShapeTrackFilter +
64  allPixelTracks
65 )