test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fakeBmtfParams_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import os
4 
5 l1tbmtfluts_dir = "L1Trigger/L1TMuon/data/bmtf_luts/"
6 #each bit of the mask corresponds to one sector
7 maskenable = '000000000000'
8 maskdisable = '111111111111'
9 
10 bmbtfParamsSource = cms.ESSource(
11  "EmptyESSource",
12  recordName = cms.string('L1TMuonBarrelParamsRcd'),
13  iovIsRunNotTime = cms.bool(True),
14  firstValid = cms.vuint32(1)
15 )
16 
17 fakeBmtfParams = cms.ESProducer('L1TMuonBarrelParamsESProducer',
18  configFromXML = cms.bool(False),
19  hwXmlFile = cms.string('L1Trigger/L1TMuonBarell/test/BMTF_HW.xml'),
20  topCfgXmlFile = cms.string('L1Trigger/L1TMuonBarell/test/bmtf_top_config_p5.xml'),
21  xmlCfgKey = cms.string('RunKey_1'),
22 
23  fwVersion = cms.uint32(2),
24  AssLUTPath = cms.string(os.path.join(l1tbmtfluts_dir, 'LUTs_Ass/')),
25  OutOfTime_Filter = cms.bool(False),
26  BX_min = cms.int32(-2),
27  Extrapolation_Filter = cms.int32(1),
28  Open_LUTs = cms.bool(False),
29  BX_max = cms.int32(2),
30  EtaTrackFinder = cms.bool(True),
31  Extrapolation_nbits_PhiB = cms.int32(8),
32  Extrapolation_nbits_Phi = cms.int32(8),
33  Extrapolation_21 = cms.bool(False),
34  PT_Assignment_nbits_PhiB = cms.int32(10),
35  PT_Assignment_nbits_Phi = cms.int32(12),
36  PHI_Assignment_nbits_Phi = cms.int32(12),
37  PHI_Assignment_nbits_PhiB = cms.int32(10),
38  OutOfTime_Filter_Window = cms.int32(1),
39  DisableNewAlgo = cms.bool(False),
40 
41  #Each element in vstring corresponds to one TF (-2,-1,-0,+0,+1,+2)
42  mask_phtf_st1 = cms.vstring(maskdisable, maskenable, maskenable, maskenable, maskenable, maskenable, maskdisable),
43  mask_phtf_st2 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
44  mask_phtf_st3 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
45  mask_phtf_st4 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
46 
47  mask_ettf_st1 = cms.vstring(maskdisable, maskenable, maskenable, maskenable, maskenable, maskenable, maskdisable),
48  mask_ettf_st2 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
49  mask_ettf_st3 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable)
50 
51 )