YODA::ZDirectionMixin< Derived > Struct Template Reference CRTP mixin introducing convenience aliases along Z axis. More...
Detailed Descriptiontemplate<class Derived> struct YODA::ZDirectionMixin< Derived > CRTP mixin introducing convenience aliases along Z axis. Definition at line 281 of file PointUtils.h. Member Function Documentation◆ scaleZ()
template<class Derived >
Scaling of z axis. Definition at line 398 of file PointUtils.h. 398 {
401 }
References YODA::ZDirectionMixin< Derived >::setZ(), YODA::ZDirectionMixin< Derived >::setZErrs(), YODA::ZDirectionMixin< Derived >::z(), YODA::ZDirectionMixin< Derived >::zErrMinus(), and YODA::ZDirectionMixin< Derived >::zErrPlus(). ◆ setXYZ()
template<class Derived >
Set x and y values. Definition at line 297 of file PointUtils.h. 297 {
298 static_cast<Derived*>(this)->setVal(0, x);
299 static_cast<Derived*>(this)->setVal(1, y);
301 }
References YODA::ZDirectionMixin< Derived >::z(). ◆ setZ() [1/4]
template<class Derived >
Set the y value. Definition at line 292 of file PointUtils.h. References YODA::ZDirectionMixin< Derived >::z(). Referenced by YODA::ZDirectionMixin< Derived >::scaleZ(), YODA::ZDirectionMixin< Derived >::setZ(), YODA::ZDirectionMixin< Derived >::setZ(), and YODA::ZDirectionMixin< Derived >::setZ(). ◆ setZ() [2/4]
template<class Derived >
Set z value and symmetric error. Definition at line 375 of file PointUtils.h. 375 {
377 setZErr(ez);
378 }
References YODA::ZDirectionMixin< Derived >::setZ(), YODA::ZDirectionMixin< Derived >::setZErr(), and YODA::ZDirectionMixin< Derived >::z(). ◆ setZ() [3/4]
template<class Derived >
Set y value and asymmetric error. Definition at line 381 of file PointUtils.h. References YODA::ZDirectionMixin< Derived >::setZ(), YODA::ZDirectionMixin< Derived >::setZErrs(), and YODA::ZDirectionMixin< Derived >::z(). ◆ setZ() [4/4]
template<class Derived >
Set z value and asymmetric error. Definition at line 387 of file PointUtils.h. References YODA::ZDirectionMixin< Derived >::setZ(), YODA::ZDirectionMixin< Derived >::setZErrs(), and YODA::ZDirectionMixin< Derived >::z(). ◆ setZErr()
template<class Derived >
Set symmetric z error. Definition at line 339 of file PointUtils.h. 339 {
340 setZErrMinus(ez);
341 setZErrPlus(ez);
342 }
References YODA::ZDirectionMixin< Derived >::setZErrMinus(), and YODA::ZDirectionMixin< Derived >::setZErrPlus(). Referenced by YODA::ZDirectionMixin< Derived >::setZ(), and YODA::ZDirectionMixin< Derived >::setZErrs(). ◆ setZErrMinus()
template<class Derived >
Set the minus z errors. Definition at line 329 of file PointUtils.h. 329 {
330 static_cast<Derived*>(this)->setErrMinus(2, err);
331 }
Referenced by YODA::ZDirectionMixin< Derived >::setZErr(). ◆ setZErrPlus()
template<class Derived >
Set the plus y errors. Definition at line 334 of file PointUtils.h. 334 {
335 static_cast<Derived*>(this)->setErrPlus(2, err);
336 }
Referenced by YODA::ZDirectionMixin< Derived >::setZErr(). ◆ setZErrs() [1/3]
template<class Derived >
Set the z errors. Definition at line 350 of file PointUtils.h. 350 {
351 static_cast<Derived*>(this)->setErrs(2, {errminus, errplus});
352 }
◆ setZErrs() [2/3]
template<class Derived >
Set symmetric z error (alias) Definition at line 345 of file PointUtils.h. References YODA::ZDirectionMixin< Derived >::setZErr(). Referenced by YODA::ZDirectionMixin< Derived >::scaleZ(), YODA::ZDirectionMixin< Derived >::setZ(), and YODA::ZDirectionMixin< Derived >::setZ(). ◆ setZErrs() [3/3]
template<class Derived >
Set the z errors. Definition at line 355 of file PointUtils.h. 355 {
356 static_cast<Derived*>(this)->setErrs(2, errs);
357 }
◆ z()
template<class Derived >
Get z value. Definition at line 287 of file PointUtils.h. 287 {
288 return static_cast<const Derived*>(this)->vals()[2];
289 }
Referenced by YODA::ZDirectionMixin< Derived >::scaleZ(), YODA::ZDirectionMixin< Derived >::setXYZ(), YODA::ZDirectionMixin< Derived >::setZ(), YODA::ZDirectionMixin< Derived >::setZ(), YODA::ZDirectionMixin< Derived >::setZ(), and YODA::ZDirectionMixin< Derived >::setZ(). ◆ zErrAvg()
template<class Derived >
Definition at line 324 of file PointUtils.h. 324 {
325 return static_cast<const Derived*>(this)->errAvg(2);
326 }
◆ zErrMinus()
template<class Derived >
Get minus z error. Definition at line 314 of file PointUtils.h. 314 {
315 return static_cast<const Derived*>(this)->errMinus(2);
316 }
Referenced by YODA::ZDirectionMixin< Derived >::scaleZ(). ◆ zErrPlus()
template<class Derived >
Get plus z error. Definition at line 319 of file PointUtils.h. 319 {
320 return static_cast<const Derived*>(this)->errPlus(2);
321 }
Referenced by YODA::ZDirectionMixin< Derived >::scaleZ(). ◆ zErrs()
template<class Derived >
Get y error pair. Definition at line 309 of file PointUtils.h. 309 {
310 return static_cast<const Derived*>(this)->errs(2);
311 }
◆ zMax()
template<class Derived >
Get value plus positive y-error. Definition at line 365 of file PointUtils.h. 365 {
366 return static_cast<const Derived*>(this)->max(2);
367 }
◆ zMin()
template<class Derived >
Get value minus negative y-error. Definition at line 360 of file PointUtils.h. 360 {
361 return static_cast<const Derived*>(this)->min(2);
362 }
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 |