CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pixelMatchElectronL1NonIsoLargeWindowSequenceForHLT_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 hltCkfL1NonIsoLargeWindowTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
41 hltCkfL1NonIsoLargeWindowTrackCandidates.src = cms.InputTag("hltL1NonIsoLargeWindowElectronPixelSeeds")
42 hltCkfL1NonIsoLargeWindowTrackCandidates.TrackProducers = cms.VInputTag(cms.InputTag("hltCtfL1NonIsoWithMaterialTracks"))
43 hltCkfL1NonIsoLargeWindowTrackCandidates.SplitHits = False
44 
45 
46 # CTF track fit with material
48 
49 ctfL1NonIsoLargeWindowTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
50 ctfL1NonIsoLargeWindowTracks.src = 'hltCkfL1NonIsoLargeWindowTrackCandidates'
51 ctfL1NonIsoLargeWindowTracks.TTRHBuilder = 'WithoutRefit'
52 ctfL1NonIsoLargeWindowTracks.Fitter = 'KFFittingSmootherForElectrons'
53 ctfL1NonIsoLargeWindowTracks.Propagator = 'PropagatorWithMaterial'
54 
55 # Sequence
56 HLTPixelMatchLargeWindowElectronL1NonIsoTrackingSequence = cms.Sequence(hltCkfL1NonIsoLargeWindowTrackCandidates+
57  ctfL1NonIsoLargeWindowTracks+
58  cms.SequencePlaceholder("hltPixelMatchLargeWindowElectronsL1NonIso"))
59 
60 hltL1NonIsoLargeWindowElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
61  cms.SequencePlaceholder("hltL1NonIsoLargeWindowElectronPixelSeeds"))