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.
2 
3 # Global Pixel seeding
6 
7 # TrackCandidates
9 # reco::Tracks (possibly with invalid hits)
11 
12 ###################
13 globalPixelTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
14 globalPixelTrackCandidates.SeedProducer = cms.InputTag("globalPixelSeeds","GlobalPixel")
15 
16 globalPixelWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
17 globalPixelWithMaterialTracks.src = 'globalPixelTrackCandidates'
18 globalPixelWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
19 globalPixelWithMaterialTracks.Fitter = 'KFFittingSmootherWithOutlierRejection'
20 globalPixelWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
21 globalPixelWithMaterialTracks.TrajectoryInEvent = cms.bool(True)
22 
23 # simtrack id producer
24 globalPixelStepIds = cms.EDProducer("SimTrackIdProducer",
25  trackCollection = cms.InputTag("globalPixelWithMaterialTracks"),
26  )
27 
28 ###################
29 
30 
31 globalPixelTrackCandidatesForElectrons = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
32 globalPixelTrackCandidatesForElectrons.SeedProducer = cms.InputTag("globalPixelSeedsForElectrons","GlobalPixel")
33 #globalPixelTrackCandidatesForElectrons.TrackProducers = cms.vstring(['globalPixelWithMaterialTracks'])
34 
35 globalPixelWithMaterialTracksForElectrons = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
36 globalPixelWithMaterialTracksForElectrons.src = 'globalPixelTrackCandidatesForElectrons'
37 globalPixelWithMaterialTracksForElectrons.TTRHBuilder = 'WithoutRefit'
38 globalPixelWithMaterialTracksForElectrons.Fitter = 'KFFittingSmootherWithOutlierRejection'
39 globalPixelWithMaterialTracksForElectrons.Propagator = 'PropagatorWithMaterial'
40 globalPixelWithMaterialTracksForElectrons.TrajectoryInEvent = cms.bool(True)
41 
42 ####################
43 
44 globalPixelTrackCandidatesForPhotons = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
45 globalPixelTrackCandidatesForPhotons.SeedProducer = cms.InputTag("globalPixelSeedsForPhotons","GlobalPixel")
46 #globalPixelTrackCandidatesForPhotons.TrackProducers = cms.vstring(['globalPixelWithMaterialTracks'])
47 
48 globalPixelWithMaterialTracksForPhotons = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
49 globalPixelWithMaterialTracksForPhotons.src = 'globalPixelTrackCandidatesForPhotons'
50 globalPixelWithMaterialTracksForPhotons.TTRHBuilder = 'WithoutRefit'
51 globalPixelWithMaterialTracksForPhotons.Fitter = 'KFFittingSmootherWithOutlierRejection'
52 globalPixelWithMaterialTracksForPhotons.Propagator = 'PropagatorWithMaterial'
53 globalPixelWithMaterialTracksForPhotons.TrajectoryInEvent = cms.bool(True)
54 
55 ####################
56 
57 # The sequences
58 globalPixelTracking = cms.Sequence(globalPixelSeeds*
59  globalPixelTrackCandidates*
60  globalPixelWithMaterialTracks*
61  globalPixelStepIds*
62  globalPixelSeedsForPhotons*
63  globalPixelTrackCandidatesForPhotons*
64  globalPixelWithMaterialTracksForPhotons*
65  globalPixelSeedsForElectrons*
66  globalPixelTrackCandidatesForElectrons*
67  globalPixelWithMaterialTracksForElectrons)