CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
IterativeInitialStep_cff.py
Go to the documentation of this file.
2 
3 ### STEP 0 ###
4 
5 # seeding
7 iterativeInitialSeeds = FastSimulation.Tracking.TrajectorySeedProducer_cfi.trajectorySeedProducer.clone()
8 iterativeInitialSeeds.firstHitSubDetectorNumber = [1]
9 iterativeInitialSeeds.firstHitSubDetectors = [1]
10 iterativeInitialSeeds.secondHitSubDetectorNumber = [2]
11 iterativeInitialSeeds.secondHitSubDetectors = [1, 2]
12 iterativeInitialSeeds.thirdHitSubDetectorNumber = [2]
13 iterativeInitialSeeds.thirdHitSubDetectors = [1, 2]
14 iterativeInitialSeeds.seedingAlgo = ['InitialPixelTriplets']
15 iterativeInitialSeeds.minRecHits = [3]
16 iterativeInitialSeeds.pTMin = [0.3]
17 iterativeInitialSeeds.maxD0 = [1.]
18 iterativeInitialSeeds.maxZ0 = [30.]
19 iterativeInitialSeeds.numberOfHits = [3]
20 iterativeInitialSeeds.originRadius = [1.0] # note: standard tracking uses 0.03, but this value gives a much better agreement in rate and shape for iter0
21 iterativeInitialSeeds.originHalfLength = [15.9]
22 iterativeInitialSeeds.originpTMin = [0.6]
23 iterativeInitialSeeds.zVertexConstraint = [-1.0]
24 iterativeInitialSeeds.primaryVertices = ['none']
25 
26 # candidate producer
28 iterativeInitialTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
29 iterativeInitialTrackCandidates.SeedProducer = cms.InputTag("iterativeInitialSeeds","InitialPixelTriplets")
30 iterativeInitialTrackCandidates.TrackProducers = ['globalPixelWithMaterialTracks']
31 iterativeInitialTrackCandidates.MinNumberOfCrossedLayers = 3
32 
33 # track producer
35 iterativeInitialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
36 iterativeInitialTracks.src = 'iterativeInitialTrackCandidates'
37 iterativeInitialTracks.TTRHBuilder = 'WithoutRefit'
38 iterativeInitialTracks.Fitter = 'KFFittingSmootherWithOutlierRejection'
39 iterativeInitialTracks.Propagator = 'PropagatorWithMaterial'
40 
41 # track merger
42 initialStepTracks = cms.EDProducer("FastTrackMerger",
43  TrackProducers = cms.VInputTag(cms.InputTag("iterativeInitialTrackCandidates"),
44  cms.InputTag("iterativeInitialTracks")),
45  trackAlgo = cms.untracked.uint32(4) # iter0
46  )
47 
48 # Final selection
49 import RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi
50 initialStepSelector = RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.multiTrackSelector.clone(
51  src='initialStepTracks',
52  trackSelectors= cms.VPSet(
53  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.looseMTS.clone(
54  name = 'initialStepLoose',
55  ), #end of pset
56  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.tightMTS.clone(
57  name = 'initialStepTight',
58  preFilterName = 'initialStepLoose',
59  ),
60  RecoTracker.FinalTrackSelectors.multiTrackSelector_cfi.highpurityMTS.clone(
61  name = 'initialStep',
62  preFilterName = 'initialStepTight',
63  ),
64  ) #end of vpset
65  ) #end of clone
66 
67 
68 # Final sequence
69 iterativeInitialStep = cms.Sequence(iterativeInitialSeeds
70  +iterativeInitialTrackCandidates
71  +iterativeInitialTracks
72  +initialStepTracks
73  +initialStepSelector)
74 
75