CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 import RecoPixelVertexing.PixelTrackFitting.pixelTracks_cfi as _mod
7 
8 ##########################
9 # The base for all steps
10 allPixelTracks = _mod.pixelTracks.clone(
11  passLabel = '',
12  # Region
13  RegionFactoryPSet = cms.PSet(
14  ComponentName = cms.string('GlobalTrackingRegionWithVerticesProducer'),
15  RegionPSet = cms.PSet(
16  precise = cms.bool(True),
17  beamSpot = cms.InputTag("offlineBeamSpot"),
18  originRadius = cms.double(0.2),
19  sigmaZVertex = cms.double(3.0),
20  useFixedError = cms.bool(True),
21  fixedError = cms.double(0.2),
22 
23  useFoundVertices = cms.bool(False),
24  VertexCollection = cms.InputTag("pixel3Vertices"),
25  ptMin = cms.double(0.075),
26  nSigmaZ = cms.double(3.0)
27  )
28  ),
29  # Ordered hits
30  OrderedHitsFactoryPSet = cms.PSet(
31  ComponentName = cms.string('StandardHitTripletGenerator'),
32  SeedingLayers = cms.InputTag('PixelLayerTriplets'),
33  GeneratorPSet = cms.PSet(
34  ComponentName = cms.string('PixelTripletLowPtGenerator'),
35  checkClusterShape = cms.bool(False),
36  checkMultipleScattering = cms.bool(True),
37  nSigMultipleScattering = cms.double(5.0),
38  maxAngleRatio = cms.double(10.0),
39  rzTolerance = cms.double(0.2),
40  TTRHBuilder = cms.string('TTRHBuilderWithoutAngle4PixelTriplets'),
41  clusterShapeCacheSrc = cms.InputTag("siPixelClusterShapeCache")
42  )
43  ),
44 
45  # Filter
46  Filter = "clusterShapeTrackFilter",
47 
48  # Cleaner
49  CleanerPSet = cms.string("trackCleaner"),
50 
51  # Fitter
52  FitterPSet = cms.InputTag("allPixelTracksFitter"),
53 )
54 
55 allPixelTracksFitter = trackFitter.clone(
56  TTRHBuilder = 'TTRHBuilderWithoutAngle4PixelTriplets'
57 )
58 
59 allPixelTracksTask = cms.Task(
60  allPixelTracksFitter,
61  clusterShapeTrackFilter,
62  allPixelTracks
63 )
64 allPixelTracksSequence = cms.Sequence(allPixelTracksTask)