CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pixelMatchElectronL1NonIsoSequenceForHLT_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 hltCkfL1NonIsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
41 #hltCkfL1NonIsoTrackCandidates.src = cms.InputTag("hltL1NonIsoElectronPixelSeeds")
42 hltCkfL1NonIsoTrackCandidates.src = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
43 #hltCkfL1NonIsoTrackCandidates.TrackProducers = []
44 hltCkfL1NonIsoTrackCandidates.SplitHits = False
45 
46 #not needed
47 #hltCkfL1NonIsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
48 #hltCkfL1NonIsoStartUpTrackCandidates.src = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
49 #hltCkfL1NonIsoStartUpTrackCandidates.TrackProducers = []
50 #hltCkfL1NonIsoStartUpTrackCandidates.SplitHits = False
51 
52 # CTF track fit with material
54 
55 hltCtfL1NonIsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
56 hltCtfL1NonIsoWithMaterialTracks.src = 'hltCkfL1NonIsoTrackCandidates'
57 hltCtfL1NonIsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
58 hltCtfL1NonIsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
59 hltCtfL1NonIsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
60 
61 #not needed
62 #hltCtfL1NonIsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
63 #hltCtfL1NonIsoStartUpWithMaterialTracks.src = 'hltCkfL1NonIsoStartUpTrackCandidates'
64 #hltCtfL1NonIsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
65 #hltCtfL1NonIsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
66 #hltCtfL1NonIsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
67 
68 #Sequence
69 HLTPixelMatchElectronL1NonIsoTrackingSequence = cms.Sequence(globalPixelTracking +
70  hltCkfL1NonIsoTrackCandidates+
71  hltCtfL1NonIsoWithMaterialTracks+
72  cms.SequencePlaceholder("hltPixelMatchElectronsL1NonIso"))
73 
74 #for debugging
75 #from FWCore.Modules.printContent_cfi import *
76 
77 hltL1NonIsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking +
78 # printContent+
79  cms.SequencePlaceholder("hltL1NonIsoStartUpElectronPixelSeeds"))
80