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 hltCkfL1SeededTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone() 00041 #hltCkfL1SeededTrackCandidates.SeedProducer = cms.InputTag("hltL1SeededElectronPixelSeeds") 00042 hltCkfL1SeededTrackCandidates.SeedProducer = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds") 00043 hltCkfL1SeededTrackCandidates.TrackProducers = [] 00044 hltCkfL1SeededTrackCandidates.MaxNumberOfCrossedLayers = 999 00045 hltCkfL1SeededTrackCandidates.SeedCleaning = True 00046 hltCkfL1SeededTrackCandidates.SplitHits = False 00047 00048 hltL1SeededCkfTrackCandidatesForGSF = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone() 00049 hltL1SeededCkfTrackCandidatesForGSF.SeedProducer = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds") 00050 hltL1SeededCkfTrackCandidatesForGSF.TrackProducers = [] 00051 hltL1SeededCkfTrackCandidatesForGSF.MaxNumberOfCrossedLayers = 999 00052 hltL1SeededCkfTrackCandidatesForGSF.SeedCleaning = True 00053 hltL1SeededCkfTrackCandidatesForGSF.SplitHits = True 00054 00055 #not needed 00056 #hltCkfL1NonIsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone() 00057 #hltCkfL1NonIsoStartUpTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds") 00058 #hltCkfL1NonIsoStartUpTrackCandidates.TrackProducers = [] 00059 #hltCkfL1NonIsoStartUpTrackCandidates.MaxNumberOfCrossedLayers = 999 00060 #hltCkfL1NonIsoStartUpTrackCandidates.SeedCleaning = True 00061 #hltCkfL1NonIsoStartUpTrackCandidates.SplitHits = False 00062 00063 # CTF track fit with material 00064 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi 00065 00066 hltCtfL1SeededWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone() 00067 hltCtfL1SeededWithMaterialTracks.src = 'hltCkfL1SeededTrackCandidates' 00068 hltCtfL1SeededWithMaterialTracks.TTRHBuilder = 'WithoutRefit' 00069 hltCtfL1SeededWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons' 00070 hltCtfL1SeededWithMaterialTracks.Propagator = 'PropagatorWithMaterial' 00071 00072 #not needed 00073 #hltCtfL1NonIsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone() 00074 #hltCtfL1NonIsoStartUpWithMaterialTracks.src = 'hltCkfL1NonIsoStartUpTrackCandidates' 00075 #hltCtfL1NonIsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit' 00076 #hltCtfL1NonIsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons' 00077 #hltCtfL1NonIsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial' 00078 00079 #Sequence 00080 HLTPixelMatchElectronL1SeededTrackingSequence = cms.Sequence(globalPixelTracking + 00081 hltCkfL1SeededTrackCandidates+ 00082 hltCtfL1SeededWithMaterialTracks+ 00083 cms.SequencePlaceholder("hltPixelMatchElectronsL1Seeded")) 00084 00085 #for debugging 00086 #from FWCore.Modules.printContent_cfi import * 00087 00088 hltL1SeededStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking + 00089 # printContent+ 00090 cms.SequencePlaceholder("hltL1SeededStartUpElectronPixelSeeds")) 00091