CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/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 #### Modified 52X filter sequence
00015 
00016 # CKFTrackCandidateMaker
00017 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00018 
00019 hltCkf3HitL1SeededTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00020 hltCkf3HitL1SeededTrackCandidates.SeedProducer = cms.InputTag("hltL1SeededStartUpElectronPixelSeeds")
00021 hltCkf3HitL1SeededTrackCandidates.TrackProducers = []
00022 hltCkf3HitL1SeededTrackCandidates.MaxNumberOfCrossedLayers = 999
00023 hltCkf3HitL1SeededTrackCandidates.SeedCleaning = True
00024 hltCkf3HitL1SeededTrackCandidates.SplitHits = False
00025 
00026 # CTF track fit with material
00027 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00028 
00029 hltCtf3HitL1SeededWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00030 hltCtf3HitL1SeededWithMaterialTracks.src = 'hltCkf3HitL1SeededTrackCandidates'
00031 hltCtf3HitL1SeededWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00032 hltCtf3HitL1SeededWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00033 hltCtf3HitL1SeededWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00034 
00035 
00036 #hltL1SeededStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00037 #                                                         cms.SequencePlaceholder("hltL1SeededStartUpElectronPixelSeeds"))
00038 
00039 HLTPixelMatch3HitElectronL1SeededTrackingSequence = cms.Sequence(hltCkf3HitL1SeededTrackCandidates+
00040                                                           hltCtf3HitL1SeededWithMaterialTracks+
00041                                                           cms.SequencePlaceholder("hltPixelMatch3HitElectronsL1Seeded"))
00042 
00043 #### ISO sequence
00044 
00045 # CKFTrackCandidateMaker
00046 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00047 
00048 hltCkf3HitL1IsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00049 hltCkf3HitL1IsoTrackCandidates.SeedProducer = cms.InputTag("hltL1IsoStartUpElectronPixelSeeds")
00050 hltCkf3HitL1IsoTrackCandidates.TrackProducers = []
00051 hltCkf3HitL1IsoTrackCandidates.MaxNumberOfCrossedLayers = 999
00052 hltCkf3HitL1IsoTrackCandidates.SeedCleaning = True
00053 hltCkf3HitL1IsoTrackCandidates.SplitHits = False
00054 
00055 # CTF track fit with material
00056 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00057 
00058 hltCtf3HitL1IsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00059 hltCtf3HitL1IsoWithMaterialTracks.src = 'hltCkfL1IsoTrackCandidates'
00060 hltCtf3HitL1IsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00061 hltCtf3HitL1IsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00062 hltCtf3HitL1IsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00063 
00064 
00065 #hltL1IsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00066 #                                                         cms.SequencePlaceholder("hltL1IsoStartUpElectronPixelSeeds"))
00067 
00068 HLTPixelMatch3HitElectronL1IsoTrackingSequence = cms.Sequence(hltCkf3HitL1IsoTrackCandidates+
00069                                                               hltCtf3HitL1IsoWithMaterialTracks+
00070                                                               cms.SequencePlaceholder("hltPixelMatch3HitElectronsL1Iso"))
00071 
00072 
00073 #### NON-ISO sequence
00074 
00075 # CKFTrackCandidateMaker
00076 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00077 
00078 hltCkf3HitL1NonIsoTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00079 hltCkf3HitL1NonIsoTrackCandidates.SeedProducer = cms.InputTag("hltL1NonIsoStartUpElectronPixelSeeds")
00080 hltCkf3HitL1NonIsoTrackCandidates.TrackProducers = []
00081 hltCkf3HitL1NonIsoTrackCandidates.MaxNumberOfCrossedLayers = 999
00082 hltCkf3HitL1NonIsoTrackCandidates.SeedCleaning = True
00083 hltCkf3HitL1NonIsoTrackCandidates.SplitHits = False
00084 
00085 # CTF track fit with material
00086 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00087 
00088 hltCtf3HitL1NonIsoWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00089 hltCtf3HitL1NonIsoWithMaterialTracks.src = 'hltCkfL1NonIsoTrackCandidates'
00090 hltCtf3HitL1NonIsoWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00091 hltCtf3HitL1NonIsoWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00092 hltCtf3HitL1NonIsoWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00093 
00094 
00095 #hltL1NonIsoStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00096 #                                                         cms.SequencePlaceholder("hltL1NonIsoStartUpElectronPixelSeeds"))
00097 
00098 HLTPixelMatch3HitElectronL1IsoTrackingSequence = cms.Sequence(hltCkf3HitL1NonIsoTrackCandidates+
00099                                                               hltCtf3HitL1NonIsoWithMaterialTracks+
00100                                                               cms.SequencePlaceholder("hltPixelMatch3HitElectronsL1NonIso"))
00101 
00102 
00103 #### Activity sequence
00104 
00105 # CKFTrackCandidateMaker
00106 import FastSimulation.Tracking.TrackCandidateProducer_cfi
00107 
00108 hltCkf3HitActivityTrackCandidates = FastSimulation.Tracking.TrackCandidateProducer_cfi.trackCandidateProducer.clone()
00109 hltCkf3HitActivityTrackCandidates.SeedProducer = cms.InputTag("hltActivityStartUpElectronPixelSeeds")
00110 hltCkf3HitActivityTrackCandidates.TrackProducers = []
00111 hltCkf3HitActivityTrackCandidates.MaxNumberOfCrossedLayers = 999
00112 hltCkf3HitActivityTrackCandidates.SeedCleaning = True
00113 hltCkf3HitActivityTrackCandidates.SplitHits = False
00114 
00115 # CTF track fit with material
00116 import RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi
00117 
00118 hltCtf3HitActivityWithMaterialTracks = RecoTracker.TrackProducer.CTFFinalFitWithMaterial_cfi.ctfWithMaterialTracks.clone()
00119 hltCtf3HitActivityWithMaterialTracks.src = 'hltCkf3HitActivityTrackCandidates'
00120 hltCtf3HitActivityWithMaterialTracks.TTRHBuilder = 'WithoutRefit'
00121 hltCtf3HitActivityWithMaterialTracks.Fitter = 'KFFittingSmootherForElectrons'
00122 hltCtf3HitActivityWithMaterialTracks.Propagator = 'PropagatorWithMaterial'
00123 
00124 
00125 #hltActivityStartUpElectronPixelSeedsSequence = cms.Sequence(globalPixelTracking+
00126 #                                                         cms.SequencePlaceholder("hltActivityStartUpElectronPixelSeeds"))
00127 
00128 HLTPixelMatch3HitElectronActivityTrackingSequence = cms.Sequence(hltCkf3HitActivityTrackCandidates+
00129                                                                   hltCtf3HitActivityWithMaterialTracks+
00130                                                                   cms.SequencePlaceholder("hltPixelMatch3HitElectronsActivity"))
00131