test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
fakeGmtParams_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 import os
4 
5 l1tgmt_basedir = "L1Trigger/L1TMuon/"
6 lut_dir = os.path.join(l1tgmt_basedir, "data/microgmt_luts/")
7 
8 gmtParamsSource = cms.ESSource(
9  "EmptyESSource",
10  recordName = cms.string('L1TMuonGlobalParamsRcd'),
11  iovIsRunNotTime = cms.bool(True),
12  firstValid = cms.vuint32(1)
13 )
14 
15 gmtParams = cms.ESProducer('L1TMuonGlobalParamsESProducer',
16  #fwVersion = cms.uint32(1),
17  fwVersion = cms.uint32(0x2020000),
18 
19  # uGMT inputs to disable
20  # disabled inputs are not used in the algo but are still in the readout
21  caloInputsDisable = cms.bool(False),
22  bmtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # BMTF 0-11
23  omtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # OMTF+0-5, OMTF-0-5
24  emtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # EMTF+0-5, EMTF-0-5
25 
26  # masked inputs
27  # masked inputs are not used in the algo and are not in the readout
28  caloInputsMasked = cms.bool(False),
29  maskedBmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # BMTF 0-11
30  maskedOmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # OMTF+0-5, OMTF-0-5
31  maskedEmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # EMTF+0-5, EMTF-0-5
32 
33  AbsIsoCheckMemLUTPath = cms.string(os.path.join(lut_dir, 'AbsIsoCheckMem.txt')),
34  RelIsoCheckMemLUTPath = cms.string(os.path.join(lut_dir, 'RelIsoCheckMem.txt')),
35  IdxSelMemPhiLUTPath = cms.string(os.path.join(lut_dir, 'IdxSelMemPhi.txt')),
36  IdxSelMemEtaLUTPath = cms.string(os.path.join(lut_dir, 'IdxSelMemEta.txt')),
37  FwdPosSingleMatchQualLUTPath = cms.string(''),
38  FwdNegSingleMatchQualLUTPath = cms.string(''),
39  OvlPosSingleMatchQualLUTPath = cms.string(''),
40  OvlNegSingleMatchQualLUTPath = cms.string(''),
41  BOPosMatchQualLUTPath = cms.string(''),
42  BONegMatchQualLUTPath = cms.string(''),
43  FOPosMatchQualLUTPath = cms.string(''),
44  FONegMatchQualLUTPath = cms.string(''),
45  BPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'BPhiExtrapolation.txt')),
46  OPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'OPhiExtrapolation.txt')),
47  FPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'EPhiExtrapolation.txt')),
48  BEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'BEtaExtrapolation.txt')),
49  OEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'OEtaExtrapolation.txt')),
50  FEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'EEtaExtrapolation.txt')),
51  SortRankLUTPath = cms.string(os.path.join(lut_dir, 'SortRank.txt')),
52 
53  FwdPosSingleMatchQualLUTMaxDR = cms.double(0.1),
54  FwdPosSingleMatchQualLUTfEta = cms.double(1),
55  FwdPosSingleMatchQualLUTfPhi = cms.double(1),
56 
57  FwdNegSingleMatchQualLUTMaxDR = cms.double(0.1),
58  FwdNegSingleMatchQualLUTfEta = cms.double(1),
59  FwdNegSingleMatchQualLUTfPhi = cms.double(1),
60 
61  OvlPosSingleMatchQualLUTMaxDR = cms.double(0.1),
62  OvlPosSingleMatchQualLUTfEta = cms.double(1),
63  OvlPosSingleMatchQualLUTfEtaCoarse = cms.double(1),
64  OvlPosSingleMatchQualLUTfPhi = cms.double(1),
65 
66  OvlNegSingleMatchQualLUTMaxDR = cms.double(0.1),
67  OvlNegSingleMatchQualLUTfEta = cms.double(1),
68  OvlNegSingleMatchQualLUTfEtaCoarse = cms.double(1),
69  OvlNegSingleMatchQualLUTfPhi = cms.double(1),
70 
71  BOPosMatchQualLUTMaxDR = cms.double(0.1),
72  BOPosMatchQualLUTfEta = cms.double(1),
73  BOPosMatchQualLUTfEtaCoarse = cms.double(1),
74  BOPosMatchQualLUTfPhi = cms.double(1),
75 
76  BONegMatchQualLUTMaxDR = cms.double(0.1),
77  BONegMatchQualLUTfEta = cms.double(1),
78  BONegMatchQualLUTfEtaCoarse = cms.double(1),
79  BONegMatchQualLUTfPhi = cms.double(1),
80 
81  FOPosMatchQualLUTMaxDR = cms.double(0.1),
82  FOPosMatchQualLUTfEta = cms.double(1),
83  FOPosMatchQualLUTfEtaCoarse = cms.double(1),
84  FOPosMatchQualLUTfPhi = cms.double(1),
85 
86  FONegMatchQualLUTMaxDR = cms.double(0.1),
87  FONegMatchQualLUTfEta = cms.double(1),
88  FONegMatchQualLUTfEtaCoarse = cms.double(1),
89  FONegMatchQualLUTfPhi = cms.double(1),
90 
91  SortRankLUTPtFactor = cms.uint32(1), # can be 0 or 1
92  SortRankLUTQualFactor = cms.uint32(4), # can be 0 to 34
93 )
94