CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pixelMatchElectronL1IsoSequenceForHLT_cff.py
Go to the documentation of this file.
2 #
3 # create a sequence with all required modules and sources needed to make
4 # pixel based electrons
5 #
6 # NB: it assumes that ECAL clusters (hybrid) are in the event
7 #
8 #
9 # modules to make seeds, tracks and electrons
10 
11 # Cluster-seeded pixel pairs
12 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi
13 #from FastSimulation.Configuration.blockHLT_8E29_cff import *
14 
15 # (Not-so) Regional Tracking - needed because the ElectronSeedProducer needs the seeds
17 
18 #hltL1IsoElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
19 #hltL1IsoElectronPixelSeeds.SeedConfiguration = cms.PSet(
20 # block_hltL1IsoElectronPixelSeeds
21 #)
22 #hltL1IsoElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated'
23 #hltL1IsoElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated'
24 
25 #hltL1IsoStartUpElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
26 #hltL1IsoStartUpElectronPixelSeeds.SeedConfiguration = cms.PSet(
27 # block_hltL1IsoStartUpElectronPixelSeeds
28 #)
29 #hltL1IsoStartUpElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated'
30 #hltL1IsoStartUpElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated'
31 
32 # CKFTrackCandidateMaker
34 
35 hltCkfL1IsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
36 #hltCkfL1IsoTrackCandidates.src = cms.InputTag("hltL1IsoElectronPixelSeeds")
37 hltCkfL1IsoTrackCandidates.src = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds")
38 hltCkfL1IsoTrackCandidates.SplitHits = False
39 
40 # Not needed any longer
41 #hltCkfL1IsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
42 #hltCkfL1IsoStartUpTrackCandidates.src = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds")
43 #hltCkfL1IsoStartUpTrackCandidates.TrackProducers = []
44 #hltCkfL1IsoStartUpTrackCandidates.SplitHits = False
45 
46 # CTF track fit with material
48 
49 hltCtfL1IsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
50 hltCtfL1IsoWithMaterialTracks.src = 'hltCkfL1IsoTrackCandidates'
51 hltCtfL1IsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
52 hltCtfL1IsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
53 hltCtfL1IsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
54 
55 # not needed
56 #hltCtfL1IsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
57 #hltCtfL1IsoStartUpWithMaterialTracks.src = 'hltCkfL1IsoStartUpTrackCandidates'
58 #hltCtfL1IsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
59 #hltCtfL1IsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
60 #hltCtfL1IsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
61 
62 #for debugging
63 #from FWCore.Modules.printContent_cfi import *
64 hltL1IsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
65 # printContent+
66  cms.SequencePlaceholder("hltL1IsoStartUpElectronPixelSeeds"))
67 
68 HLTPixelMatchElectronL1IsoTrackingSequence = cms.Sequence(hltCkfL1IsoTrackCandidates+
69  hltCtfL1IsoWithMaterialTracks+
70  cms.SequencePlaceholder("hltPixelMatchElectronsL1Iso"))