CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IterativeDetachedTripletStep_cff.py
Go to the documentation of this file.
2 
3 ### ITERATIVE TRACKING: STEP 3 ###
4 
5 # seeding
6 import FastSimulation.Tracking.TrajectorySeedProducer_cfi
7 iterativeDetachedTripletSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
8 iterativeDetachedTripletSeeds.skipSimTrackIdTags = [cms.InputTag("initialStepSimTrackIds")]
9 iterativeDetachedTripletSeeds.outputSeedCollectionName = 'DetachedPixelTriplets'
10 iterativeDetachedTripletSeeds.minRecHits = 3
11 iterativeDetachedTripletSeeds.pTMin = 0.3
12 iterativeDetachedTripletSeeds.maxD0 = 30. # it was 5.
13 iterativeDetachedTripletSeeds.maxZ0 = 50.
14 iterativeDetachedTripletSeeds.numberOfHits = 3
15 iterativeDetachedTripletSeeds.originRadius = 1.5
16 iterativeDetachedTripletSeeds.originHalfLength = 15.
17 iterativeDetachedTripletSeeds.originpTMin = 0.075
18 iterativeDetachedTripletSeeds.zVertexConstraint = -1.0
19 iterativeDetachedTripletSeeds.primaryVertex = 'none'
20 
21 #iterativeDetachedTripletSeeds.layerList = ['BPix1+BPix2+BPix3',
22 # 'BPix1+BPix2+FPix1_pos',
23 # 'BPix1+BPix2+FPix1_neg',
24 # 'BPix1+FPix1_pos+FPix2_pos',
25 # 'BPix1+FPix1_neg+FPix2_neg']
26 from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import PixelLayerTriplets
27 iterativeDetachedTripletSeeds.layerList = PixelLayerTriplets.layerList
28 
29 # candidate producer
30 #from FastSimulation.Tracking.IterativeSecondCandidateProducer_cff import *
32 detachedTripletStepTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
33  SeedProducer = cms.InputTag("iterativeDetachedTripletSeeds",'DetachedPixelTriplets'),
34  MinNumberOfCrossedLayers = 3)
35 
36 # track producer
37 from RecoTracker.IterativeTracking.DetachedTripletStep_cff import detachedTripletStepTracks
38 detachedTripletStepTracks = detachedTripletStepTracks.clone(
39  Fitter = 'KFFittingSmootherSecond',
40  Propagator = 'PropagatorWithMaterial',
41  TTRHBuilder = 'WithoutRefit'
42 )
43 
44 # simtrack id producer
45 detachedTripletStepSimTrackIds = cms.EDProducer("SimTrackIdProducer",
46  trackCollection = cms.InputTag("detachedTripletStepTracks"),
47  HitProducer = cms.InputTag("siTrackerGaussianSmearingRecHits","TrackerGSMatchedRecHits")
48  )
49 
50 
51 # TRACK SELECTION AND QUALITY FLAG SETTING.
52 from RecoTracker.IterativeTracking.DetachedTripletStep_cff import detachedTripletStepSelector,detachedTripletStep
53 
54 # sequence
55 DetachedTripletStep = cms.Sequence(iterativeDetachedTripletSeeds+
56  detachedTripletStepTrackCandidates+
57  detachedTripletStepTracks+
58  detachedTripletStepSimTrackIds+
59  detachedTripletStepSelector+
60  detachedTripletStep)