diff --git a/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.cxx b/Trigger/TrigAlgorithms/TrigMinBias/src/TrackCountHypoTool.cxx index dc18d4b770c35af57e99f80bfb5382f03c785d04..aa6ae1117fa2aa1e4cc45db5beebb8db67f20e90 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 47a26feef86dc581d10dcfbe8eaeda7bc2259cfa..a728be7e7bb58a510f41f0ca82f0221fd360c1f8 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"}; };