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