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 
18  # uGMT inputs to disable
19  # disabled inputs are not used in the algo but are still in the readout
20  caloInputsDisable = cms.bool(False),
21  bmtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # BMTF 0-11
22  omtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # OMTF+0-5, OMTF-0-5
23  emtfInputsToDisable = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # EMTF+0-5, EMTF-0-5
24 
25  # masked inputs
26  # masked inputs are not used in the algo and are not in the readout
27  caloInputsMasked = cms.bool(False),
28  maskedBmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # BMTF 0-11
29  maskedOmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # OMTF+0-5, OMTF-0-5
30  maskedEmtfInputs = cms.vuint32(0,0,0,0,0,0,0,0,0,0,0,0), # EMTF+0-5, EMTF-0-5
31 
32  AbsIsoCheckMemLUTPath = cms.string(os.path.join(lut_dir, 'AbsIsoCheckMem.txt')),
33  RelIsoCheckMemLUTPath = cms.string(os.path.join(lut_dir, 'RelIsoCheckMem.txt')),
34  IdxSelMemPhiLUTPath = cms.string(os.path.join(lut_dir, 'IdxSelMemPhi.txt')),
35  IdxSelMemEtaLUTPath = cms.string(os.path.join(lut_dir, 'IdxSelMemEta.txt')),
36  FwdPosSingleMatchQualLUTPath = cms.string(''),
37  FwdNegSingleMatchQualLUTPath = cms.string(''),
38  OvlPosSingleMatchQualLUTPath = cms.string(''),
39  OvlNegSingleMatchQualLUTPath = cms.string(''),
40  BOPosMatchQualLUTPath = cms.string(''),
41  BONegMatchQualLUTPath = cms.string(''),
42  FOPosMatchQualLUTPath = cms.string(''),
43  FONegMatchQualLUTPath = cms.string(''),
44  BPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'BPhiExtrapolation.txt')),
45  OPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'OPhiExtrapolation.txt')),
46  FPhiExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'EPhiExtrapolation.txt')),
47  BEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'BEtaExtrapolation.txt')),
48  OEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'OEtaExtrapolation.txt')),
49  FEtaExtrapolationLUTPath = cms.string(os.path.join(lut_dir, 'EEtaExtrapolation.txt')),
50  SortRankLUTPath = cms.string(os.path.join(lut_dir, 'SortRank.txt')),
51 
52  FwdPosSingleMatchQualLUTMaxDR = cms.double(0.1),
53  FwdNegSingleMatchQualLUTMaxDR = cms.double(0.1),
54  OvlPosSingleMatchQualLUTMaxDR = cms.double(0.1),
55  OvlNegSingleMatchQualLUTMaxDR = cms.double(0.1),
56  BOPosMatchQualLUTMaxDR = cms.double(0.1),
57  BONegMatchQualLUTMaxDR = cms.double(0.1),
58  BOPosMatchQualLUTMaxDREtaFine = cms.double(0.1),
59  BONegMatchQualLUTMaxDREtaFine = cms.double(0.1),
60  FOPosMatchQualLUTMaxDR = cms.double(0.1),
61  FONegMatchQualLUTMaxDR = cms.double(0.1),
62 
63  SortRankLUTPtFactor = cms.uint32(1), # can be 0 or 1
64  SortRankLUTQualFactor = cms.uint32(4), # can be 0 to 34
65 )
66