CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
LowPtTripletStep_cff.py
Go to the documentation of this file.
1 
2 import FWCore.ParameterSet.Config as cms
3 
4 # import the full tracking equivalent of this file
6 
7 # fast tracking mask producer
8 import FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi
9 lowPtTripletStepMasks = FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi.maskProducerFromClusterRemover(RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepClusters)
10 
11 # trajectory seeds
12 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
13 lowPtTripletStepSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone(
14  minLayersCrossed = 3,
15  layerList = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSeedLayers.layerList.value(),
16  RegionFactoryPSet = RecoTracker.IterativeTracking.InitialStep_cff.initialStepSeeds.RegionFactoryPSet,
17  hitMasks = cms.InputTag("lowPtTripletStepMasks"),
18 )
19 
20 # track candidates
22 lowPtTripletStepTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
23  src = cms.InputTag("lowPtTripletStepSeeds"),
24  MinNumberOfCrossedLayers = 3,
25  hitMasks = cms.InputTag("lowPtTripletStepMasks"),
26 )
27 
28 # tracks
29 lowPtTripletStepTracks = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStepTracks.clone(
30  Fitter = 'KFFittingSmootherSecond',
31  TTRHBuilder = 'WithoutRefit',
32  Propagator = 'PropagatorWithMaterial'
33 )
34 
35 # final selection
36 lowPtTripletStep = RecoTracker.IterativeTracking.LowPtTripletStep_cff.lowPtTripletStep.clone()
37 lowPtTripletStep.vertices = "firstStepPrimaryVerticesBeforeMixing"
38 
39 # Final swquence
40 LowPtTripletStep = cms.Sequence(lowPtTripletStepMasks
41  +lowPtTripletStepSeeds
42  +lowPtTripletStepTrackCandidates
43  +lowPtTripletStepTracks
44  +lowPtTripletStep
45  )