From d5f0165d0d2784e82c97167e89a34dbd2377658d Mon Sep 17 00:00:00 2001
From: Patrick Scholer <patrick.scholer@cern.ch>
Date: Sat, 17 Feb 2024 19:05:14 +0100
Subject: [PATCH] adjust MM latency for data

adjust MM latency for data
---
 .../MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibTool.h   | 2 +-
 Tools/PROCTools/data/q449_AOD_digest.ref                  | 8 ++++----
 Tools/WorkflowTestRunner/python/References.py             | 2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibTool.h b/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibTool.h
index 9e5b5c53a077..5a0ad64f1f04 100644
--- a/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibTool.h
+++ b/MuonSpectrometer/MuonCalib/NSWCalib/NSWCalibTools/src/NSWCalibTool.h
@@ -88,7 +88,7 @@ namespace Muon {
     // these values should go into the conditions database, but introduce them as properties for now
     // they describe the shift of the time to get it into the VMM time window
     Gaudi::Property<float> m_mmLatencyMC{this,"mmLatencyMC",25};
-    Gaudi::Property<float> m_mmLatencyData{this,"mmLatencyData",50}; //this is temporary, need to align with what we find in data
+    Gaudi::Property<float> m_mmLatencyData{this,"mmLatencyData",0}; //tuned with 2023 data, should not change anymore. 
     
     Gaudi::Property<float> m_stgcLatencyMC{this,"stgcLatencyMC",-50};
     Gaudi::Property<float> m_stgcLatencyData{this,"stgcLatencyData",-50}; //this is temporary, need to align with what we find in data
diff --git a/Tools/PROCTools/data/q449_AOD_digest.ref b/Tools/PROCTools/data/q449_AOD_digest.ref
index a6a2e626101e..3d04eacba0b8 100644
--- a/Tools/PROCTools/data/q449_AOD_digest.ref
+++ b/Tools/PROCTools/data/q449_AOD_digest.ref
@@ -15,7 +15,7 @@
       431493  1096120001         388         576         116           8           1          14           0          14          18           0          18
       431493  1096122174         300         412          71           8           0           4           0           4          24           0          24
       431493  1096123090         426         538         144          10           0          20           0          20          28           0          28
-      431493  1096123254         484         682         117           8           2          14           0          14          27           0          27
+      431493  1096123254         484         682         117           8           1          14           0          14          27           0          27
       431493  1096123504         258         340          52           5           0           8           0           8          11           0          11
       431493  1096125003         349         449          84           7           0          10           0          10          17           0          17
       431493  1096125237         355         495          76           6           1           8           0           8          15           0          15
@@ -26,7 +26,7 @@
       431493  1096128475         167         251          30           5           0           1           0           1          11           0          11
       431493  1096128958         301         363          83           8           0          14           0          14          22           0          22
       431493  1096129516         301         434          33           4           1           2           0           2          12           0          12
-      431493  1096130319         317         516          75           6           1          11           0          11          15           0          15
+      431493  1096130319         317         516          75           6           0          11           0          11          15           0          15
       431493  1096130794         338         449         113           8           1          15           0          15          20           0          20
       431493  1096131620         403         575         133          10           1          14           0          14          27           0          27
       431493  1096131904         322         439          78           8           0          12           0          12           9           0           9
@@ -63,7 +63,7 @@
       431493  1096160558         245         366          38           3           0           2           0           2          10           0          10
       431493  1096161183         246         316          60           5           0          12           0          12           8           0           8
       431493  1096162191         346         390          14           2           1           1           0           1           8           0           8
-      431493  1096163035         343         447         114           9           1          15           0          15          25           0          25
+      431493  1096163035         343         447         114           9           0          15           0          15          25           0          25
       431493  1096163900         331         461          61           6           0          12           0          12          19           0          19
       431493  1096164842         306         435          45           5           1           3           0           3           9           0           9
       431493  1096167556         330         426          75           7           1           9           0           9          11           0          11
@@ -72,7 +72,7 @@
       431493  1096171788         303         440          58           4           1           9           0           9          12           0          12
       431493  1096171838         413         605         118           8           0          10           0          10          24           0          24
       431493  1096173554         313         423          46           5           1           4           0           4           9           0           9
-      431493  1096173910         352         570          98           7           0          11           0          11          10           0          10
+      431493  1096173910         352         570          98           7           1          11           0          11          10           0          10
       431493  1096176781         364         441          89          10           1          11           0          11          19           0          19
       431493  1096177006         306         383          37           4           0           7           0           7          11           0          11
       431493  1096177862         250         284          13           2           0           2           0           2          11           0          11
diff --git a/Tools/WorkflowTestRunner/python/References.py b/Tools/WorkflowTestRunner/python/References.py
index 4e024150fb5a..cd7c3731cecb 100644
--- a/Tools/WorkflowTestRunner/python/References.py
+++ b/Tools/WorkflowTestRunner/python/References.py
@@ -24,7 +24,7 @@ references_map = {
     "d1912": "v1",
     # Reco
     "q442": "v43",
-    "q449": "v66",
+    "q449": "v67",
     "q452": "v1",
     "q454": "v1",
     # Derivations
-- 
GitLab