From 8945429f46ab9d1ed14aafa11c684231ff2c653a Mon Sep 17 00:00:00 2001
From: Vakho Tsulaia <vakhtang.tsulaia@cern.ch>
Date: Wed, 1 Dec 2021 07:41:54 +0100
Subject: [PATCH] TrigMinBias: fix compiler warning

ATLAS coding standards require that the name of private non-static members
start with m_
---
 Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.cxx | 4 ++--
 Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.h   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.cxx b/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.cxx
index dc18d4b770c3..aa6ae1117fa2 100644
--- a/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.cxx
+++ b/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.cxx
@@ -30,8 +30,8 @@ StatusCode TrackCountHypoTool::decide(TrkCountsInfo &trkinfo) const
 	std::vector<int> counts;
 	trkinfo.counts->getDetail<std::vector<int>>("counts", counts);
 	if ( m_exclusive ) {
-		if ( counts[0] > ExclusivityThreshold ) {
-			ATH_MSG_DEBUG("Lowest pt tracks count " << counts[0] << " exceeds exclusivity cut, " <<  ExclusivityThreshold<<" rejecting");
+		if ( counts[0] > m_exclusivityThreshold ) {
+			ATH_MSG_DEBUG("Lowest pt tracks count " << counts[0] << " exceeds exclusivity cut, " <<  m_exclusivityThreshold<<" rejecting");
 			return StatusCode::SUCCESS;
 		}
 	}
diff --git a/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.h b/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.h
index 47a26feef86d..a728be7e7bb5 100644
--- a/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.h
+++ b/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.h
@@ -32,7 +32,7 @@ public:
     Gaudi::Property<float> m_maxZ0{this, "maxZ0",401, "Accept events with absolute value of vertex lower than this limit in mm"};
     Gaudi::Property<float> m_minNtrks{this, "minNtrks", 1, "Accept events with minimum (including that value) of this number of tracks, -1 means this cut is disabled"};
     Gaudi::Property<float> m_maxNtrks{this, "maxNtrks", -1, "Accept events with maximum (excluding that value) of this number of tracks, -1 means this cut is disabled"};
-    const int ExclusivityThreshold = 15;
+    const int m_exclusivityThreshold = 15;
     Gaudi::Property<bool> m_exclusive{this, "exclusive", false, "Apply exclusivity selection (less than Exclusivity cut low pt tracks & tracks within the range)"};
     Gaudi::Property<bool> m_acceptAll{this, "acceptAll", false, "Accept all events"};
   };
-- 
GitLab