Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-12-12 02:57:17

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # configures track finding s/w to use KF emulator instead of KF simulator
0004 def newKFConfig(process):
0005   process.l1tTTTracksFromTrackletEmulation.Fakefit = True
0006 
0007 # configures track finding s/w to behave as track finding f/w
0008 def fwConfig(process):
0009   newKFConfig(process)
0010   process.TrackTriggerSetup.Firmware.FreqBE = 240 # Frequency of DTC & KF (determines truncation)
0011   process.l1tTTTracksFromTrackletEmulation.RemovalType = ""
0012   process.l1tTTTracksFromTrackletEmulation.DoMultipleMatches = False
0013   process.l1tTTTracksFromTrackletEmulation.StoreTrackBuilderOutput = True
0014 
0015 # configures track finding s/w to behave as a subchain of processing steps
0016 def reducedConfig(process):
0017   fwConfig(process)
0018   process.TrackTriggerSetup.KalmanFilter.NumWorker = 1
0019   process.ChannelAssignment.SeedTypes = cms.vstring( "L1L2" )
0020   process.ChannelAssignment.SeedTypesSeedLayers = cms.PSet( L1L2 = cms.vint32( 1,  2 ) )
0021   process.ChannelAssignment.SeedTypesProjectionLayers = cms.PSet( L1L2 = cms.vint32(  3,  4,  5,  6 ) )
0022   # this are tt::Setup::dtcId in order as in process.l1tTTTracksFromTrackletEmulation.processingModulesFile translated by 
0023   # reverssing naming logic described in L1FPGATrackProducer
0024   # TO DO: Eliminate cfg param IRChannelsIn by taking this info from Tracklet wiring map.
0025   process.ChannelAssignment.IRChannelsIn = cms.vint32( 0, 1, 25, 2, 26, 4, 5, 29, 6, 30, 7, 31, 8, 9, 33 )
0026   process.l1tTTTracksFromTrackletEmulation.Reduced = True
0027   process.l1tTTTracksFromTrackletEmulation.memoryModulesFile = 'L1Trigger/TrackFindingTracklet/data/reduced_memorymodules.dat'
0028   process.l1tTTTracksFromTrackletEmulation.processingModulesFile = 'L1Trigger/TrackFindingTracklet/data/reduced_processingmodules.dat'
0029   process.l1tTTTracksFromTrackletEmulation.wiresFile = 'L1Trigger/TrackFindingTracklet/data/reduced_wires.dat'