CMS 3D CMS Logo

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