CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules 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(
18  'L1TMuonBarrelParamsESProducer',
19  configFromXML = cms.bool(False),
20  hwXmlFile = cms.string('L1Trigger/L1TMuonBarell/test/BMTF_HW.xml'),
21  topCfgXmlFile = cms.string('L1Trigger/L1TMuonBarell/test/bmtf_top_config_p5.xml'),
22  xmlCfgKey = cms.string('RunKey_1'),
23 
24  fwVersion = cms.uint32(2),
25  AssLUTPath = cms.string(os.path.join(l1tbmtfluts_dir, 'LUTs_Ass/')),
26  OutOfTime_Filter = cms.bool(False),
27  BX_min = cms.int32(-2),
28  Extrapolation_Filter = cms.int32(1),
29  Open_LUTs = cms.bool(False),
30  BX_max = cms.int32(2),
31  EtaTrackFinder = cms.bool(True),
32  Extrapolation_nbits_PhiB = cms.int32(8),
33  Extrapolation_nbits_Phi = cms.int32(8),
34  Extrapolation_21 = cms.bool(False),
35  PT_Assignment_nbits_PhiB = cms.int32(10),
36  PT_Assignment_nbits_Phi = cms.int32(12),
37  PHI_Assignment_nbits_Phi = cms.int32(12),
38  PHI_Assignment_nbits_PhiB = cms.int32(10),
39  OutOfTime_Filter_Window = cms.int32(1),
40  DisableNewAlgo = cms.bool(False),
41 
42  #Each element in vstring corresponds to one TF (-2,-1,-0,+0,+1,+2)
43  mask_phtf_st1 = cms.vstring(maskdisable, maskenable, maskenable, maskenable, maskenable, maskenable, maskdisable),
44  mask_phtf_st2 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
45  mask_phtf_st3 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
46  mask_phtf_st4 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
47 
48  mask_ettf_st1 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
49  mask_ettf_st2 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
50  mask_ettf_st3 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable)
51 
52 )