Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RPadLength::CoordSysBase< DERIVED > Struct Template Reference

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

Definition at line 39 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
 

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 43 of file RPadLength.hxx.

Member Function Documentation

◆ operator*=()

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

Definition at line 61 of file RPadLength.hxx.

◆ operator+=()

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

Definition at line 51 of file RPadLength.hxx.

◆ operator-()

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

Definition at line 46 of file RPadLength.hxx.

◆ operator-=()

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

Definition at line 56 of file RPadLength.hxx.

◆ ToDerived()

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

Definition at line 44 of file RPadLength.hxx.

Friends And Related Symbol Documentation

◆ operator* [1/2]

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

Definition at line 66 of file RPadLength.hxx.

◆ operator* [2/2]

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

Definition at line 67 of file RPadLength.hxx.

◆ operator+

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

Definition at line 48 of file RPadLength.hxx.

◆ operator-

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

Definition at line 49 of file RPadLength.hxx.

◆ operator/ [1/2]

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

Definition at line 68 of file RPadLength.hxx.

◆ operator/ [2/2]

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

Definition at line 50 of file RPadLength.hxx.

◆ operator<

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

Definition at line 69 of file RPadLength.hxx.

◆ operator<=

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

Definition at line 71 of file RPadLength.hxx.

◆ operator>

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

Definition at line 70 of file RPadLength.hxx.

◆ operator>=

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

Definition at line 72 of file RPadLength.hxx.

Member Data Documentation

◆ fVal

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

! Coordinate value

Definition at line 40 of file RPadLength.hxx.

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

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