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
7 iterativeLowPtTripletSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
8 iterativeLowPtTripletSeeds.firstHitSubDetectorNumber = [1]
9 iterativeLowPtTripletSeeds.firstHitSubDetectors = [1]
10 iterativeLowPtTripletSeeds.secondHitSubDetectorNumber = [2]
11 iterativeLowPtTripletSeeds.secondHitSubDetectors = [1, 2]
12 iterativeLowPtTripletSeeds.thirdHitSubDetectorNumber = [2]
13 iterativeLowPtTripletSeeds.thirdHitSubDetectors = [1, 2]
14 iterativeLowPtTripletSeeds.seedingAlgo = ['LowPtPixelTriplets']
15 iterativeLowPtTripletSeeds.minRecHits = [3]
16 iterativeLowPtTripletSeeds.pTMin = [0.25]
17 iterativeLowPtTripletSeeds.maxD0 = [5.]
18 iterativeLowPtTripletSeeds.maxZ0 = [50.]
19 iterativeLowPtTripletSeeds.numberOfHits = [3]
20 iterativeLowPtTripletSeeds.originRadius = [0.03]
21 iterativeLowPtTripletSeeds.originHalfLength = [17.5] # ?
22 iterativeLowPtTripletSeeds.originpTMin = [0.35]
23 iterativeLowPtTripletSeeds.zVertexConstraint = [-1.0]
24 iterativeLowPtTripletSeeds.primaryVertices = ['none']
25 
26 iterativeLowPtTripletSeeds.newSyntax = True
27 #iterativeLowPtTripletSeeds.layerList = ['BPix1+BPix2+BPix3',
28 # 'BPix1+BPix2+FPix1_pos',
29 # 'BPix1+BPix2+FPix1_neg',
30 # 'BPix1+FPix1_pos+FPix2_pos',
31 # 'BPix1+FPix1_neg+FPix2_neg']
32 from RecoTracker.TkSeedingLayers.PixelLayerTriplets_cfi import PixelLayerTriplets
33 iterativeLowPtTripletSeeds.layerList = PixelLayerTriplets.layerList
34 
35 # candidate producer
37 iterativeLowPtTripletTrackCandidatesWithTriplets = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
38 iterativeLowPtTripletTrackCandidates = cms.Sequence(iterativeLowPtTripletTrackCandidatesWithTriplets)
39 iterativeLowPtTripletTrackCandidatesWithTriplets.SeedProducer = cms.InputTag("iterativeLowPtTripletSeeds","LowPtPixelTriplets")
40 iterativeLowPtTripletTrackCandidatesWithTriplets.TrackProducers = ['initialStep']
41 iterativeLowPtTripletTrackCandidatesWithTriplets.KeepFittedTracks = False
42 iterativeLowPtTripletTrackCandidatesWithTriplets.MinNumberOfCrossedLayers = 3
43 
44 # track producer
46 iterativeLowPtTripletTracksWithTriplets = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
47 iterativeLowPtTripletTracks = cms.Sequence(iterativeLowPtTripletTracksWithTriplets)
48 iterativeLowPtTripletTracksWithTriplets.src = 'iterativeLowPtTripletTrackCandidatesWithTriplets'
49 iterativeLowPtTripletTracksWithTriplets.TTRHBuilder = 'WithoutRefit'
50 iterativeLowPtTripletTracksWithTriplets.Fitter = 'KFFittingSmootherSecond'
51 iterativeLowPtTripletTracksWithTriplets.Propagator = 'PropagatorWithMaterial'
52 
53 # track merger
54 lowPtTripletStepTracks = cms.EDProducer("FastTrackMerger",
55  TrackProducers = cms.VInputTag(cms.InputTag("iterativeLowPtTripletTrackCandidatesWithTriplets"),
56  cms.InputTag("iterativeLowPtTripletTracksWithTriplets")),
57  RemoveTrackProducers = cms.untracked.VInputTag(cms.InputTag("initialStep")),
58  trackAlgo = cms.untracked.uint32(5), # lowPtTripletStep
59  MinNumberOfTrajHits = cms.untracked.uint32(3),
60  MaxLostTrajHits = cms.untracked.uint32(1)
61  )
62 
63 # Final selection
64 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
65 lowPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
66  src='lowPtTripletStepTracks',
67  trackSelectors= cms.VPSet(
68  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
69  name = 'lowPtTripletStepLoose',
70  ), #end of pset
71  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
72  name = 'lowPtTripletStepTight',
73  preFilterName = 'lowPtTripletStepLoose',
74  ),
75  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
76  name = 'lowPtTripletStep',
77  preFilterName = 'lowPtTripletStepTight',
78  ),
79  ) #end of vpset
80  ) #end of clone
81 
82 
83 iterativeLowPtTripletStep = cms.Sequence(iterativeLowPtTripletSeeds+
84  iterativeLowPtTripletTrackCandidatesWithTriplets+
85  iterativeLowPtTripletTracks+
86  lowPtTripletStepTracks+
87  lowPtTripletStepSelector)
88