CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IterativePixelPairStep_cff.py
Go to the documentation of this file.
2 
3 # step 1
4 
5 # seeding
7 iterativePixelPairSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
8 iterativePixelPairSeeds.firstHitSubDetectorNumber = [2]
9 iterativePixelPairSeeds.firstHitSubDetectors = [1, 2]
10 iterativePixelPairSeeds.secondHitSubDetectorNumber = [2]
11 iterativePixelPairSeeds.secondHitSubDetectors = [1, 2]
12 iterativePixelPairSeeds.thirdHitSubDetectorNumber = [2]
13 iterativePixelPairSeeds.thirdHitSubDetectors = [1, 2]
14 iterativePixelPairSeeds.seedingAlgo = ['PixelPair']
15 iterativePixelPairSeeds.minRecHits = [3]
16 iterativePixelPairSeeds.pTMin = [0.3]
17 iterativePixelPairSeeds.maxD0 = [5.]
18 iterativePixelPairSeeds.maxZ0 = [50.]
19 iterativePixelPairSeeds.numberOfHits = [2]
20 iterativePixelPairSeeds.originRadius = [0.2]
21 iterativePixelPairSeeds.originHalfLength = [17.5]
22 iterativePixelPairSeeds.originpTMin = [0.6]
23 iterativePixelPairSeeds.zVertexConstraint = [-1.0]
24 iterativePixelPairSeeds.primaryVertices = ['pixelVertices']
25 
26 # candidate producer
28 iterativePixelPairCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
29 iterativePixelPairCandidates.SeedProducer = cms.InputTag("iterativePixelPairSeeds","PixelPair")
30 iterativePixelPairCandidates.TrackProducers = ['lowPtTripletStepTracks']
31 iterativePixelPairCandidates.KeepFittedTracks = False
32 iterativePixelPairCandidates.MinNumberOfCrossedLayers = 2 # ?
33 
34 # track producer
36 iterativePixelPairTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
37 iterativePixelPairTracks.src = 'iterativePixelPairCandidates'
38 iterativePixelPairTracks.TTRHBuilder = 'WithoutRefit'
39 iterativePixelPairTracks.Fitter = 'KFFittingSmootherSecond'
40 iterativePixelPairTracks.Propagator = 'PropagatorWithMaterial'
41 
42 # track merger
43 pixelPairStepTracks = cms.EDProducer("FastTrackMerger",
44  TrackProducers = cms.VInputTag(cms.InputTag("iterativePixelPairCandidates"),
45  cms.InputTag("iterativePixelPairTracks")),
46  RemoveTrackProducers = cms.untracked.VInputTag(cms.InputTag("initialStepTracks"),
47  cms.InputTag("lowPtTripletStepTracks")),
48  trackAlgo = cms.untracked.uint32(6), # iter2
49  MinNumberOfTrajHits = cms.untracked.uint32(3),
50  MaxLostTrajHits = cms.untracked.uint32(1)
51  )
52 
53 # Final selection
54 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
55 pixelPairStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
56  src='pixelPairStepTracks',
57  trackSelectors= cms.VPSet(
58  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
59  name = 'pixelPairStepLoose',
60  ), #end of pset
61  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
62  name = 'pixelPairStepTight',
63  preFilterName = 'pixelPairStepLoose',
64  ),
65  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
66  name = 'pixelPairStep',
67  preFilterName = 'pixelPairStepTight',
68  ),
69  ) #end of vpset
70  ) #end of clone
71 
72 # sequence
73 iterativePixelPairStep = cms.Sequence(iterativePixelPairSeeds+
74  iterativePixelPairCandidates+
75  iterativePixelPairTracks+
76  pixelPairStepTracks+
77  pixelPairStepSelector)
78 
79