Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:21:57

0001 import FWCore.ParameterSet.Config as cms
0002 from L1Trigger.TrackTrigger.TrackQualityParams_cfi import *
0003 from L1Trigger.TrackFindingTracklet.ChannelAssignment_cff import ChannelAssignment
0004 
0005 l1tTTTracksFromTrackletEmulation = cms.EDProducer("L1FPGATrackProducer",
0006                                                TTStubSource = cms.InputTag("TTStubsFromPhase2TrackerDigis","StubAccepted"),
0007                                                InputTagTTDTC = cms.InputTag("TrackerDTCProducer", "StubAccepted"),
0008                                                readMoreMcTruth = cms.bool(True),
0009                                                MCTruthClusterInputTag = cms.InputTag("TTClusterAssociatorFromPixelDigis", "ClusterAccepted"),
0010                                                MCTruthStubInputTag = cms.InputTag("TTStubAssociatorFromPixelDigis", "StubAccepted"),
0011                                                TrackingParticleInputTag = cms.InputTag("mix", "MergedTrackTruth"),
0012                                                BeamSpotSource = cms.InputTag("offlineBeamSpot"),
0013                                                asciiFileName = cms.untracked.string(""),
0014                                                FailScenario = cms.untracked.int32(0),
0015                                                Extended = cms.bool(False),
0016                                                Reduced = cms.bool(False),
0017                                                Hnpar = cms.uint32(4),
0018                                                # (if running on CRAB use "../../fitpattern.txt" etc instead)
0019                                                fitPatternFile = cms.FileInPath('L1Trigger/TrackFindingTracklet/data/fitpattern.txt'),
0020                                                memoryModulesFile = cms.FileInPath('L1Trigger/TrackFindingTracklet/data/memorymodules_hourglassExtended.dat'),
0021                                                processingModulesFile = cms.FileInPath('L1Trigger/TrackFindingTracklet/data/processingmodules_hourglassExtended.dat'),
0022                                                wiresFile = cms.FileInPath('L1Trigger/TrackFindingTracklet/data/wires_hourglassExtended.dat'),
0023                                                # Quality Flag and Quality params
0024                                                TrackQuality = cms.bool(True),
0025                                                TrackQualityPSet = cms.PSet(TrackQualityParams),
0026                                                Fakefit = cms.bool(False), # True causes Tracklet reco to output TTTracks before DR & KF
0027                                                StoreTrackBuilderOutput = cms.bool(False), # if True EDProducts for TrackBuilder tracks and stubs will be filled
0028                                                RemovalType = cms.string("merge"), # Duplicate track removal
0029                                                DoMultipleMatches = cms.bool(True) # Allow tracklet tracks multiple stubs per layer
0030     )
0031 
0032 l1tTTTracksFromExtendedTrackletEmulation = l1tTTTracksFromTrackletEmulation.clone(
0033                                                Extended = cms.bool(True),
0034                                                Reduced = cms.bool(False),
0035                                                Hnpar = cms.uint32(5),
0036                                                # specifying where the TrackletEngineDisplaced(TED)/TripletEngine(TRE) tables are located
0037                                                tableTEDFile = cms.FileInPath('L1Trigger/TrackFindingTracklet/data/table_TED/table_TED_D1PHIA1_D2PHIA1.txt'),
0038                                                tableTREFile = cms.FileInPath('L1Trigger/TrackFindingTracklet/data/table_TRE/table_TRE_D1AD2A_1.txt'),
0039                                                # Quality Flag and Quality params
0040                                                TrackQuality = cms.bool(False),
0041                                                TrackQualityPSet = cms.PSet(TrackQualityParams)
0042     )