CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pixelMatchElectronL1SeededSequenceForHLT_cff.py
Go to the documentation of this file.
2 
3 
4 #
5 # create a sequence with all required modules and sources needed to make
6 # pixel based electrons
7 #
8 # NB: it assumes that ECAL clusters (hybrid) are in the event
9 #
10 #
11 # modules to make seeds, tracks and electrons
12 
13 # Cluster-seeded pixel pairs
14 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi
15 #from FastSimulation.Configuration.blockHLT_8E29_cff import *
16 
17 # (Not-so) Regional Tracking
19 
20 #hltL1NonIsoElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
21 #hltL1NonIsoElectronPixelSeeds.SeedConfiguration = cms.PSet(
22 # # using l1NonIsoElectronSeedConfiguration
23 # block_hltL1NonIsoElectronPixelSeeds
24 #)
25 #hltL1NonIsoElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
26 #hltL1NonIsoElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
27 
28 #hltL1NonIsoStartUpElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
29 #hltL1NonIsoStartUpElectronPixelSeeds.SeedConfiguration = cms.PSet(
30 # block_hltL1NonIsoStartUpElectronPixelSeeds
31 #)
32 #hltL1NonIsoStartUpElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
33 #hltL1NonIsoStartUpElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
34 
35 
36 # CKFTrackCandidateMaker
38 
39 
40 hltCkfL1SeededTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
41 #hltCkfL1SeededTrackCandidates.SeedProducer = cms.InputTag("hltL1SeededElectronPixelSeeds")
42 hltCkfL1SeededTrackCandidates.SeedProducer = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds")
43 #hltCkfL1SeededTrackCandidates.TrackProducers = []
44 hltCkfL1SeededTrackCandidates.MaxNumberOfCrossedLayers = 999
45 hltCkfL1SeededTrackCandidates.SeedCleaning = True
46 hltCkfL1SeededTrackCandidates.SplitHits = False
47 
48 hltL1SeededCkfTrackCandidatesForGSF = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
49 hltL1SeededCkfTrackCandidatesForGSF.SeedProducer = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds")
50 #hltL1SeededCkfTrackCandidatesForGSF.TrackProducers = []
51 hltL1SeededCkfTrackCandidatesForGSF.MaxNumberOfCrossedLayers = 999
52 hltL1SeededCkfTrackCandidatesForGSF.SeedCleaning = True
53 hltL1SeededCkfTrackCandidatesForGSF.SplitHits = True
54 
55 #not needed
56 #hltCkfL1NonIsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
57 #hltCkfL1NonIsoStartUpTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
58 #hltCkfL1NonIsoStartUpTrackCandidates.TrackProducers = []
59 #hltCkfL1NonIsoStartUpTrackCandidates.MaxNumberOfCrossedLayers = 999
60 #hltCkfL1NonIsoStartUpTrackCandidates.SeedCleaning = True
61 #hltCkfL1NonIsoStartUpTrackCandidates.SplitHits = False
62 
63 # CTF track fit with material
65 
66 hltCtfL1SeededWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
67 hltCtfL1SeededWithMaterialTracks.src = 'hltCkfL1SeededTrackCandidates'
68 hltCtfL1SeededWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
69 hltCtfL1SeededWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
70 hltCtfL1SeededWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
71 
72 #not needed
73 #hltCtfL1NonIsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
74 #hltCtfL1NonIsoStartUpWithMaterialTracks.src = 'hltCkfL1NonIsoStartUpTrackCandidates'
75 #hltCtfL1NonIsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
76 #hltCtfL1NonIsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
77 #hltCtfL1NonIsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
78 
79 #Sequence
80 HLTPixelMatchElectronL1SeededTrackingSequence = cms.Sequence(globalPixelTracking +
81  hltCkfL1SeededTrackCandidates+
82  hltCtfL1SeededWithMaterialTracks+
83  cms.SequencePlaceholder("hltPixelMatchElectronsL1Seeded"))
84 
85 #for debugging
86 #from FWCore.Modules.printContent_cfi import *
87 
88 hltL1SeededStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking +
89 # printContent+
90  cms.SequencePlaceholder("hltL1SeededStartUpElectronPixelSeeds"))
91