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.SeedProducer = cms.InputTag("hltL1IsoElectronPixelSeeds")
37 hltCkfL1IsoTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds")
38 hltCkfL1IsoTrackCandidates.TrackProducers = []
39 hltCkfL1IsoTrackCandidates.MaxNumberOfCrossedLayers = 999
40 hltCkfL1IsoTrackCandidates.SeedCleaning = True
41 hltCkfL1IsoTrackCandidates.SplitHits = False
42 
43 # Not needed any longer
44 #hltCkfL1IsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
45 #hltCkfL1IsoStartUpTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds")
46 #hltCkfL1IsoStartUpTrackCandidates.TrackProducers = []
47 #hltCkfL1IsoStartUpTrackCandidates.MaxNumberOfCrossedLayers = 999
48 #hltCkfL1IsoStartUpTrackCandidates.SeedCleaning = True
49 #hltCkfL1IsoStartUpTrackCandidates.SplitHits = False
50 
51 # CTF track fit with material
53 
54 hltCtfL1IsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
55 hltCtfL1IsoWithMaterialTracks.src = 'hltCkfL1IsoTrackCandidates'
56 hltCtfL1IsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
57 hltCtfL1IsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
58 hltCtfL1IsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
59 
60 # not needed
61 #hltCtfL1IsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
62 #hltCtfL1IsoStartUpWithMaterialTracks.src = 'hltCkfL1IsoStartUpTrackCandidates'
63 #hltCtfL1IsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
64 #hltCtfL1IsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
65 #hltCtfL1IsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
66 
67 #for debugging
68 #from FWCore.Modules.printContent_cfi import *
69 hltL1IsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
70 # printContent+
71  cms.SequencePlaceholder("hltL1IsoStartUpElectronPixelSeeds"))
72 
73 HLTPixelMatchElectronL1IsoTrackingSequence = cms.Sequence(hltCkfL1IsoTrackCandidates+
74  hltCtfL1IsoWithMaterialTracks+
75  cms.SequencePlaceholder("hltPixelMatchElectronsL1Iso"))