CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/FastSimulation/EgammaElectronAlgos/python/pixelMatchElectronL1SeededLargeWindowSequenceForHLT_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 #
00004 # create a sequence with all required modules and sources needed to make
00005 # pixel based electrons
00006 #
00007 # NB: it assumes that ECAL clusters (hybrid) are in the event
00008 #
00009 #
00010 # modules to make seeds, tracks and electrons
00011 
00012 # Cluster-seeded pixel pairs
00013 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi
00014 
00015 
00016 #from FastSimulation.Configuration.blockHLT_1E31_cff import *
00017 
00018 ###new path from XXXX_49
00019 #hltL1NonIsoLargeElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
00020 #hltL1NonIsoLargeElectronPixelSeeds.SeedConfiguration = cms.PSet(
00021 #    block_hltL1NonIsoLargeElectronPixelSeeds
00022 #)
00023 #hltL1NonIsoLargeElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
00024 #hltL1NonIsoLargeElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
00025 #
00026 #
00027 #hltL1NonIsoLargeWindowElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
00028 #hltL1NonIsoLargeWindowElectronPixelSeeds.SeedConfiguration = cms.PSet(
00029 #    block_hltL1NonIsoLargeWindowElectronPixelSeeds
00030 #)
00031 #hltL1NonIsoLargeWindowElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
00032 #hltL1NonIsoLargeWindowElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
00033 
00034 # (Not-so) Regional Tracking
00035 from FastSimulation.Tracking.GlobalPixelTracking_cff import *
00036 
00037 # Track candidate
00038 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00039 
00040 hltCkfL1SeededLargeWindowTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00041 hltCkfL1SeededLargeWindowTrackCandidates.SeedProducer = cms.InputTag("hltL1SeededLargeWindowElectronPixelSeeds")
00042 hltCkfL1SeededLargeWindowTrackCandidates.TrackProducers = cms.VInputTag(cms.InputTag("hltCtfL1SeededWithMaterialTracks"))
00043 hltCkfL1SeededLargeWindowTrackCandidates.MaxNumberOfCrossedLayers = 999
00044 hltCkfL1SeededLargeWindowTrackCandidates.SeedCleaning = True
00045 hltCkfL1SeededLargeWindowTrackCandidates.SplitHits = False
00046 
00047 
00048 # CTF track fit with material
00049 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00050 
00051 ctfL1SeededLargeWindowTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00052 ctfL1SeededLargeWindowTracks.src = 'hltCkfL1SeededLargeWindowTrackCandidates'
00053 ctfL1SeededLargeWindowTracks.TTRHBuilder = 'WithoutRefit'
00054 ctfL1SeededLargeWindowTracks.Fitter = 'KFFittingSmootherForElectrons'
00055 ctfL1SeededLargeWindowTracks.Propagator = 'PropagatorWithMaterial'
00056 
00057 # Track merger
00058 hltCtfL1SeededLargeWindowWithMaterialTracks = cms.EDProducer("FastTrackMerger",
00059     SaveTracksOnly = cms.untracked.bool(True),
00060     TrackProducers = cms.VInputTag(cms.InputTag("ctfL1SeededLargeWindowTracks"),
00061                                    cms.InputTag("hltCtfL1SeededWithMaterialTracks"))
00062 )
00063 
00064 # Sequence
00065 HLTPixelMatchLargeWindowElectronL1SeededTrackingSequence = cms.Sequence(hltCkfL1SeededLargeWindowTrackCandidates+
00066                                                                         ctfL1SeededLargeWindowTracks+
00067                                                                         hltCtfL1SeededLargeWindowWithMaterialTracks+
00068                                                                         cms.SequencePlaceholder("hltPixelMatchLargeWindowElectronsL1Seeded"))
00069 
00070 hltL1SeededLargeWindowElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00071                                                                 cms.SequencePlaceholder("hltL1SeededLargeWindowElectronPixelSeeds"))