YODA::XDirectionMixin< Derived > Struct Template Reference CRTP mixin introducing convenience aliases along X axis. More...
Detailed Descriptiontemplate<class Derived> struct YODA::XDirectionMixin< Derived > CRTP mixin introducing convenience aliases along X axis. Definition at line 18 of file PointUtils.h. Member Function Documentation◆ scaleX()
template<class Derived >
Scaling of x axis. Definition at line 129 of file PointUtils.h. 129 {
132 }
References YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setXErrs(), YODA::XDirectionMixin< Derived >::x(), YODA::XDirectionMixin< Derived >::xErrMinus(), and YODA::XDirectionMixin< Derived >::xErrPlus(). ◆ setX() [1/4]
template<class Derived >
Set the x value. Definition at line 29 of file PointUtils.h. References YODA::XDirectionMixin< Derived >::x(). Referenced by YODA::XDirectionMixin< Derived >::scaleX(), YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setX(), and YODA::XDirectionMixin< Derived >::setX(). ◆ setX() [2/4]
template<class Derived >
Set x value and symmetric error. Definition at line 106 of file PointUtils.h. 106 {
108 setXErr(ex);
109 }
References YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setXErr(), and YODA::XDirectionMixin< Derived >::x(). ◆ setX() [3/4]
template<class Derived >
Set x value and asymmetric error. Definition at line 112 of file PointUtils.h. References YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setXErrs(), and YODA::XDirectionMixin< Derived >::x(). ◆ setX() [4/4]
template<class Derived >
Set x value and asymmetric error. Definition at line 118 of file PointUtils.h. References YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setXErrs(), and YODA::XDirectionMixin< Derived >::x(). ◆ setXErr()
template<class Derived >
Set symmetric x error. Definition at line 69 of file PointUtils.h. 69 {
70 setXErrMinus(ex);
71 setXErrPlus(ex);
72 }
References YODA::XDirectionMixin< Derived >::setXErrMinus(), and YODA::XDirectionMixin< Derived >::setXErrPlus(). Referenced by YODA::XDirectionMixin< Derived >::setX(), and YODA::XDirectionMixin< Derived >::setXErrs(). ◆ setXErrMinus()
template<class Derived >
Set the minus x errors. Definition at line 59 of file PointUtils.h. 59 {
60 static_cast<Derived*>(this)->setErrMinus(0, err);
61 }
Referenced by YODA::XDirectionMixin< Derived >::setXErr(). ◆ setXErrPlus()
template<class Derived >
Set the plus x errors. Definition at line 64 of file PointUtils.h. 64 {
65 static_cast<Derived*>(this)->setErrPlus(0, err);
66 }
Referenced by YODA::XDirectionMixin< Derived >::setXErr(). ◆ setXErrs() [1/3]
template<class Derived >
Set the x errors. Definition at line 80 of file PointUtils.h. 80 {
81 static_cast<Derived*>(this)->setErrs(0, {errminus, errplus});
82 }
◆ setXErrs() [2/3]
template<class Derived >
Set symmetric x error (alias) Definition at line 75 of file PointUtils.h. References YODA::XDirectionMixin< Derived >::setXErr(). Referenced by YODA::XDirectionMixin< Derived >::scaleX(), YODA::XDirectionMixin< Derived >::setX(), and YODA::XDirectionMixin< Derived >::setX(). ◆ setXErrs() [3/3]
template<class Derived >
Set the x errors. Definition at line 85 of file PointUtils.h. 85 {
86 static_cast<Derived*>(this)->setErrs(0, errs);
87 }
◆ x()
template<class Derived >
Get x value. Definition at line 24 of file PointUtils.h. 24 {
25 return static_cast<const Derived*>(this)->vals()[0];
26 }
Referenced by YODA::XDirectionMixin< Derived >::scaleX(), YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setX(), YODA::XDirectionMixin< Derived >::setX(), and YODA::XDirectionMixin< Derived >::xMin(). ◆ xErrAvg()
template<class Derived >
Definition at line 54 of file PointUtils.h. 54 {
55 return static_cast<const Derived*>(this)->errAvg(0);
56 }
◆ xErrMinus()
template<class Derived >
Get minus x error. Definition at line 44 of file PointUtils.h. 44 {
45 return static_cast<const Derived*>(this)->errMinus(0);
46 }
Referenced by YODA::XDirectionMixin< Derived >::scaleX(), and YODA::XDirectionMixin< Derived >::xMin(). ◆ xErrPlus()
template<class Derived >
Get plus x error. Definition at line 49 of file PointUtils.h. 49 {
50 return static_cast<const Derived*>(this)->errPlus(0);
51 }
Referenced by YODA::XDirectionMixin< Derived >::scaleX(). ◆ xErrs()
template<class Derived >
Get x error pair. Definition at line 39 of file PointUtils.h. 39 {
40 return static_cast<const Derived*>(this)->errs(0);
41 }
◆ xMax()
template<class Derived >
Get value plus positive x-error. Definition at line 96 of file PointUtils.h. 96 {
97 return static_cast<const Derived*>(this)->max(0);
98 }
◆ xMin()
template<class Derived >
Get value minus negative x-error. Definition at line 90 of file PointUtils.h. References YODA::XDirectionMixin< Derived >::x(), and YODA::XDirectionMixin< Derived >::xErrMinus(). The documentation for this struct was generated from the following file:
Generated on Mon Oct 28 2024 13:47:24 for YODA - Yet more Objects for Data Analysis by 1.9.8 |