Skip to content
Snippets Groups Projects
Commit 4add80ef authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'SurfaceUnique_ptr_move_to_surface' into 'master'

SurfaceUniquePtrT move to TrkEventPrimitives

See merge request atlas/athena!34910
parents 5a055227 576782ac
No related branches found
No related tags found
No related merge requests found
...@@ -16,10 +16,10 @@ ...@@ -16,10 +16,10 @@
#include "TrkEventPrimitives/LocalParameters.h" #include "TrkEventPrimitives/LocalParameters.h"
#include "TrkEventPrimitives/ParamDefs.h" #include "TrkEventPrimitives/ParamDefs.h"
#include "TrkEventPrimitives/PropDirection.h" #include "TrkEventPrimitives/PropDirection.h"
#include "TrkEventPrimitives/SurfaceUniquePtrT.h"
#include "TrkParametersBase/Charged.h" #include "TrkParametersBase/Charged.h"
#include "TrkParametersBase/Neutral.h" #include "TrkParametersBase/Neutral.h"
#include "TrkParametersBase/ParametersBase.h" #include "TrkParametersBase/ParametersBase.h"
#include "TrkParametersBase/SurfaceUniquePtrT.h"
#include "TrkSurfaces/BoundaryCheck.h" #include "TrkSurfaces/BoundaryCheck.h"
#include "TrkSurfaces/DistanceSolution.h" #include "TrkSurfaces/DistanceSolution.h"
// Amg // Amg
......
...@@ -13,13 +13,11 @@ ...@@ -13,13 +13,11 @@
*/ */
#ifndef TRKPARAMETERSBASE_SURFACEUNIQUEPTRT_H #ifndef TRKEVENTPRIMITIVES_SURFACEUNIQUEPTRT_H
#define TRKPARAMETERSBASE_SURFACEUNIQUEPTRT_H #define TRKEVENTPRIMITIVES_SURFACEUNIQUEPTRT_H
namespace Trk { namespace Trk {
template <class S> template <class S>
class SurfaceDeleter class SurfaceDeleter
{ {
...@@ -29,12 +27,9 @@ public: ...@@ -29,12 +27,9 @@ public:
} }
}; };
template <class S> template <class S>
using SurfaceUniquePtrT = std::unique_ptr<S, SurfaceDeleter<S> >; using SurfaceUniquePtrT = std::unique_ptr<S, SurfaceDeleter<S> >;
} // namespace Trk } // namespace Trk
#endif
#endif // not TRKPARAMETERSBASE_SURFACEUNIQUEPTRT_H
...@@ -9,17 +9,14 @@ ...@@ -9,17 +9,14 @@
#ifndef TRKPARAMETERSBASE_CURVILINEARPARAMETERS_T_H #ifndef TRKPARAMETERSBASE_CURVILINEARPARAMETERS_T_H
#define TRKPARAMETERSBASE_CURVILINEARPARAMETERS_T_H #define TRKPARAMETERSBASE_CURVILINEARPARAMETERS_T_H
// STL #include "TrkParametersBase/ParametersBase.h"
#include <memory>
// Amg
#include "EventPrimitives/EventPrimitives.h" #include "EventPrimitives/EventPrimitives.h"
#include "GeoPrimitives/GeoPrimitives.h" #include "GeoPrimitives/GeoPrimitives.h"
// Tracking includes
#include "TrkEventPrimitives/CurvilinearUVT.h" #include "TrkEventPrimitives/CurvilinearUVT.h"
#include "TrkParametersBase/ParametersBase.h" #include "TrkEventPrimitives/SurfaceUniquePtrT.h"
#include "TrkParametersBase/SurfaceUniquePtrT.h"
#include <memory>
class MsgStream; class MsgStream;
namespace Trk { namespace Trk {
......
...@@ -9,12 +9,10 @@ ...@@ -9,12 +9,10 @@
#ifndef TRKPARAMETERSBASE_PARAMETERS_T_H #ifndef TRKPARAMETERSBASE_PARAMETERS_T_H
#define TRKPARAMETERSBASE_PARAMETERS_T_H #define TRKPARAMETERSBASE_PARAMETERS_T_H
// Trk includes
#include "TrkParametersBase/ParametersBase.h" #include "TrkParametersBase/ParametersBase.h"
// Amg
#include "EventPrimitives/EventPrimitives.h" #include "EventPrimitives/EventPrimitives.h"
#include "GeoPrimitives/GeoPrimitives.h" #include "GeoPrimitives/GeoPrimitives.h"
#include "TrkParametersBase/SurfaceUniquePtrT.h" #include "TrkEventPrimitives/SurfaceUniquePtrT.h"
/* /*
* Needed for persistency * Needed for persistency
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment