From 30f2802a1063eb2931a024c641790835e65da97a Mon Sep 17 00:00:00 2001
From: Shaun Roe <shaun.roe@cern.ch>
Date: Wed, 21 Jul 2021 13:21:52 +0200
Subject: [PATCH] suppress false positive cppcheck

---
 .../InDetAlignmentMonitoring/src/IDAlignMonResiduals.cxx        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonResiduals.cxx b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonResiduals.cxx
index d3545fdd9072..f2580532d184 100644
--- a/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonResiduals.cxx
+++ b/InnerDetector/InDetMonitoring/InDetAlignmentMonitoring/src/IDAlignMonResiduals.cxx
@@ -4661,7 +4661,7 @@ void IDAlignMonResiduals::MakeSCTEndcapsHistograms(MonGroup& al_mon) {
 
 void IDAlignMonResiduals::MakeSiliconHistograms(MonGroup& al_mon) {
   //Barrel!!
-
+  //cppcheck-suppress publicAllocationError
   m_si_barrel_resX_mean = new TH1F("si_barrel_resX_mean", "Mean Residual X vs Silicon Barrel Layer;;Mean Residual X", m_siliconBarrelLayersLabels.size(), -0.5, m_siliconBarrelLayersLabels.size() - 0.5);
   m_si_barrel_resY_mean = new TH1F("si_barrel_resY_mean", "Mean Residual Y vs Silicon Barrel Layer;;Mean Residual Y", m_siliconBarrelLayersLabels.size(), -0.5, m_siliconBarrelLayersLabels.size() - 0.5);
   m_si_barrel_pullX_width = new TH1F("si_barrel_pullX_width", "Pull X Gaussian Width vs Silicon Barrel Layer;;Pull X Gaussian Width", m_siliconBarrelLayersLabels.size(), -0.5, m_siliconBarrelLayersLabels.size() - 0.5);
-- 
GitLab