From 990a909dfaaddef19ffad827db3e1799850cc8a5 Mon Sep 17 00:00:00 2001
From: Vadim Kostyukhin <vkost@cern.ch>
Date: Tue, 4 Nov 2014 10:08:04 +0100
Subject: [PATCH] m_SVOwnership becomes mutable (VxSecVertex-00-04-04)

	* m_SVOwnership is mutable
	* Tagged as VxSecVertex-00-04-04

2014-08-15  Marcin Nowak  <Marcin.Nowak@cern.ch>
	* VxSecVertex\VxSecVertexDict.h: add #include "TrackParticle.h" for ROOT6
	* Tagged as VxSecVertex-00-04-03
---
 Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexDict.h | 4 ++++
 Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexInfo.h | 4 ++--
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexDict.h b/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexDict.h
index 0f4da1d653f5..0333ca729c04 100755
--- a/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexDict.h
+++ b/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexDict.h
@@ -9,4 +9,8 @@
 #include "VxSecVertex/VxSecVKalVertexInfo.h"
 #include "VxSecVertex/VxJetFitterVertexInfo.h"
 
+// MN: ROOT6 needs that
+#include "xAODTracking/TrackParticle.h"
+
+
 #endif
diff --git a/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexInfo.h b/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexInfo.h
index 92dfaa80c053..415069c4bcff 100755
--- a/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexInfo.h
+++ b/Tracking/TrkEvent/VxSecVertex/VxSecVertex/VxSecVertexInfo.h
@@ -68,12 +68,12 @@ namespace Trk {
     /* set the list of Vertices */
     void setVertices(const std::vector<xAOD::Vertex*> &);
 
-    void getSVOwnership(bool Ownership){ m_SVOwnership=Ownership; }
+    void getSVOwnership(bool Ownership) const { m_SVOwnership=Ownership; }
 
   protected:
 
     std::vector<xAOD::Vertex*> m_vertices;
-    bool m_SVOwnership;
+    mutable bool m_SVOwnership;
 
   };
 
-- 
GitLab