diff --git a/DDCore/src/GrammarTypes.cpp b/DDCore/src/GrammarTypes.cpp index eee5971c8ed90a7f87fc8b971b41ca769aa590bf..0a7136e49fde54da9f5e0a19205a7972be5c06f1 100644 --- a/DDCore/src/GrammarTypes.cpp +++ b/DDCore/src/GrammarTypes.cpp @@ -26,7 +26,9 @@ #include <Math/Vector3D.h> namespace ROOT { + namespace Math { + /// Allow point insertion of a point in maps bool operator<(const XYZPoint& a, const XYZPoint& b); /// Allow 3-vector insertion of a in maps @@ -35,6 +37,7 @@ namespace ROOT { bool operator<(const PxPyPzEVector& a, const PxPyPzEVector& b); } } + DD4HEP_DEFINE_PARSER_GRAMMAR_ROOTMATH(ROOT::Math::XYZPoint,eval_obj) DD4HEP_DEFINE_PARSER_GRAMMAR_ROOTMATH(ROOT::Math::XYZVector,eval_obj) DD4HEP_DEFINE_PARSER_GRAMMAR_ROOTMATH(ROOT::Math::PxPyPzEVector,eval_obj)