Logo ROOT  
Reference Guide
ROOT::Experimental::RPadLength::CoordSysBase< DERIVED > Struct Template Reference

template<class DERIVED>
struct ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >

Definition at line 51 of file RPadLength.hxx.

Public Member Functions

 CoordSysBase ()=default
 
 CoordSysBase (double val)
 
DERIVED & operator*= (double scale)
 
DERIVED & operator+= (const DERIVED &rhs)
 
DERIVED operator- ()
 
DERIVED & operator-= (const DERIVED &rhs)
 
DERIVED & ToDerived ()
 

Public Attributes

double fVal {0.}
 ! Coordinate value More...
 

Friends

DERIVED operator* (const DERIVED &lhs, double rhs)
 
DERIVED operator* (double lhs, const DERIVED &rhs)
 
DERIVED operator+ (DERIVED lhs, DERIVED rhs)
 
DERIVED operator- (DERIVED lhs, DERIVED rhs)
 
DERIVED operator/ (const DERIVED &lhs, double rhs)
 
double operator/ (DERIVED lhs, DERIVED rhs)
 
bool operator< (const DERIVED &lhs, const DERIVED &rhs)
 
bool operator<= (const DERIVED &lhs, const DERIVED &rhs)
 
bool operator> (const DERIVED &lhs, const DERIVED &rhs)
 
bool operator>= (const DERIVED &lhs, const DERIVED &rhs)
 

#include <ROOT/RPadLength.hxx>

Constructor & Destructor Documentation

◆ CoordSysBase() [1/2]

template<class DERIVED >
ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::CoordSysBase ( )
default

◆ CoordSysBase() [2/2]

template<class DERIVED >
ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::CoordSysBase ( double  val)
inline

Definition at line 55 of file RPadLength.hxx.

Member Function Documentation

◆ operator*=()

template<class DERIVED >
DERIVED& ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::operator*= ( double  scale)
inline

Definition at line 73 of file RPadLength.hxx.

◆ operator+=()

template<class DERIVED >
DERIVED& ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::operator+= ( const DERIVED &  rhs)
inline

Definition at line 63 of file RPadLength.hxx.

◆ operator-()

template<class DERIVED >
DERIVED ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::operator- ( )
inline

Definition at line 58 of file RPadLength.hxx.

◆ operator-=()

template<class DERIVED >
DERIVED& ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::operator-= ( const DERIVED &  rhs)
inline

Definition at line 68 of file RPadLength.hxx.

◆ ToDerived()

template<class DERIVED >
DERIVED& ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::ToDerived ( )
inline

Definition at line 56 of file RPadLength.hxx.

Friends And Related Function Documentation

◆ operator* [1/2]

template<class DERIVED >
DERIVED operator* ( const DERIVED &  lhs,
double  rhs 
)
friend

Definition at line 78 of file RPadLength.hxx.

◆ operator* [2/2]

template<class DERIVED >
DERIVED operator* ( double  lhs,
const DERIVED &  rhs 
)
friend

Definition at line 79 of file RPadLength.hxx.

◆ operator+

template<class DERIVED >
DERIVED operator+ ( DERIVED  lhs,
DERIVED  rhs 
)
friend

Definition at line 60 of file RPadLength.hxx.

◆ operator-

template<class DERIVED >
DERIVED operator- ( DERIVED  lhs,
DERIVED  rhs 
)
friend

Definition at line 61 of file RPadLength.hxx.

◆ operator/ [1/2]

template<class DERIVED >
DERIVED operator/ ( const DERIVED &  lhs,
double  rhs 
)
friend

Definition at line 80 of file RPadLength.hxx.

◆ operator/ [2/2]

template<class DERIVED >
double operator/ ( DERIVED  lhs,
DERIVED  rhs 
)
friend

Definition at line 62 of file RPadLength.hxx.

◆ operator<

template<class DERIVED >
bool operator< ( const DERIVED &  lhs,
const DERIVED &  rhs 
)
friend

Definition at line 81 of file RPadLength.hxx.

◆ operator<=

template<class DERIVED >
bool operator<= ( const DERIVED &  lhs,
const DERIVED &  rhs 
)
friend

Definition at line 83 of file RPadLength.hxx.

◆ operator>

template<class DERIVED >
bool operator> ( const DERIVED &  lhs,
const DERIVED &  rhs 
)
friend

Definition at line 82 of file RPadLength.hxx.

◆ operator>=

template<class DERIVED >
bool operator>= ( const DERIVED &  lhs,
const DERIVED &  rhs 
)
friend

Definition at line 84 of file RPadLength.hxx.

Member Data Documentation

◆ fVal

template<class DERIVED >
double ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >::fVal {0.}

! Coordinate value

Definition at line 52 of file RPadLength.hxx.

Collaboration diagram for ROOT::Experimental::RPadLength::CoordSysBase< DERIVED >:
[legend]

The documentation for this struct was generated from the following file: