CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/FastSimulation/EgammaElectronAlgos/python/pixelMatchElectronL1IsoLargeWindowSequenceForHLT_cff.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 
00004 #
00005 # create a sequence with all required modules and sources needed to make
00006 # pixel based electrons
00007 #
00008 # NB: it assumes that ECAL clusters (hybrid) are in the event
00009 #
00010 #
00011 # modules to make seeds, tracks and electrons
00012 # include "RecoEgamma/EgammaHLTProducers/data/egammaHLTChi2MeasurementEstimatorESProducer.cff"
00013 # Cluster-seeded pixel pairs
00014 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi
00015 
00016 # (Not-so) Regional Tracking
00017 from FastSimulation.Tracking.GlobalPixelTracking_cff import *
00018 
00019 #####put the hack! choose 1E31 that is more inclusive! 
00020 #from FastSimulation.Configuration.blockHLT_1E31_cff import *
00021 #####
00022 
00023 ##new path in XXXX_49 for 1E31 only
00024 #hltL1IsoLargeElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
00025 #hltL1IsoLargeElectronPixelSeeds.SeedConfiguration = cms.PSet(
00026 #    block_hltL1IsoLargeElectronPixelSeeds
00027 #)
00028 #hltL1IsoLargeElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated'
00029 #hltL1IsoLargeElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated'
00030 #
00031 #
00032 #
00033 #hltL1IsoLargeWindowElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
00034 #hltL1IsoLargeWindowElectronPixelSeeds.SeedConfiguration = cms.PSet(
00035 #    block_hltL1IsoLargeWindowElectronPixelSeeds
00036 #)
00037 #hltL1IsoLargeWindowElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated'
00038 #hltL1IsoLargeWindowElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated'
00039 
00040 # Track candidates
00041 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00042 hltCkfL1IsoLargeWindowTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00043 hltCkfL1IsoLargeWindowTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoLargeWindowElectronPixelSeeds")
00044 hltCkfL1IsoLargeWindowTrackCandidates.TrackProducers = cms.VInputTag(cms.InputTag("hltCtfL1IsoWithMaterialTracks"))
00045 hltCkfL1IsoLargeWindowTrackCandidates.MaxNumberOfCrossedLayers = 999
00046 hltCkfL1IsoLargeWindowTrackCandidates.SeedCleaning = True
00047 hltCkfL1IsoLargeWindowTrackCandidates.SplitHits = False
00048 
00049 
00050 # CTF track fit with material
00051 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00052 ctfL1IsoLargeWindowTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00053 ctfL1IsoLargeWindowTracks.src = 'hltCkfL1IsoLargeWindowTrackCandidates'
00054 ctfL1IsoLargeWindowTracks.TTRHBuilder = 'WithoutRefit'
00055 ctfL1IsoLargeWindowTracks.Fitter = 'KFFittingSmootherForElectrons'
00056 ctfL1IsoLargeWindowTracks.Propagator = 'PropagatorWithMaterial'
00057 
00058 
00059 # Merge
00060 hltCtfL1IsoLargeWindowWithMaterialTracks = cms.EDProducer("FastTrackMerger",
00061     SaveTracksOnly = cms.untracked.bool(True),
00062     TrackProducers = cms.VInputTag(cms.InputTag("ctfL1IsoLargeWindowTracks"),
00063                                    cms.InputTag("hltCtfL1IsoWithMaterialTracks"))
00064 )
00065 
00066 
00067 
00068 HLTPixelMatchLargeWindowElectronL1IsoTrackingSequence = cms.Sequence(hltCkfL1IsoLargeWindowTrackCandidates+
00069                                                                      ctfL1IsoLargeWindowTracks+
00070                                                                      hltCtfL1IsoLargeWindowWithMaterialTracks+
00071                                                                      cms.SequencePlaceholder("hltPixelMatchLargeWindowElectronsL1Iso"))
00072 
00073 
00074 hltL1IsoLargeWindowElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00075                                                              cms.SequencePlaceholder("hltL1IsoLargeWindowElectronPixelSeeds"))