CMS 3D CMS Logo

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

Go to the documentation of this file.
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 # (Not-so) Regional Tracking - needed because the ElectronSeedProducer needs the seeds 
00012 from FastSimulation.Tracking.GlobalPixelTracking_cff import *
00013 
00014 #### ISO sequence
00015 
00016 # CKFTrackCandidateMaker
00017 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00018 
00019 hltCkf3HitL1IsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00020 hltCkf3HitL1IsoTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds")
00021 hltCkf3HitL1IsoTrackCandidates.TrackProducers = []
00022 hltCkf3HitL1IsoTrackCandidates.MaxNumberOfCrossedLayers = 999
00023 hltCkf3HitL1IsoTrackCandidates.SeedCleaning = True
00024 hltCkf3HitL1IsoTrackCandidates.SplitHits = False
00025 
00026 # CTF track fit with material
00027 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00028 
00029 hltCtf3HitL1IsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00030 hltCtf3HitL1IsoWithMaterialTracks.src = 'hltCkfL1IsoTrackCandidates'
00031 hltCtf3HitL1IsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00032 hltCtf3HitL1IsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00033 hltCtf3HitL1IsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00034 
00035 
00036 #hltL1IsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00037 #                                                         cms.SequencePlaceholder("hltL1IsoStartUpElectronPixelSeeds"))
00038 
00039 HLTPixelMatch3HitElectronL1IsoTrackingSequence = cms.Sequence(hltCkf3HitL1IsoTrackCandidates+
00040                                                           hltCtf3HitL1IsoWithMaterialTracks+
00041                                                           cms.SequencePlaceholder("hltPixelMatch3HitElectronsL1Iso"))
00042 
00043 
00044 #### NON-ISO sequence
00045 
00046 # CKFTrackCandidateMaker
00047 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00048 
00049 hltCkf3HitL1NonIsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00050 hltCkf3HitL1NonIsoTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
00051 hltCkf3HitL1NonIsoTrackCandidates.TrackProducers = []
00052 hltCkf3HitL1NonIsoTrackCandidates.MaxNumberOfCrossedLayers = 999
00053 hltCkf3HitL1NonIsoTrackCandidates.SeedCleaning = True
00054 hltCkf3HitL1NonIsoTrackCandidates.SplitHits = False
00055 
00056 # CTF track fit with material
00057 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00058 
00059 hltCtf3HitL1NonIsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00060 hltCtf3HitL1NonIsoWithMaterialTracks.src = 'hltCkfL1NonIsoTrackCandidates'
00061 hltCtf3HitL1NonIsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00062 hltCtf3HitL1NonIsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00063 hltCtf3HitL1NonIsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00064 
00065 
00066 #hltL1NonIsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00067 #                                                         cms.SequencePlaceholder("hltL1NonIsoStartUpElectronPixelSeeds"))
00068 
00069 HLTPixelMatch3HitElectronL1IsoTrackingSequence = cms.Sequence(hltCkf3HitL1NonIsoTrackCandidates+
00070                                                           hltCtf3HitL1NonIsoWithMaterialTracks+
00071                                                           cms.SequencePlaceholder("hltPixelMatch3HitElectronsL1NonIso"))
00072 
00073 
00074 #### Activity sequence
00075 
00076 # CKFTrackCandidateMaker
00077 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00078 
00079 hltCkf3HitActivityTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00080 hltCkf3HitActivityTrackCandidates.SeedProducer = cms.InputTag("hltActivityStartUpElectronPixelSeeds")
00081 hltCkf3HitActivityTrackCandidates.TrackProducers = []
00082 hltCkf3HitActivityTrackCandidates.MaxNumberOfCrossedLayers = 999
00083 hltCkf3HitActivityTrackCandidates.SeedCleaning = True
00084 hltCkf3HitActivityTrackCandidates.SplitHits = False
00085 
00086 # CTF track fit with material
00087 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00088 
00089 hltCtf3HitActivityWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00090 hltCtf3HitActivityWithMaterialTracks.src = 'hltCkf3HitActivityTrackCandidates'
00091 hltCtf3HitActivityWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00092 hltCtf3HitActivityWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00093 hltCtf3HitActivityWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00094 
00095 
00096 #hltActivityStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00097 #                                                         cms.SequencePlaceholder("hltActivityStartUpElectronPixelSeeds"))
00098 
00099 HLTPixelMatch3HitElectronActivityTrackingSequence = cms.Sequence(hltCkf3HitActivityTrackCandidates+
00100                                                                   hltCtf3HitActivityWithMaterialTracks+
00101                                                                   cms.SequencePlaceholder("hltPixelMatch3HitElectronsActivity"))
00102