From ecf320cb0da91399008fbb5f67d54da9ffc07758 Mon Sep 17 00:00:00 2001
From: Sebastien Ponce <sebastien.ponce@cern.ch>
Date: Fri, 10 Jan 2025 11:02:10 +0100
Subject: [PATCH] Fixed TriggerObjectsCompatibilityProfileChecker for gaudi v39

---
 ...ggerObjectsCompatibilityProfileChecker.cpp | 166 ++++++++++--------
 1 file changed, 90 insertions(+), 76 deletions(-)

diff --git a/Tr/TrackCheckers/src/TriggerObjectsCompatibilityProfileChecker.cpp b/Tr/TrackCheckers/src/TriggerObjectsCompatibilityProfileChecker.cpp
index 033c1dab639..f256ee62da0 100644
--- a/Tr/TrackCheckers/src/TriggerObjectsCompatibilityProfileChecker.cpp
+++ b/Tr/TrackCheckers/src/TriggerObjectsCompatibilityProfileChecker.cpp
@@ -14,7 +14,7 @@
 #include "Event/RecVertex.h"
 #include "Event/Track.h"
 #include "Event/TrackVertexUtils.h"
-#include "Gaudi/Accumulators/Histogram.h"
+#include "Gaudi/Accumulators/StaticHistogram.h"
 #include "LHCbAlgs/Consumer.h"
 #include "TrackCheckerBase.h"
 #include "TrackKernel/CubicStateInterpolationTraj.h"
