Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-12 23:00:01

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Eras.Modifier_run3_2024_L1T_cff import run3_2024_L1T
0003 
0004 bmtfKalmanTrackingSettings = cms.PSet(
0005     verbose = cms.bool(False),  # 
0006     lutFile = cms.string("L1Trigger/L1TMuon/data/bmtf_luts/kalmanLUTs_v302.root"),
0007     initialK = cms.vdouble(-1.196,-1.581,-2.133,-2.263),
0008     initialK2 = cms.vdouble(-3.26e-4,-7.165e-4,2.305e-3,-5.63e-3),
0009 #    eLoss = cms.vdouble(-2.85e-4,-6.21e-5,-1.26e-4,-1.23e-4), 
0010     eLoss = cms.vdouble(+0.000765,0,0,0), 
0011 
0012     aPhi = cms.vdouble(1.942, .01511, .01476, .009799),
0013     aPhiB = cms.vdouble(-1.508,-0.1237,-0.1496,-0.1333),
0014     aPhiBNLO = cms.vdouble(0.000331,0,0,0),
0015 
0016     bPhi = cms.vdouble(-1,.18245,.20898,.17286),
0017     bPhiB = cms.vdouble(-1,1.18245,1.20898,1.17286),
0018     phiAt2 = cms.double(0.15918),
0019     etaLUT0 = cms.vdouble(8.946,7.508,6.279,6.399),
0020     etaLUT1 = cms.vdouble(0.159,0.116,0.088,0.128),
0021     #generic cuts
0022     chiSquare = cms.vdouble(0.0,0.109375,0.234375,0.359375),   
0023     chiSquareCutPattern = cms.vint32(7,11,13,14,15),
0024     chiSquareCutCurvMax = cms.vint32(2500,2500,2500,2500,2500),
0025     chiSquareCut = cms.vint32(126,126,126,126,126),
0026 
0027 
0028     #vertex cuts
0029     trackComp = cms.vdouble(1.75,1.25,0.625,0.250),   
0030     trackCompErr1 = cms.vdouble(2.0,2.0,2.0,2.0),   
0031     trackCompErr2 = cms.vdouble(0.218750,0.218750,0.218750,0.3125),   
0032     trackCompCutPattern = cms.vint32(3,5,6,9,10,12),   
0033     trackCompCutCurvMax = cms.vint32(34,34,34,34,34,34),   #this is shifted<<4
0034     trackCompCut        = cms.vint32(15,15,15,15,15,15),  
0035     chiSquareCutTight   = cms.vint32(40,126,60,126,126,126),  
0036 
0037     combos4=cms.vint32(9,10,11,12,13,14,15),
0038     combos3=cms.vint32(5,6,7),
0039     combos2=cms.vint32(3),
0040     combos1=cms.vint32(), #for future possible usage
0041 
0042     useOfflineAlgo = cms.bool(False),   
0043     ###Only for the offline algo -not in firmware --------------------
0044     mScatteringPhi = cms.vdouble(2.49e-3,5.47e-5,3.49e-5,1.37e-5),
0045     mScatteringPhiB = cms.vdouble(7.22e-3,3.461e-3,4.447e-3,4.12e-3),
0046     pointResolutionPhi = cms.double(1.),
0047     pointResolutionPhiB = cms.double(500.),
0048     pointResolutionPhiBH = cms.vdouble(151., 173., 155., 153.),
0049     pointResolutionPhiBL = cms.vdouble(17866., 19306., 23984., 23746.),
0050     pointResolutionVertex = cms.double(1.),
0051 
0052     useNewQualityCalculation = cms.bool(False),
0053 )
0054 run3_2024_L1T.toModify(
0055     bmtfKalmanTrackingSettings,
0056     useNewQualityCalculation = cms.bool(True),
0057 )
0058 
0059 
0060 simKBmtfDigis = cms.EDProducer("L1TMuonBarrelKalmanTrackProducer",
0061     src = cms.InputTag("simKBmtfStubs"),
0062     bx = cms.vint32(-2,-1,0,1,2),
0063 #    bx = cms.vint32(0),
0064     algoSettings = bmtfKalmanTrackingSettings,
0065     trackFinderSettings = cms.PSet(
0066         sectorsToProcess = cms.vint32(0,1,2,3,4,5,6,7,8,9,10,11),
0067         verbose = cms.int32(0),
0068         sectorSettings = cms.PSet(
0069 #            verbose = cms.int32(1),
0070             verbose = cms.int32(0),
0071             wheelsToProcess = cms.vint32(-2,-1,0,1,2),
0072             regionSettings = cms.PSet(
0073                 verbose=cms.int32(0)
0074             )
0075         )
0076         
0077     )
0078 )