Juggler
Juggling algorithms and event processing using gaudi framework
Vectors.hpp
Go to the documentation of this file.
1 // SPDX-License-Identifier: LGPL-3.0-or-later
2 // Copyright (C) 2022 Whitney Armstrong
3 
4 #ifndef JUGBASE_VectorHelpers_HH
5 #define JUGBASE_VectorHelpers_HH
6 
7 
8 #include "Acts/Definitions/Units.hpp"
9 #include "Acts/Definitions/Algebra.hpp"
10 #include "DD4hep/DD4hepUnits.h"
11 #include "DD4hep/Objects.h"
12 
13 
14 namespace Jug::Helpers {
15 
16  // Need some time to think about these...
17  //template<typename T>
18  //struct VectorToActs : public T {
19  // VectorToActs(const T& v) : T(v) {}
20  // operator Acts::Vector3() const {return {this->x(), this->y(), this->z()};}
21  //};
22 
23  //template<typename T>
24  //struct ArrayToRoot : public T {
25  // ArrayToRoot(const T& v) : T(v) {}
26  // operator ROOT::Math::XYZVector() const {return {(*this)[0], (*this)[1], (*this)[1]}; }
27  //};
28 
29 }
30 
31 
32 #endif
Jug::Helpers
Definition: Vectors.hpp:14