@@ -40,154 +40,168 @@ public:
                    const LHCb::LinksByKey& linker_hlt2, const LHCb::RecVertices& hlt1_pvs,
                    const LHCb::RecVertices& hlt2_pvs ) const override;
 
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_hlt2_fitted_track{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_hlt2_fitted_track{
       this, "hlt2_fitted_track", "hlt2 fitted track", {2, 0, 2}};
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_hlt1_fitted_track{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_hlt1_fitted_track{
       this, "hlt1_fitted_track", "hlt1 fitted track", {2, 0, 2}};
 
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_numPVs_hlt1{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_numPVs_hlt1{
       this, "number_reconstructed_PVs_hlt1", "number_reconstructed_PVs_hlt1", {20, 0, 10}};
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_numPVs_hlt2{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_numPVs_hlt2{
       this, "number_reconstructed_PVs_hlt2", "number_reconstructed_PVs_hlt2", {20, 0, 10}};
-  mutable Gaudi::Accumulators::Histogram<1> m_probChi2_hlt1{this, "probChi2_hlt1", "probChi2_hlt1", {50, 0, 1.}};
-  mutable Gaudi::Accumulators::Histogram<1> m_probChi2_hlt2{this, "probChi2_hlt2", "probChi2_hlt2", {50, 0, 1.}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_probChi2_hlt1{this, "probChi2_hlt1", "probChi2_hlt1", {50, 0, 1.}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_probChi2_hlt2{this, "probChi2_hlt2", "probChi2_hlt2", {50, 0, 1.}};
 
-  mutable Gaudi::Accumulators::Histogram<1> m_chi2_hlt1{this, "chi2_hlt1", "chi2_hlt1", {100, 0, 200}};
-  mutable Gaudi::Accumulators::Histogram<1> m_chi2_hlt2{this, "chi2_hlt2", "chi2_hlt2", {100, 0, 200}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_chi2_hlt1{this, "chi2_hlt1", "chi2_hlt1", {100, 0, 200}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_chi2_hlt2{this, "chi2_hlt2", "chi2_hlt2", {100, 0, 200}};
 
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_ndof_hlt1{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_ndof_hlt1{
       this, "ndof_hlt1", "ndof_hlt1", {30, 0, 30}};
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_ndof_hlt2{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_ndof_hlt2{
       this, "ndof_hlt2", "ndof_hlt2", {30, 0, 30}};
 
-  mutable Gaudi::Accumulators::Histogram<1> m_chi2_ndof_hlt1{this, "chi2_ndof_hlt1", "chi2_ndof_hlt1", {100, 0, 50}};
-  mutable Gaudi::Accumulators::Histogram<1> m_chi2_ndof_hlt2{this, "chi2_ndof_hlt2", "chi2_ndof_hlt2", {100, 0, 50}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_chi2_ndof_hlt1{
+      this, "chi2_ndof_hlt1", "chi2_ndof_hlt1", {100, 0, 50}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_chi2_ndof_hlt2{
+      this, "chi2_ndof_hlt2", "chi2_ndof_hlt2", {100, 0, 50}};
 
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_type_hlt1{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_type_hlt1{
       this, "track_type_hlt1", "track_type_hlt1", {10, 0, 10}};
-  mutable Gaudi::Accumulators::Histogram<1, Gaudi::Accumulators::atomicity::full, int> m_type_hlt2{
+  mutable Gaudi::Accumulators::StaticHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_type_hlt2{
       this, "track_type_hlt2", "track_type_hlt2", {10, 0, 10}};
 
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaX{
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaX{
       this, "deltaX_first_state", "hlt2 - hlt1 x firstate", {100, -0.2, 0.2}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaY{
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaY{
       this, "deltaY_first_state", "hlt2 - hlt1 y firstate", {100, -0.2, 0.2}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaZ{
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaZ{
       this, "deltaZ_first_state", "hlt2 - hlt1 z firstate", {100, -2., 2.}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaTX{
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaTX{
       this, "deltaTX_first_state", "hlt2 - hlt1 tx firstate", {100, -0.005, 0.005}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaTY{
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaTY{
       this, "deltaTY_first_state", "hlt2 - hlt1 ty firstate", {100, -0.005, 0.005}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaQOP{
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaQOP{
       this, "deltaQOP_first_state", "hlt2 - hlt1 qop firstate", {100, -0.00005, 0.00005}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_2d_X{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_2d_X{
       this, "x_first_state_2d", "firstate_x;hlt1;hlt2", {100, -1., 1.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_2d_Y{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_2d_Y{
       this, "y_first_state_2d", "firstate_y;hlt1;hlt2", {100, -1., 1.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_2d_Z{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_2d_Z{
       this, "z_first_state_2d", "firstate_z;hlt1;hlt2", {100, -200., 600.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_2d_TX{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_2d_TX{
       this, "tx_first_state_2d", "firstate_tx;hlt1;hlt2", {100, -0.3, 0.3}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_2d_TY{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_2d_TY{
       this, "ty_first_state_2d", "firstate_ty;hlt1;hlt2", {100, -0.2, 0.2}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_2d_QOP{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_2d_QOP{
       this, "qop_first_state_2d", "firstate_qop;hlt1;hlt2", {100, -0.001, 0.001}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_2d_PT{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_2d_PT{
       this, "pt_first_state_2d", "firstate_pt;hlt1;hlt2", {100, 0., 10000.}};
 
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaIP3D{this, "recdeltaIP3D", "delta_recIP3D", {100, -0.5, 0.5}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaIPx{this, "recdeltaIPx", "delta_recIPx", {100, -0.5, 0.5}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaIPy{this, "recdeltaIPy", "delta_recIPy", {100, -0.5, 0.5}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaIP3D{this, "recdeltaIP3D", "delta_recIP3D", {100, -0.5, 0.5}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaIPx{this, "recdeltaIPx", "delta_recIPx", {100, -0.5, 0.5}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaIPy{this, "recdeltaIPy", "delta_recIPy", {100, -0.5, 0.5}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_IP3D{this, "recIP3D", "recIP3D;hlt1;hlt2", {100, 0., 1.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_IPx{this, "recIPx", "recIPx;hlt1;hlt2", {100, -1., 1.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_IPy{this, "recIPy", "recIPy;hlt1;hlt2", {100, -1., 1.}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_IP3D{this, "recIP3D", "recIP3D;hlt1;hlt2", {100, 0., 1.}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_IPx{this, "recIPx", "recIPx;hlt1;hlt2", {100, -1., 1.}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_IPy{this, "recIPy", "recIPy;hlt1;hlt2", {100, -1., 1.}};
 
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaIPxErr{this, "delta_recIPxErr", "delta_recIPxErr", {100, -0.2, 0.2}};
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaIPyErr{this, "delta_recIPyErr", "delta_recIPyErr", {100, -0.2, 0.2}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaIPxErr{
+      this, "delta_recIPxErr", "delta_recIPxErr", {100, -0.2, 0.2}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaIPyErr{
+      this, "delta_recIPyErr", "delta_recIPyErr", {100, -0.2, 0.2}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_IPxErr{this, "recIPxErr", "recIPxErr;hlt1;hlt2", {100, 0., 0.5}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_IPyErr{this, "recIPyErr", "recIPyErr;hlt1;hlt2", {100, 0., 0.5}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_IPxErr{
+      this, "recIPxErr", "recIPxErr;hlt1;hlt2", {100, 0., 0.5}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_IPyErr{
+      this, "recIPyErr", "recIPyErr;hlt1;hlt2", {100, 0., 0.5}};
 
-  mutable Gaudi::Accumulators::Histogram<1> m_deltaIPChi2{this, "delta_recIPChi2", "delta_recIPChi2", {100, -10., 10.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_IPChi2{this, "recIPChi2", "recIPChi2;hlt1;hlt2", {40, 0., 20.}};
+  mutable Gaudi::Accumulators::StaticHistogram<1> m_deltaIPChi2{
+      this, "delta_recIPChi2", "delta_recIPChi2", {100, -10., 10.}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_IPChi2{
+      this, "recIPChi2", "recIPChi2;hlt1;hlt2", {40, 0., 20.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_IPChi2_zoom{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_IPChi2_zoom{
       this, "recIPChi2_zoom", "recIPChi2_zoom;hlt1;hlt2", {20, 0., 2.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nTracksPerPV{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nTracksPerPV{
       this, "nTracksPerPV", "nTracksPV;hlt1;hlt2", {50, 0, 50}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nTracks{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nTracks{
       this, "nTracks", "nTracks;hlt1;hlt2", {50, 0, 100}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_X{this, "x_PV", "PVx;hlt1;hlt2", {100, -0.5, 0.5}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_Y{this, "y_PV", "PVy;hlt1;hlt2", {100, -0.5, 0.5}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_Z{this, "z_PV", "PVz;hlt1;hlt2", {100, -200., 200.}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_X{this, "x_PV", "PVx;hlt1;hlt2", {100, -0.5, 0.5}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_Y{this, "y_PV", "PVy;hlt1;hlt2", {100, -0.5, 0.5}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_Z{this, "z_PV", "PVz;hlt1;hlt2", {100, -200., 200.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_cov00{this, "cov00_PV", "PVcov00;hlt1;hlt2", {50, 0., 0.0001}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_cov01{this, "cov01_PV", "PVcov01;hlt1;hlt2", {50, -0.05, 0.05}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_cov02{this, "cov02_PV", "PVcov02;hlt1;hlt2", {50, -0.05, 0.05}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_cov00{
+      this, "cov00_PV", "PVcov00;hlt1;hlt2", {50, 0., 0.0001}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_cov01{
+      this, "cov01_PV", "PVcov01;hlt1;hlt2", {50, -0.05, 0.05}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_cov02{
+      this, "cov02_PV", "PVcov02;hlt1;hlt2", {50, -0.05, 0.05}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_cov11{this, "cov11_PV", "PVcov11;hlt1;hlt2", {50, -0.1, 0.1}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_cov12{this, "cov12_PV", "PVcov12;hlt1;hlt2", {50, -0.1, 0.1}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_cov11{
+      this, "cov11_PV", "PVcov11;hlt1;hlt2", {50, -0.1, 0.1}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_cov12{
+      this, "cov12_PV", "PVcov12;hlt1;hlt2", {50, -0.1, 0.1}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_PV_cov22{this, "cov22_PV", "PVcov12;hlt1;hlt2", {50, 0., 1.}};
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_PV_cov22{
+      this, "cov22_PV", "PVcov12;hlt1;hlt2", {50, 0., 1.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_X{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_X{
       this, "x_stAtVtx", "stAtVtx_x;hlt1;hlt2", {100, -1., 1.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_Y{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_Y{
       this, "y_stAtVtx", "stAtVtx_y;hlt1;hlt2", {100, -1., 1.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_Z{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_Z{
       this, "z_stAtVtx", "stAtVtx_z;hlt1;hlt2", {100, -200., 200.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_TX{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_TX{
       this, "tx_stAtVtx", "stAtVtx_tx;hlt1;hlt2", {100, -0.3, 0.3}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_TY{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_TY{
       this, "ty_stAtVtx", "stAtVtx_ty;hlt1;hlt2", {100, -0.2, 0.2}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_QOP{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_QOP{
       this, "qop_stAtVtx", "stAtVtx_qop;hlt1;hlt2", {100, -0.001, 0.001}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov00{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov00{
       this, "cov00_stAtVtx", "stAtVtxcov00;hlt1;hlt2", {50, 0., 0.01}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov01{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov01{
       this, "cov01_stAtVtx", "stAtVtxcov01;hlt1;hlt2", {50, -1, 10.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov02{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov02{
       this, "cov02_stAtVtx", "stAtVtxcov02;hlt1;hlt2", {50, -500., 500.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov03{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov03{
       this, "cov03_stAtVtx", "stAtVtxcov03;hlt1;hlt2", {50, -10., 10.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov04{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov04{
       this, "cov04_stAtVtx", "stAtVtxcov04;hlt1;hlt2", {50, -10., 10.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov11{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov11{
       this, "cov11_stAtVtx", "stAtVtxcov11;hlt1;hlt2", {50, 0., 10.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov12{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov12{
       this, "cov12_stAtVtx", "stAtVtxcov12;hlt1;hlt2", {50, -500., 500.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov13{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov13{
       this, "cov13_stAtVtx", "stAtVtxcov13;hlt1;hlt2", {50, -1., 1.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov14{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov14{
       this, "cov14_stAtVtx", "stAtVtxcov14;hlt1;hlt2", {50, -1., 0.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov22{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov22{
       this, "cov22_stAtVtx", "stAtVtxcov22;hlt1;hlt2", {50, -500., 500.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov23{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov23{
       this, "cov23_stAtVtx", "stAtVtxcov23;hlt1;hlt2", {50, -500., 500.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov24{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov24{
       this, "cov24_stAtVtx", "stAtVtxcov24;hlt1;hlt2", {50, -500., 500.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov33{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov33{
       this, "cov33_stAtVtx", "stAtVtxcov33;hlt1;hlt2", {50, 0., 500.}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov34{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov34{
       this, "cov34_stAtVtx", "stAtVtxcov34;hlt1;hlt2", {50, -1000., 1000.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1> m_stAtVtx_cov44{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1> m_stAtVtx_cov44{
       this, "cov44_stAtVtx", "stAtVtxcov44;hlt1;hlt2", {50, 0., 800.}};
 
-  mutable Gaudi::Accumulators::ProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nVPHits{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nVPHits{
       this, "nVPHits", "nVPHits;hlt1;hlt2", {21, 0, 21}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nUTHits{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nUTHits{
       this, "nUTHits", "nUTHits;hlt1;hlt2", {4, 0, 4}};
-  mutable Gaudi::Accumulators::ProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nFTHits{
+  mutable Gaudi::Accumulators::StaticProfileHistogram<1, Gaudi::Accumulators::atomicity::full, int> m_nFTHits{
       this, "nFTHits", "nFTHits;hlt1;hlt2", {16, 0, 16}};
 };
 // Difference between LHCb::Tracks and LHCb::Track::Range?
-- 
GitLab