CMS 3D CMS Logo

simKBmtfDigis_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 from Configuration.Eras.Modifier_run3_2024_L1T_cff import run3_2024_L1T
3 
4 bmtfKalmanTrackingSettings = cms.PSet(
5  verbose = cms.bool(False), #
6  lutFile = cms.string("L1Trigger/L1TMuon/data/bmtf_luts/kalmanLUTs_v302.root"),
7  initialK = cms.vdouble(-1.196,-1.581,-2.133,-2.263),
8  initialK2 = cms.vdouble(-3.26e-4,-7.165e-4,2.305e-3,-5.63e-3),
9 # eLoss = cms.vdouble(-2.85e-4,-6.21e-5,-1.26e-4,-1.23e-4),
10  eLoss = cms.vdouble(+0.000765,0,0,0),
11 
12  aPhi = cms.vdouble(1.942, .01511, .01476, .009799),
13  aPhiB = cms.vdouble(-1.508,-0.1237,-0.1496,-0.1333),
14  aPhiBNLO = cms.vdouble(0.000331,0,0,0),
15 
16  bPhi = cms.vdouble(-1,.18245,.20898,.17286),
17  bPhiB = cms.vdouble(-1,1.18245,1.20898,1.17286),
18  phiAt2 = cms.double(0.15918),
19  etaLUT0 = cms.vdouble(8.946,7.508,6.279,6.399),
20  etaLUT1 = cms.vdouble(0.159,0.116,0.088,0.128),
21  #generic cuts
22  chiSquare = cms.vdouble(0.0,0.109375,0.234375,0.359375),
23  chiSquareCutPattern = cms.vint32(7,11,13,14,15),
24  chiSquareCutCurvMax = cms.vint32(2500,2500,2500,2500,2500),
25  chiSquareCut = cms.vint32(126,126,126,126,126),
26 
27 
28  #vertex cuts
29  trackComp = cms.vdouble(1.75,1.25,0.625,0.250),
30  trackCompErr1 = cms.vdouble(2.0,2.0,2.0,2.0),
31  trackCompErr2 = cms.vdouble(0.218750,0.218750,0.218750,0.3125),
32  trackCompCutPattern = cms.vint32(3,5,6,9,10,12),
33  trackCompCutCurvMax = cms.vint32(34,34,34,34,34,34), #this is shifted<<4
34  trackCompCut = cms.vint32(15,15,15,15,15,15),
35  chiSquareCutTight = cms.vint32(40,126,60,126,126,126),
36 
37  combos4=cms.vint32(9,10,11,12,13,14,15),
38  combos3=cms.vint32(5,6,7),
39  combos2=cms.vint32(3),
40  combos1=cms.vint32(), #for future possible usage
41 
42  useOfflineAlgo = cms.bool(False),
43 
44  mScatteringPhi = cms.vdouble(2.49e-3,5.47e-5,3.49e-5,1.37e-5),
45  mScatteringPhiB = cms.vdouble(7.22e-3,3.461e-3,4.447e-3,4.12e-3),
46  pointResolutionPhi = cms.double(1.),
47  pointResolutionPhiB = cms.double(500.),
48  pointResolutionPhiBH = cms.vdouble(151., 173., 155., 153.),
49  pointResolutionPhiBL = cms.vdouble(17866., 19306., 23984., 23746.),
50  pointResolutionVertex = cms.double(1.),
51 
52  useNewQualityCalculation = cms.bool(False),
53 )
54 run3_2024_L1T.toModify(
55  bmtfKalmanTrackingSettings,
56  useNewQualityCalculation = cms.bool(True),
57 )
58 
59 
60 simKBmtfDigis = cms.EDProducer("L1TMuonBarrelKalmanTrackProducer",
61  src = cms.InputTag("simKBmtfStubs"),
62  bx = cms.vint32(-2,-1,0,1,2),
63 # bx = cms.vint32(0),
64  algoSettings = bmtfKalmanTrackingSettings,
65  trackFinderSettings = cms.PSet(
66  sectorsToProcess = cms.vint32(0,1,2,3,4,5,6,7,8,9,10,11),
67  verbose = cms.int32(0),
68  sectorSettings = cms.PSet(
69 # verbose = cms.int32(1),
70  verbose = cms.int32(0),
71  wheelsToProcess = cms.vint32(-2,-1,0,1,2),
72  regionSettings = cms.PSet(
73  verbose=cms.int32(0)
74  )
75  )
76 
77  )
78 )