Skip to content
Snippets Groups Projects
Commit 14ecd763 authored by Frank Gaede's avatar Frank Gaede
Browse files

- added xml parameter phi1

parent 3780e358
No related branches found
No related tags found
No related merge requests found
...@@ -252,6 +252,7 @@ namespace DD4hep { namespace XML { ...@@ -252,6 +252,7 @@ namespace DD4hep { namespace XML {
UNICODE(particles); UNICODE(particles);
UNICODE(phi); UNICODE(phi);
UNICODE(phi0); UNICODE(phi0);
UNICODE(phi1);
UNICODE(phi_tilt); UNICODE(phi_tilt);
UNICODE(phiBins); UNICODE(phiBins);
UNICODE(phi_size_max); UNICODE(phi_size_max);
......
...@@ -85,6 +85,10 @@ namespace DD4hep { ...@@ -85,6 +85,10 @@ namespace DD4hep {
double phi0() const; double phi0() const;
/// Access parameters: phi0, if not present returns default /// Access parameters: phi0, if not present returns default
double phi0(double default_value) const; 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 /// Access rotation constants: psi
double psi() const; double psi() const;
......
...@@ -104,6 +104,8 @@ XML_ATTR_ACCESSOR(int,id) ...@@ -104,6 +104,8 @@ XML_ATTR_ACCESSOR(int,id)
XML_ATTR_ACCESSOR(int,phiBins) XML_ATTR_ACCESSOR(int,phiBins)
XML_ATTR_ACCESSOR(double,phi0) XML_ATTR_ACCESSOR(double,phi0)
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) XML_ATTR_ACCESSOR(double,deltaphi)
......
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