00001 import FWCore.ParameterSet.Config as cms 00002 # 00003 # create a sequence with all required Modules and sources needed to make 00004 # pixel based electrons 00005 # 00006 # NB: it assumes that ECAL clusters (hybrid) are in the event 00007 # 00008 # 00009 # Modules to make seeds, tracks and electrons 00010 00011 # Cluster-seeded pixel pairs 00012 #import FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi 00013 #from FastSimulation.Configuration.blockHLT_8E29_cff import * 00014 00015 # (Not-so) Regional Tracking - needed because the ElectronSeedProducer needs the seeds 00016 from FastSimulation.Tracking.GlobalPixelTracking_cff import * 00017 00018 #hltL1IsoElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone() 00019 #hltL1IsoElectronPixelSeeds.SeedConfiguration = cms.PSet( 00020 # block_hltL1IsoElectronPixelSeeds 00021 #) 00022 #hltL1IsoElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated' 00023 #hltL1IsoElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated' 00024 00025 #hltL1IsoStartUpElectronPixelSeeds = FastSimulation.EgammaElectronAlgos.fastElectronSeeds_cfi.fastElectronSeeds.clone() 00026 #hltL1IsoStartUpElectronPixelSeeds.SeedConfiguration = cms.PSet( 00027 # block_hltL1IsoStartUpElectronPixelSeeds 00028 #) 00029 #hltL1IsoStartUpElectronPixelSeeds.barrelSuperClusters = 'hltCorrectedHybridSuperClustersL1Isolated' 00030 #hltL1IsoStartUpElectronPixelSeeds.endcapSuperClusters = 'hltCorrectedMulti5x5EndcapSuperClustersWithPreshowerL1Isolated' 00031 00032 # CKFTrackCandidateMaker 00033 import FastSimulation.Tracking.TrackCandidateProducer_cfi 00034 00035 hltCkfL1IsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone() 00036 #hltCkfL1IsoTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoElectronPixelSeeds") 00037 hltCkfL1IsoTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds") 00038 hltCkfL1IsoTrackCandidates.TrackProducers = [] 00039 hltCkfL1IsoTrackCandidates.MaxNumberOfCrossedLayers = 999 00040 hltCkfL1IsoTrackCandidates.SeedCleaning = True 00041 hltCkfL1IsoTrackCandidates.SplitHits = False 00042 00043 # Not needed any longer 00044 #hltCkfL1IsoStartUpTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone() 00045 #hltCkfL1IsoStartUpTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds") 00046 #hltCkfL1IsoStartUpTrackCandidates.TrackProducers = [] 00047 #hltCkfL1IsoStartUpTrackCandidates.MaxNumberOfCrossedLayers = 999 00048 #hltCkfL1IsoStartUpTrackCandidates.SeedCleaning = True 00049 #hltCkfL1IsoStartUpTrackCandidates.SplitHits = False 00050 00051 # CTF track fit with material 00052 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi 00053 00054 hltCtfL1IsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone() 00055 hltCtfL1IsoWithMaterialTracks.src = 'hltCkfL1IsoTrackCandidates' 00056 hltCtfL1IsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit' 00057 hltCtfL1IsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons' 00058 hltCtfL1IsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial' 00059 00060 # not needed 00061 #hltCtfL1IsoStartUpWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone() 00062 #hltCtfL1IsoStartUpWithMaterialTracks.src = 'hltCkfL1IsoStartUpTrackCandidates' 00063 #hltCtfL1IsoStartUpWithMaterialTracks.TTRHBuilder = 'WithoutRefit' 00064 #hltCtfL1IsoStartUpWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons' 00065 #hltCtfL1IsoStartUpWithMaterialTracks.Propagator = 'PropagatorWithMaterial' 00066 00067 #for debugging 00068 #from FWCore.Modules.printContent_cfi import * 00069 hltL1IsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+ 00070 # printContent+ 00071 cms.SequencePlaceholder("hltL1IsoStartUpElectronPixelSeeds")) 00072 00073 HLTPixelMatchElectronL1IsoTrackingSequence = cms.Sequence(hltCkfL1IsoTrackCandidates+ 00074 hltCtfL1IsoWithMaterialTracks+ 00075 cms.SequencePlaceholder("hltPixelMatchElectronsL1Iso"))