CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pixelMatchElectronL1SeededLargeWindowSequenceForHLT_cff.py
Go to the documentation of this file.
2 
3 #
4 # create a sequence with all required modules and sources needed to make
5 # pixel based electrons
6 #
7 # NB: it assumes that ECAL clusters (hybrid) are in the event
8 #
9 #
10 # modules to make seeds, tracks and electrons
11 
12 # Cluster-seeded pixel pairs
13 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi
14 
15 
16 #from FastSimulation.Configuration.blockHLT_1E31_cff import *
17 
18 ###new path from XXXX_49
19 #hltL1NonIsoLargeElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
20 #hltL1NonIsoLargeElectronPixelSeeds.SeedConfiguration = cms.PSet(
21 # block_hltL1NonIsoLargeElectronPixelSeeds
22 #)
23 #hltL1NonIsoLargeElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
24 #hltL1NonIsoLargeElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
25 #
26 #
27 #hltL1NonIsoLargeWindowElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
28 #hltL1NonIsoLargeWindowElectronPixelSeeds.SeedConfiguration = cms.PSet(
29 # block_hltL1NonIsoLargeWindowElectronPixelSeeds
30 #)
31 #hltL1NonIsoLargeWindowElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
32 #hltL1NonIsoLargeWindowElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
33 
34 # (Not-so) Regional Tracking
36 
37 # Track candidate
39 
40 hltCkfL1SeededLargeWindowTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
41 hltCkfL1SeededLargeWindowTrackCandidates.SeedProducer = cms.InputTag("hltL1SeededLargeWindowElectronPixelSeeds")
42 hltCkfL1SeededLargeWindowTrackCandidates.TrackProducers = cms.VInputTag(cms.InputTag("hltCtfL1SeededWithMaterialTracks"))
43 hltCkfL1SeededLargeWindowTrackCandidates.MaxNumberOfCrossedLayers = 999
44 hltCkfL1SeededLargeWindowTrackCandidates.SeedCleaning = True
45 hltCkfL1SeededLargeWindowTrackCandidates.SplitHits = False
46 
47 
48 # CTF track fit with material
50 
51 ctfL1SeededLargeWindowTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
52 ctfL1SeededLargeWindowTracks.src = 'hltCkfL1SeededLargeWindowTrackCandidates'
53 ctfL1SeededLargeWindowTracks.TTRHBuilder = 'WithoutRefit'
54 ctfL1SeededLargeWindowTracks.Fitter = 'KFFittingSmootherForElectrons'
55 ctfL1SeededLargeWindowTracks.Propagator = 'PropagatorWithMaterial'
56 
57 # Track merger
58 hltCtfL1SeededLargeWindowWithMaterialTracks = cms.EDProducer("FastTrackMerger",
59  SaveTracksOnly = cms.untracked.bool(True),
60  TrackProducers = cms.VInputTag(cms.InputTag("ctfL1SeededLargeWindowTracks"),
61  cms.InputTag("hltCtfL1SeededWithMaterialTracks"))
62 )
63 
64 # Sequence
65 HLTPixelMatchLargeWindowElectronL1SeededTrackingSequence = cms.Sequence(hltCkfL1SeededLargeWindowTrackCandidates+
66  ctfL1SeededLargeWindowTracks+
67  hltCtfL1SeededLargeWindowWithMaterialTracks+
68  cms.SequencePlaceholder("hltPixelMatchLargeWindowElectronsL1Seeded"))
69 
70 hltL1SeededLargeWindowElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
71  cms.SequencePlaceholder("hltL1SeededLargeWindowElectronPixelSeeds"))