CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/FastSimulation/EgammaElectronAlgos/python/pixelMatchElectronL1NonIsoLargeWindowSequenceForHLT_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 hltCkfL1NonIsoLargeWindowTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00041 hltCkfL1NonIsoLargeWindowTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoLargeWindowElectronPixelSeeds")
00042 hltCkfL1NonIsoLargeWindowTrackCandidates.TrackProducers = cms.VInputTag(cms.InputTag("hltCtfL1NonIsoWithMaterialTracks"))
00043 hltCkfL1NonIsoLargeWindowTrackCandidates.MaxNumberOfCrossedLayers = 999
00044 hltCkfL1NonIsoLargeWindowTrackCandidates.SeedCleaning = True
00045 hltCkfL1NonIsoLargeWindowTrackCandidates.SplitHits = False
00046 
00047 
00048 # CTF track fit with material
00049 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00050 
00051 ctfL1NonIsoLargeWindowTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00052 ctfL1NonIsoLargeWindowTracks.src = 'hltCkfL1NonIsoLargeWindowTrackCandidates'
00053 ctfL1NonIsoLargeWindowTracks.TTRHBuilder = 'WithoutRefit'
00054 ctfL1NonIsoLargeWindowTracks.Fitter = 'KFFittingSmootherForElectrons'
00055 ctfL1NonIsoLargeWindowTracks.Propagator = 'PropagatorWithMaterial'
00056 
00057 # Track merger
00058 hltCtfL1NonIsoLargeWindowWithMaterialTracks = cms.EDProducer("FastTrackMerger",
00059     SaveTracksOnly = cms.untracked.bool(True),
00060     TrackProducers = cms.VInputTag(cms.InputTag("ctfL1NonIsoLargeWindowTracks"),
00061                                    cms.InputTag("hltCtfL1NonIsoWithMaterialTracks"))
00062 )
00063 
00064 # Sequence
00065 HLTPixelMatchLargeWindowElectronL1NonIsoTrackingSequence = cms.Sequence(hltCkfL1NonIsoLargeWindowTrackCandidates+
00066                                                                         ctfL1NonIsoLargeWindowTracks+
00067                                                                         hltCtfL1NonIsoLargeWindowWithMaterialTracks+
00068                                                                         cms.SequencePlaceholder("hltPixelMatchLargeWindowElectronsL1NonIso"))
00069 
00070 hltL1NonIsoLargeWindowElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00071                                                                 cms.SequencePlaceholder("hltL1NonIsoLargeWindowElectronPixelSeeds"))