CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GlobalPixelTracking_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 ###################
4 # pixel tracks
5 # TOTO: where is this used, what fullsim products does it represent, is the cfg proper
6 ###################
7 
8 ## seeds
10 
11 ## track candidates
13 globalPixelTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
14  src = cms.InputTag("globalPixelSeeds")
15  )
16 
17 ## tracks
19 globalPixelWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone(
20  src = 'globalPixelTrackCandidates',
21  TTRHBuilder = 'WithoutRefit',
22  Fitter = 'KFFittingSmootherWithOutlierRejection',
23  Propagator = 'PropagatorWithMaterial',
24  TrajectoryInEvent = cms.bool(True),
25  )
26 
27 ###################
28 # pixel track candidates for electrons
29 # TOTO: where is this used, what fullsim products does it represent, is the cfg proper
30 ###################
31 
32 # masks
33 # introduction of this mask is based on review of GlobalPixelTracking_cff in CMSSW_7_2_2
34 # it doesn't necessarily make sense...
35 import FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi
36 globalPixelMasksForElectrons = FastSimulation.Tracking.FastTrackerRecHitMaskProducer_cfi.fastTrackerRecHitMaskProducer.clone(
37  trajectories = cms.InputTag("globalPixelWithMaterialTracks")
38  )
39 
40 # seeds
41 from FastSimulation.Tracking.GlobalPixelSeedProducerForElectrons_cff import globalPixelSeedsForElectrons
42 globalPixelSeedsForElectrons.hitMasks = cms.InputTag("globalPixelMasksForElectrons")
43 
44 # track candidates
45 # TODO: need masks?
46 globalPixelTrackCandidatesForElectrons = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
47  src = cms.InputTag("globalPixelSeedsForElectrons"),
48  hitMasks = cms.InputTag("globalPixelMasksForElectrons")
49  )
50 
51 # tracks
52 globalPixelWithMaterialTracksForElectrons = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone(
53  src = 'globalPixelTrackCandidatesForElectrons',
54  TTRHBuilder = 'WithoutRefit',
55  Fitter = 'KFFittingSmootherWithOutlierRejection',
56  Propagator = 'PropagatorWithMaterial',
57  TrajectoryInEvent = cms.bool(True)
58  )
59 
60 ###################
61 # pixel track candidates for photons
62 ###################
63 
64 # seed
65 from FastSimulation.Tracking.GlobalPixelSeedProducerForElectrons_cff import globalPixelSeedsForPhotons
66 globalPixelSeedsForPhotons.hitMasks = cms.InputTag("globalPixelMasksForElectrons")
67 
68 # track candidate
69 globalPixelTrackCandidatesForPhotons = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone(
70  src = cms.InputTag("globalPixelSeedsForPhotons"),
71  hitMasks = cms.InputTag("globalPixelMasksForElectrons")
72  )
73 
74 # tracks
75 globalPixelWithMaterialTracksForPhotons = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone(
76  src = 'globalPixelTrackCandidatesForPhotons',
77  TTRHBuilder = 'WithoutRefit',
78  Fitter = 'KFFittingSmootherWithOutlierRejection',
79  Propagator = 'PropagatorWithMaterial',
80  TrajectoryInEvent = cms.bool(True)
81 )
82 
83 ####################
84 
85 # The sequences
86 globalPixelTracking = cms.Sequence(globalPixelSeeds*
87  globalPixelTrackCandidates*
88  globalPixelWithMaterialTracks*
89  globalPixelMasksForElectrons*
90  globalPixelSeedsForElectrons*
91  globalPixelTrackCandidatesForElectrons*
92  globalPixelWithMaterialTracksForElectrons*
93  globalPixelSeedsForPhotons*
94  globalPixelTrackCandidatesForPhotons*
95  globalPixelWithMaterialTracksForPhotons)