Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-06-13 03:23:53

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 ###OMTF emulator configuration
0004 simOmtfPhase2Digis = cms.EDProducer("L1TMuonOverlapPhase2TrackProducer",                         
0005   srcDTPh = cms.InputTag('simDtTriggerPrimitiveDigis'),
0006   srcDTTh = cms.InputTag('simDtTriggerPrimitiveDigis'),
0007   srcCSC = cms.InputTag('simCscTriggerPrimitiveDigis','MPCSORTED'),
0008   srcRPC = cms.InputTag('simMuonRPCDigis'), 
0009   srcDTPhPhase2 = cms.InputTag('dtTriggerPhase2PrimitiveDigis'),
0010   srcDTThPhase2 = cms.InputTag('dtTriggerPhase2PrimitiveDigis'),
0011 
0012   ##  XML / PATTERNS file:
0013   configXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/hwToLogicLayer_0x0209.xml"),
0014   patternsXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/Patterns_ExtraplMB1nadMB2DTQualAndEtaFixedP_ValueP1Scale_t20_v1_SingleMu_iPt_and_OneOverPt_classProb17_recalib2_minDP0.xml"),
0015   extrapolFactorsFilename = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/ExtrapolationFactors_ExtraplMB1nadMB2DTQual_ValueP1Scale_t20.xml"),
0016 
0017   dumpResultToXML = cms.bool(False),
0018   dumpDetailedResultToXML = cms.bool(False),
0019   XMLDumpFileName = cms.string("TestEvents.xml"),                                     
0020   dumpGPToXML = cms.bool(False),  
0021   readEventsFromXML = cms.bool(False),
0022   eventsXMLFiles = cms.vstring("TestEvents.xml"),
0023   
0024 
0025   dropRPCPrimitives = cms.bool(False),                                    
0026   dropCSCPrimitives = cms.bool(False),
0027   
0028   dropDTPrimitives = cms.bool(True),  
0029   usePhase2DTPrimitives = cms.bool(True), #if usePhase2DTPrimitives is True,  dropDTPrimitives must be True as well
0030   
0031   processorType = cms.string("OMTFProcessor"),
0032   
0033   #if commented the default values are 0-0
0034   #-3 to 4 is the range of the OMTF DAQ readout, so should be used e.g. in the DQM data to emulator comparison
0035   bxMin = cms.int32(0),
0036   bxMax = cms.int32(0),
0037   
0038   noHitValueInPdf = cms.bool(True),
0039   minDtPhiQuality = cms.int32(2),
0040   minDtPhiBQuality = cms.int32(4),
0041   
0042   dtRefHitMinQuality =  cms.int32(4),
0043   
0044   dtPhiBUnitsRad = cms.int32(1024), #2048 is the orginal phase2 scale, 512 is the phase1 scale
0045     
0046   stubEtaEncoding = cms.string("valueP1Scale"), #TODO change to valueP1Scale when InputMakerPhase2 is modifiwed
0047   
0048   usePhiBExtrapolationFromMB1 = cms.bool(True),
0049   usePhiBExtrapolationFromMB2 = cms.bool(True),
0050   useStubQualInExtr  = cms.bool(True),
0051   useEndcapStubsRInExtr  = cms.bool(True),
0052   useFloatingPointExtrapolation  = cms.bool(False),
0053 
0054   sorterType = cms.string("byLLH"),
0055   ghostBusterType = cms.string("byRefLayer"), # byLLH byRefLayer GhostBusterPreferRefDt
0056   goldenPatternResultFinalizeFunction = cms.int32(10)
0057 )