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.
1 import FWCore.ParameterSet.Config as cms
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.src = cms.InputTag("hltL1SeededElectronPixelSeeds")
42 hltCkfL1SeededTrackCandidates.src = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds")
43 #hltCkfL1SeededTrackCandidates.TrackProducers = []
44 hltCkfL1SeededTrackCandidates.SplitHits = False
45 
46 hltL1SeededCkfTrackCandidatesForGSF = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
47 hltL1SeededCkfTrackCandidatesForGSF.src = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds")
48 #hltL1SeededCkfTrackCandidatesForGSF.TrackProducers = []
49 hltL1SeededCkfTrackCandidatesForGSF.SplitHits = True
50 
51 #not needed
52 #hltCkfL1NonIsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
53 #hltCkfL1NonIsoStartUpTrackCandidates.src = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
54 #hltCkfL1NonIsoStartUpTrackCandidates.TrackProducers = []
55 #hltCkfL1NonIsoStartUpTrackCandidates.SplitHits = False
56 
57 # CTF track fit with material
59 
60 hltCtfL1SeededWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
61 hltCtfL1SeededWithMaterialTracks.src = 'hltCkfL1SeededTrackCandidates'
62 hltCtfL1SeededWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
63 hltCtfL1SeededWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
64 hltCtfL1SeededWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
65 
66 #not needed
67 #hltCtfL1NonIsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
68 #hltCtfL1NonIsoStartUpWithMaterialTracks.src = 'hltCkfL1NonIsoStartUpTrackCandidates'
69 #hltCtfL1NonIsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
70 #hltCtfL1NonIsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
71 #hltCtfL1NonIsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
72 
73 #Sequence
74 HLTPixelMatchElectronL1SeededTrackingSequence = cms.Sequence(globalPixelTracking +
75  hltCkfL1SeededTrackCandidates+
76  hltCtfL1SeededWithMaterialTracks+
77  cms.SequencePlaceholder("hltPixelMatchElectronsL1Seeded"))
78 
79 #for debugging
80 #from FWCore.Modules.printContent_cfi import *
81 
82 hltL1SeededStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking +
83 # printContent+
84  cms.SequencePlaceholder("hltL1SeededStartUpElectronPixelSeeds"))
85