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 # candidate producer
28 iterativeLowPtTripletTrackCandidatesWithTriplets = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
29 iterativeLowPtTripletTrackCandidates = cms.Sequence(iterativeLowPtTripletTrackCandidatesWithTriplets)
30 iterativeLowPtTripletTrackCandidatesWithTriplets.SeedProducer = cms.InputTag("iterativeLowPtTripletSeeds","LowPtPixelTriplets")
31 iterativeLowPtTripletTrackCandidatesWithTriplets.TrackProducers = ['initialStep']
32 iterativeLowPtTripletTrackCandidatesWithTriplets.KeepFittedTracks = False
33 iterativeLowPtTripletTrackCandidatesWithTriplets.MinNumberOfCrossedLayers = 3
34 
35 # track producer
37 iterativeLowPtTripletTracksWithTriplets = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
38 iterativeLowPtTripletTracks = cms.Sequence(iterativeLowPtTripletTracksWithTriplets)
39 iterativeLowPtTripletTracksWithTriplets.src = 'iterativeLowPtTripletTrackCandidatesWithTriplets'
40 iterativeLowPtTripletTracksWithTriplets.TTRHBuilder = 'WithoutRefit'
41 iterativeLowPtTripletTracksWithTriplets.Fitter = 'KFFittingSmootherSecond'
42 iterativeLowPtTripletTracksWithTriplets.Propagator = 'PropagatorWithMaterial'
43 
44 # track merger
45 lowPtTripletStepTracks = cms.EDProducer("FastTrackMerger",
46  TrackProducers = cms.VInputTag(cms.InputTag("iterativeLowPtTripletTrackCandidatesWithTriplets"),
47  cms.InputTag("iterativeLowPtTripletTracksWithTriplets")),
48  RemoveTrackProducers = cms.untracked.VInputTag(cms.InputTag("initialStep")),
49  trackAlgo = cms.untracked.uint32(5), # iter1
50  MinNumberOfTrajHits = cms.untracked.uint32(3),
51  MaxLostTrajHits = cms.untracked.uint32(1)
52  )
53 
54 # Final selection
55 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
56 lowPtTripletStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
57  src='lowPtTripletStepTracks',
58  trackSelectors= cms.VPSet(
59  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
60  name = 'lowPtTripletStepLoose',
61  ), #end of pset
62  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
63  name = 'lowPtTripletStepTight',
64  preFilterName = 'lowPtTripletStepLoose',
65  ),
66  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
67  name = 'lowPtTripletStep',
68  preFilterName = 'lowPtTripletStepTight',
69  ),
70  ) #end of vpset
71  ) #end of clone
72 
73 
74 iterativeLowPtTripletStep = cms.Sequence(iterativeLowPtTripletSeeds+
75  iterativeLowPtTripletTrackCandidatesWithTriplets+
76  iterativeLowPtTripletTracks+
77  lowPtTripletStepTracks+
78  lowPtTripletStepSelector)
79