CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pixelMatchElectronL1IsoLargeWindowSequenceForHLT_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 # include "RecoEgamma/EgammaHLTProducers/data/egammaHLTChi2MeasurementEstimatorESProducer.cff"
13 # Cluster-seeded pixel pairs
14 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi
15 
16 # (Not-so) Regional Tracking
18 
19 #####put the hack! choose 1E31 that is more inclusive!
20 #from FastSimulation.Configuration.blockHLT_1E31_cff import *
21 #####
22 
23 ##new path in XXXX_49 for 1E31 only
24 #hltL1IsoLargeElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
25 #hltL1IsoLargeElectronPixelSeeds.SeedConfiguration = cms.PSet(
26 # block_hltL1IsoLargeElectronPixelSeeds
27 #)
28 #hltL1IsoLargeElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated'
29 #hltL1IsoLargeElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated'
30 #
31 #
32 #
33 #hltL1IsoLargeWindowElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
34 #hltL1IsoLargeWindowElectronPixelSeeds.SeedConfiguration = cms.PSet(
35 # block_hltL1IsoLargeWindowElectronPixelSeeds
36 #)
37 #hltL1IsoLargeWindowElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated'
38 #hltL1IsoLargeWindowElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated'
39 
40 # Track candidates
42 hltCkfL1IsoLargeWindowTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
43 hltCkfL1IsoLargeWindowTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoLargeWindowElectronPixelSeeds")
44 hltCkfL1IsoLargeWindowTrackCandidates.TrackProducers = cms.VInputTag(cms.InputTag("hltCtfL1IsoWithMaterialTracks"))
45 hltCkfL1IsoLargeWindowTrackCandidates.MaxNumberOfCrossedLayers = 999
46 hltCkfL1IsoLargeWindowTrackCandidates.SeedCleaning = True
47 hltCkfL1IsoLargeWindowTrackCandidates.SplitHits = False
48 
49 
50 # CTF track fit with material
52 ctfL1IsoLargeWindowTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
53 ctfL1IsoLargeWindowTracks.src = 'hltCkfL1IsoLargeWindowTrackCandidates'
54 ctfL1IsoLargeWindowTracks.TTRHBuilder = 'WithoutRefit'
55 ctfL1IsoLargeWindowTracks.Fitter = 'KFFittingSmootherForElectrons'
56 ctfL1IsoLargeWindowTracks.Propagator = 'PropagatorWithMaterial'
57 
58 
59 # Merge
60 hltCtfL1IsoLargeWindowWithMaterialTracks = cms.EDProducer("FastTrackMerger",
61  SaveTracksOnly = cms.untracked.bool(True),
62  TrackProducers = cms.VInputTag(cms.InputTag("ctfL1IsoLargeWindowTracks"),
63  cms.InputTag("hltCtfL1IsoWithMaterialTracks"))
64 )
65 
66 
67 
68 HLTPixelMatchLargeWindowElectronL1IsoTrackingSequence = cms.Sequence(hltCkfL1IsoLargeWindowTrackCandidates+
69  ctfL1IsoLargeWindowTracks+
70  hltCtfL1IsoLargeWindowWithMaterialTracks+
71  cms.SequencePlaceholder("hltPixelMatchLargeWindowElectronsL1Iso"))
72 
73 
74 hltL1IsoLargeWindowElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
75  cms.SequencePlaceholder("hltL1IsoLargeWindowElectronPixelSeeds"))