Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-18 05:07:37

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ###OMTF emulator configuration
0004 simOmtfDigis = cms.EDProducer("L1TMuonOverlapPhase1TrackProducer",
0005 
0006   srcDTPh = cms.InputTag('simDtTriggerPrimitiveDigis'),
0007   srcDTTh = cms.InputTag('simDtTriggerPrimitiveDigis'),
0008   srcCSC = cms.InputTag('simCscTriggerPrimitiveDigis','MPCSORTED'),
0009   srcRPC = cms.InputTag('simMuonRPCDigis'),
0010 
0011   #g4SimTrackSrc = cms.InputTag('g4SimHits'),
0012   dumpResultToXML = cms.bool(False),
0013   dumpDetailedResultToXML = cms.bool(False),
0014   XMLDumpFileName = cms.string("TestEvents.xml"),
0015   dumpGPToXML = cms.bool(False),
0016   readEventsFromXML = cms.bool(False),
0017   eventsXMLFiles = cms.vstring("TestEvents.xml"),
0018   dropRPCPrimitives = cms.bool(False),
0019   dropDTPrimitives = cms.bool(False),
0020   dropCSCPrimitives = cms.bool(False),
0021   processorType = cms.string("OMTFProcessor"),
0022 
0023   #ghostBusterType = cms.string("GhostBusterPreferRefDt"),
0024 
0025   #patternsXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/Patterns_0x00020007.xml")
0026   #patternsXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/Patterns_0x0003.xml")
0027 
0028   #if commented the default values are 0-0
0029   #-3 to 4 is the range of the OMTF DAQ readout, so should be used e.g. in the DQM data to emulator comparison
0030   bxMin = cms.int32(0),
0031   bxMax = cms.int32(0),
0032 
0033   extrapolFactorsFilename = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/ExtrapolationFactors_simple.xml"),
0034 )
0035 
0036 ### Era: Run3_2024
0037 from Configuration.Eras.Modifier_stage2L1Trigger_2024_cff import stage2L1Trigger_2024 
0038 stage2L1Trigger_2024.toModify(simOmtfDigis, 
0039                               configXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/hwToLogicLayer_0x0009.xml"),
0040                               patternsXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/Patterns_ExtraplMB1nadMB2SimplifiedFP_t17_classProb17_recalib2_minDP0_v3.xml") )