Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-29 01:21:36

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 import os
0004 
0005 l1tbmtfluts_dir = "L1Trigger/L1TMuon/data/bmtf_luts/"
0006 #each bit of the mask corresponds to one sector
0007 maskenable      = '000000000000'
0008 maskdisable     = '111111111111'
0009 
0010 bmbtfParamsSource = cms.ESSource(
0011     "EmptyESSource",
0012     recordName = cms.string('L1TMuonBarrelParamsRcd'),
0013     iovIsRunNotTime = cms.bool(True),
0014     firstValid = cms.vuint32(1)
0015 )
0016 
0017 fakeBmtfParams = cms.ESProducer(
0018     'L1TMuonBarrelParamsESProducer',
0019     configFromXML = cms.bool(False),
0020     hwXmlFile = cms.string('L1Trigger/L1TMuonBarell/test/BMTF_HW.xml'),
0021     topCfgXmlFile = cms.string('L1Trigger/L1TMuonBarell/test/bmtf_top_config_p5.xml'),
0022     xmlCfgKey = cms.string('RunKey_1'),
0023 
0024     fwVersion = cms.uint32(2),
0025     AssLUTPath        = cms.string(os.path.join(l1tbmtfluts_dir, 'LUTs_Ass/')),
0026     OutOfTime_Filter = cms.bool(False),
0027     BX_min = cms.int32(-2),
0028     Extrapolation_Filter = cms.int32(1),
0029     Open_LUTs = cms.bool(False),
0030     BX_max = cms.int32(2),
0031     EtaTrackFinder = cms.bool(True),
0032     Extrapolation_nbits_PhiB = cms.int32(8),
0033     Extrapolation_nbits_Phi = cms.int32(8),
0034     Extrapolation_21 = cms.bool(False),
0035     PT_Assignment_nbits_PhiB = cms.int32(10),
0036     PT_Assignment_nbits_Phi = cms.int32(12),
0037     PHI_Assignment_nbits_Phi = cms.int32(12),
0038     PHI_Assignment_nbits_PhiB = cms.int32(10),
0039     OutOfTime_Filter_Window = cms.int32(1),
0040     DisableNewAlgo           = cms.bool(False),
0041  
0042     #Each element in vstring corresponds to one TF (-2,-1,-0,+0,+1,+2)
0043     mask_phtf_st1        = cms.vstring(maskdisable, maskenable, maskenable, maskenable, maskenable, maskenable, maskdisable),
0044     mask_phtf_st2        = cms.vstring(maskenable,  maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
0045     mask_phtf_st3        = cms.vstring(maskenable,  maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
0046     mask_phtf_st4        = cms.vstring(maskenable,  maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
0047 
0048     mask_ettf_st1        = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
0049     mask_ettf_st2        = cms.vstring(maskenable,  maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
0050     mask_ettf_st3        = cms.vstring(maskenable,  maskenable, maskenable, maskenable, maskenable, maskenable, maskenable)
0051 
0052 )