From 2edabdcb2c9114f4b2e8b11ff6af7979bb0af8a1 Mon Sep 17 00:00:00 2001
From: Matthew Basso <matthew.joseph.basso@cern.ch>
Date: Tue, 28 Apr 2020 16:51:47 +0200
Subject: [PATCH] Reorder initialization to remove warnings

---
 .../InDetPhysValMonitoring/src/InDetRttPlots.cxx              | 4 ++--
 .../InDetPhysValMonitoring/src/InDetRttPlots.h                | 4 +---
 2 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.cxx b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.cxx
index e02c07ec2ea..c9b438103fb 100644
--- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.cxx
+++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.cxx
@@ -23,15 +23,15 @@ InDetRttPlots::InDetRttPlots(InDetPlotBase* pParent, const std::string& sDir) :
   m_fakePlots(this, "Tracks/FakeRate"),
   m_missingTruthFakePlots(this, "Tracks/Unlinked/FakeRate"),
   m_resolutionPlotPrim(this, "Tracks/Matched/Resolutions/Primary"),
-  m_resolutionPlotSecd(nullptr),
   m_hitsRecoTracksPlots(this, "Tracks/Selected/HitsOnTracks"),
   m_effPlots(this, "Tracks/Efficiency"),
   m_verticesVsMuPlots(this, "Vertices/AllPrimaryVertices"),
   m_vertexPlots(this, "Vertices/AllPrimaryVertices"),
   m_hardScatterVertexPlots(this, "Vertices/HardScatteringVertex"),
   m_hardScatterVertexTruthMatchingPlots(this, "Vertices/HardScatteringVertex"),
+  m_resolutionPlotSecd(nullptr),
   m_doTrackInJetPlots(true) //FIX CONFIGURATION
-  {
+{
   m_trackParticleTruthProbKey = "truthMatchProbability";
   m_truthProbLowThreshold = 0.5;
   
diff --git a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.h b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.h
index 97ce641fefb..fd1bb3e8ed3 100644
--- a/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.h
+++ b/InnerDetector/InDetValidation/InDetPhysValMonitoring/src/InDetRttPlots.h
@@ -86,17 +86,15 @@ private:
   InDetPerfPlot_Resolution m_resolutionPlotPrim;
   InDetPerfPlot_Hits m_hitsRecoTracksPlots;
   InDetPerfPlot_Efficiency m_effPlots;
-
   InDetPerfPlot_VerticesVsMu m_verticesVsMuPlots;
   InDetPerfPlot_Vertex m_vertexPlots;
   InDetPerfPlot_Vertex m_hardScatterVertexPlots;
   InDetPerfPlot_VertexTruthMatching m_hardScatterVertexTruthMatchingPlots;
 
-  bool m_doTrackInJetPlots;
-
   std::unique_ptr<InDetPerfPlot_Resolution> m_resolutionPlotSecd;
   std::unique_ptr<InDetPerfPlot_Hits> m_hitsMatchedTracksPlots;
   std::unique_ptr<InDetPerfPlot_VertexTruthMatching> m_vertexTruthMatchingPlots;
+  bool m_doTrackInJetPlots;
   std::unique_ptr<InDetPerfPlot_TrkInJet> m_trkInJetPlots;
 
   std::string m_trackParticleTruthProbKey;
-- 
GitLab