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  fwVersion = cms.uint32(2),
19 
20  AssLUTPath = cms.string(os.path.join(l1tbmtfluts_dir, 'LUTs_Ass/')),
21 
22  OutOfTime_Filter = cms.bool(False),
23  BX_min = cms.int32(-2),
24  Extrapolation_Filter = cms.int32(1),
25  Open_LUTs = cms.bool(False),
26  BX_max = cms.int32(2),
27  EtaTrackFinder = cms.bool(True),
28  Extrapolation_nbits_PhiB = cms.int32(8),
29  Extrapolation_nbits_Phi = cms.int32(8),
30  Extrapolation_21 = cms.bool(False),
31  PT_Assignment_nbits_PhiB = cms.int32(10),
32  PT_Assignment_nbits_Phi = cms.int32(12),
33  PHI_Assignment_nbits_Phi = cms.int32(12),
34  PHI_Assignment_nbits_PhiB = cms.int32(10),
35  OutOfTime_Filter_Window = cms.int32(1),
36 
37  #Each element in vstring corresponds to one TF (-2,-1,-0,+0,+1,+2)
38  mask_phtf_st1 = cms.vstring(maskdisable, maskenable, maskenable, maskenable, maskenable, maskenable, maskdisable),
39  mask_phtf_st2 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
40  mask_phtf_st3 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
41  mask_phtf_st4 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
42 
43  mask_ettf_st1 = cms.vstring(maskdisable, maskenable, maskenable, maskenable, maskenable, maskenable, maskdisable),
44  mask_ettf_st2 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable),
45  mask_ettf_st3 = cms.vstring(maskenable, maskenable, maskenable, maskenable, maskenable, maskenable, maskenable)
46 
47 )