CMS 3D CMS Logo

simOmtfPhase2Digis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 simOmtfPhase2Digis = cms.EDProducer("L1TMuonOverlapPhase2TrackProducer",
5  srcDTPh = cms.InputTag('simDtTriggerPrimitiveDigis'),
6  srcDTTh = cms.InputTag('simDtTriggerPrimitiveDigis'),
7  srcCSC = cms.InputTag('simCscTriggerPrimitiveDigis','MPCSORTED'),
8  srcRPC = cms.InputTag('simMuonRPCDigis'),
9  srcDTPhPhase2 = cms.InputTag('dtTriggerPhase2PrimitiveDigis'),
10  srcDTThPhase2 = cms.InputTag('dtTriggerPhase2PrimitiveDigis'),
11 
12 
13  configXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/hwToLogicLayer_0x0209.xml"),
14  patternsXMLFile = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/Patterns_ExtraplMB1nadMB2DTQualAndEtaFixedP_ValueP1Scale_t20_v1_SingleMu_iPt_and_OneOverPt_classProb17_recalib2_minDP0.xml"),
15  extrapolFactorsFilename = cms.FileInPath("L1Trigger/L1TMuon/data/omtf_config/ExtrapolationFactors_ExtraplMB1nadMB2DTQual_ValueP1Scale_t20.xml"),
16 
17  dumpResultToXML = cms.bool(False),
18  dumpDetailedResultToXML = cms.bool(False),
19  XMLDumpFileName = cms.string("TestEvents.xml"),
20  dumpGPToXML = cms.bool(False),
21  readEventsFromXML = cms.bool(False),
22  eventsXMLFiles = cms.vstring("TestEvents.xml"),
23 
24 
25  dropRPCPrimitives = cms.bool(False),
26  dropCSCPrimitives = cms.bool(False),
27 
28  dropDTPrimitives = cms.bool(True),
29  usePhase2DTPrimitives = cms.bool(True), #if usePhase2DTPrimitives is True, dropDTPrimitives must be True as well
30 
31  processorType = cms.string("OMTFProcessor"),
32 
33  #if commented the default values are 0-0
34  #-3 to 4 is the range of the OMTF DAQ readout, so should be used e.g. in the DQM data to emulator comparison
35  bxMin = cms.int32(0),
36  bxMax = cms.int32(0),
37 
38  noHitValueInPdf = cms.bool(True),
39  minDtPhiQuality = cms.int32(2),
40  minDtPhiBQuality = cms.int32(4),
41 
42  dtRefHitMinQuality = cms.int32(4),
43 
44  dtPhiBUnitsRad = cms.int32(1024), #2048 is the orginal phase2 scale, 512 is the phase1 scale
45 
46  stubEtaEncoding = cms.string("valueP1Scale"), #TODO change to valueP1Scale when InputMakerPhase2 is modifiwed
47 
48  usePhiBExtrapolationFromMB1 = cms.bool(True),
49  usePhiBExtrapolationFromMB2 = cms.bool(True),
50  useStubQualInExtr = cms.bool(True),
51  useEndcapStubsRInExtr = cms.bool(True),
52  useFloatingPointExtrapolation = cms.bool(False),
53 
54  sorterType = cms.string("byLLH"),
55  ghostBusterType = cms.string("byRefLayer"), # byLLH byRefLayer GhostBusterPreferRefDt
56  goldenPatternResultFinalizeFunction = cms.int32(10)
57 )