CMS 3D CMS Logo

/data/doxygen/doxygen-1.7.3/gen/CMSSW_4_2_8/src/FastSimulation/EgammaElectronAlgos/python/pixelMatchElectronL1NonIsoSequenceForHLT_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 
00013 # Cluster-seeded pixel pairs
00014 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi
00015 #from FastSimulation.Configuration.blockHLT_8E29_cff import *
00016 
00017 # (Not-so) Regional Tracking
00018 from FastSimulation.Tracking.GlobalPixelTracking_cff import *
00019 
00020 #hltL1NonIsoElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
00021 #hltL1NonIsoElectronPixelSeeds.SeedConfiguration = cms.PSet(
00022 #    # using l1NonIsoElectronSeedConfiguration
00023 #    block_hltL1NonIsoElectronPixelSeeds
00024 #)
00025 #hltL1NonIsoElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
00026 #hltL1NonIsoElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
00027 
00028 #hltL1NonIsoStartUpElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone()
00029 #hltL1NonIsoStartUpElectronPixelSeeds.SeedConfiguration = cms.PSet(
00030 #    block_hltL1NonIsoStartUpElectronPixelSeeds
00031 #)
00032 #hltL1NonIsoStartUpElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1NonIsolated'
00033 #hltL1NonIsoStartUpElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1NonIsolated'
00034 
00035 
00036 # CKFTrackCandidateMaker
00037 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00038 
00039 
00040 hltCkfL1NonIsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00041 #hltCkfL1NonIsoTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoElectronPixelSeeds")
00042 hltCkfL1NonIsoTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
00043 hltCkfL1NonIsoTrackCandidates.TrackProducers = []
00044 hltCkfL1NonIsoTrackCandidates.MaxNumberOfCrossedLayers = 999
00045 hltCkfL1NonIsoTrackCandidates.SeedCleaning = True
00046 hltCkfL1NonIsoTrackCandidates.SplitHits = False
00047 
00048 #not needed 
00049 #hltCkfL1NonIsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00050 #hltCkfL1NonIsoStartUpTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
00051 #hltCkfL1NonIsoStartUpTrackCandidates.TrackProducers = []
00052 #hltCkfL1NonIsoStartUpTrackCandidates.MaxNumberOfCrossedLayers = 999
00053 #hltCkfL1NonIsoStartUpTrackCandidates.SeedCleaning = True
00054 #hltCkfL1NonIsoStartUpTrackCandidates.SplitHits = False
00055 
00056 # CTF track fit with material
00057 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00058 
00059 hltCtfL1NonIsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00060 hltCtfL1NonIsoWithMaterialTracks.src = 'hltCkfL1NonIsoTrackCandidates'
00061 hltCtfL1NonIsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00062 hltCtfL1NonIsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00063 hltCtfL1NonIsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00064 
00065 #not needed
00066 #hltCtfL1NonIsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00067 #hltCtfL1NonIsoStartUpWithMaterialTracks.src = 'hltCkfL1NonIsoStartUpTrackCandidates'
00068 #hltCtfL1NonIsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00069 #hltCtfL1NonIsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00070 #hltCtfL1NonIsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00071 
00072 #Sequence
00073 HLTPixelMatchElectronL1NonIsoTrackingSequence = cms.Sequence(globalPixelTracking +
00074                                                              hltCkfL1NonIsoTrackCandidates+
00075                                                              hltCtfL1NonIsoWithMaterialTracks+
00076                                                              cms.SequencePlaceholder("hltPixelMatchElectronsL1NonIso"))
00077 
00078 #for debugging
00079 #from FWCore.Modules.printContent_cfi import *
00080 
00081 hltL1NonIsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking +
00082 #                                                            printContent+
00083                                                             cms.SequencePlaceholder("hltL1NonIsoStartUpElectronPixelSeeds"))
00084