diff --git a/DDCore/include/XML/UnicodeValues.h b/DDCore/include/XML/UnicodeValues.h index c571231bd5f3ba56f8787da88cde548b210a791c..56ad5851903125106715548d30a2e38839fa2da6 100644 --- a/DDCore/include/XML/UnicodeValues.h +++ b/DDCore/include/XML/UnicodeValues.h @@ -252,6 +252,7 @@ namespace DD4hep { namespace XML { UNICODE(particles); UNICODE(phi); UNICODE(phi0); + UNICODE(phi1); UNICODE(phi_tilt); UNICODE(phiBins); UNICODE(phi_size_max); diff --git a/DDCore/include/XML/XMLDimension.h b/DDCore/include/XML/XMLDimension.h index b5fc9cd2bb0a7641f6edbae6d5fac6238838e059..586f46951439cde921213362baac8c2849179715 100644 --- a/DDCore/include/XML/XMLDimension.h +++ b/DDCore/include/XML/XMLDimension.h @@ -85,6 +85,10 @@ namespace DD4hep { double phi0() const; /// Access parameters: phi0, if not present returns default double phi0(double default_value) const; + /// Access rotation constants: phi1 + double phi1() const; + /// Access parameters: phi1, if not present returns default + double phi1(double default_value) const; /// Access rotation constants: psi double psi() const; diff --git a/DDCore/src/XML/XMLDimension.cpp b/DDCore/src/XML/XMLDimension.cpp index 9048df2e3ae5ea56f32d26caafe0013bbc353363..b5274b6617e8038059a8fabc84631fc400f5b598 100644 --- a/DDCore/src/XML/XMLDimension.cpp +++ b/DDCore/src/XML/XMLDimension.cpp @@ -104,6 +104,8 @@ XML_ATTR_ACCESSOR(int,id) XML_ATTR_ACCESSOR(int,phiBins) XML_ATTR_ACCESSOR(double,phi0) XML_ATTR_ACCESSOR_DOUBLE(phi0) + XML_ATTR_ACCESSOR(double,phi1) + XML_ATTR_ACCESSOR_DOUBLE(phi1) XML_ATTR_ACCESSOR(double,deltaphi)