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.SeedProducer = cms.InputTag("hltL1NonIsoLargeWindowElectronPixelSeeds")
42 hltCkfL1NonIsoLargeWindowTrackCandidates.TrackProducers = cms.VInputTag(cms.InputTag("hltCtfL1NonIsoWithMaterialTracks"))
43 hltCkfL1NonIsoLargeWindowTrackCandidates.MaxNumberOfCrossedLayers = 999
44 hltCkfL1NonIsoLargeWindowTrackCandidates.SeedCleaning = True
45 hltCkfL1NonIsoLargeWindowTrackCandidates.SplitHits = False
46 
47 
48 # CTF track fit with material
50 
51 ctfL1NonIsoLargeWindowTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
52 ctfL1NonIsoLargeWindowTracks.src = 'hltCkfL1NonIsoLargeWindowTrackCandidates'
53 ctfL1NonIsoLargeWindowTracks.TTRHBuilder = 'WithoutRefit'
54 ctfL1NonIsoLargeWindowTracks.Fitter = 'KFFittingSmootherForElectrons'
55 ctfL1NonIsoLargeWindowTracks.Propagator = 'PropagatorWithMaterial'
56 
57 # Track merger
58 hltCtfL1NonIsoLargeWindowWithMaterialTracks = cms.EDProducer("FastTrackMerger",
59  SaveTracksOnly = cms.untracked.bool(True),
60  TrackProducers = cms.VInputTag(cms.InputTag("ctfL1NonIsoLargeWindowTracks"),
61  cms.InputTag("hltCtfL1NonIsoWithMaterialTracks"))
62 )
63 
64 # Sequence
65 HLTPixelMatchLargeWindowElectronL1NonIsoTrackingSequence = cms.Sequence(hltCkfL1NonIsoLargeWindowTrackCandidates+
66  ctfL1NonIsoLargeWindowTracks+
67  hltCtfL1NonIsoLargeWindowWithMaterialTracks+
68  cms.SequencePlaceholder("hltPixelMatchLargeWindowElectronsL1NonIso"))
69 
70 hltL1NonIsoLargeWindowElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
71  cms.SequencePlaceholder("hltL1NonIsoLargeWindowElectronPixelSeeds"))