Logo ROOT  
Reference Guide
ROOT::Experimental::RPadLength Class Reference

A length in RPad.

Definition at line 30 of file RPadLength.hxx.

Classes

struct  CoordSysBase
 
struct  Normal
 A normalized coordinate. More...
 
struct  Pixel
 A pixel coordinate. More...
 
struct  User
 A user coordinate. More...
 

Public Member Functions

 RPadLength ()
 
 RPadLength (Normal normal)
 Constructor from a Normal coordinate. More...
 
 RPadLength (Normal normal, Pixel px)
 Constructor for normal and pixel coordinate. More...
 
 RPadLength (Normal normal, Pixel px, User user)
 Constructor for normal, pixel and user coordinate. More...
 
 RPadLength (Pixel px)
 Constructor from a Pixel coordinate. More...
 
 RPadLength (User user)
 Constructor from a User coordinate. More...
 
void Clear ()
 
void ClearUser ()
 
double GetNormal () const
 
double GetPixel () const
 
double GetUser () const
 
bool HasNormal () const
 
bool HasPixel () const
 
bool HasUser () const
 
RPadLengthoperator*= (double scale)
 
RPadLengthoperator+= (const RPadLength &rhs)
 Add a RPadLength. More...
 
RPadLength operator- ()
 Unary -. More...
 
RPadLengthoperator-= (const RPadLength &rhs)
 Subtract a RPadLength. More...
 
RPadLengthSetNormal (double v)
 
RPadLengthSetPixel (double v)
 
RPadLengthSetUser (double v)
 

Protected Attributes

std::vector< double > fArr
 components [0] - normalized, [1] - pixel, [2] - user More...
 

Friends

RPadLength operator+ (RPadLength lhs, const RPadLength &rhs)
 Add two RPadLengths. More...
 
RPadLength operator- (RPadLength lhs, const RPadLength &rhs)
 Subtract two RPadLengths. More...
 

#include <ROOT/RPadLength.hxx>

Constructor & Destructor Documentation

◆ RPadLength() [1/6]

ROOT::Experimental::RPadLength::RPadLength ( )
inline

Definition at line 111 of file RPadLength.hxx.

◆ RPadLength() [2/6]

ROOT::Experimental::RPadLength::RPadLength ( Normal  normal)
inline

Constructor from a Normal coordinate.

Definition at line 114 of file RPadLength.hxx.

◆ RPadLength() [3/6]

ROOT::Experimental::RPadLength::RPadLength ( Pixel  px)
inline

Constructor from a Pixel coordinate.

Definition at line 117 of file RPadLength.hxx.

◆ RPadLength() [4/6]

ROOT::Experimental::RPadLength::RPadLength ( User  user)
inline

Constructor from a User coordinate.

Definition at line 120 of file RPadLength.hxx.

◆ RPadLength() [5/6]

ROOT::Experimental::RPadLength::RPadLength ( Normal  normal,
Pixel  px 
)
inline

Constructor for normal and pixel coordinate.

Definition at line 123 of file RPadLength.hxx.

◆ RPadLength() [6/6]

ROOT::Experimental::RPadLength::RPadLength ( Normal  normal,
Pixel  px,
User  user 
)
inline

Constructor for normal, pixel and user coordinate.

Definition at line 126 of file RPadLength.hxx.

Member Function Documentation

◆ Clear()

void ROOT::Experimental::RPadLength::Clear ( )
inline

Definition at line 160 of file RPadLength.hxx.

◆ ClearUser()

void ROOT::Experimental::RPadLength::ClearUser ( )
inline

Definition at line 158 of file RPadLength.hxx.

◆ GetNormal()

double ROOT::Experimental::RPadLength::GetNormal ( ) const
inline

Definition at line 154 of file RPadLength.hxx.

◆ GetPixel()

double ROOT::Experimental::RPadLength::GetPixel ( ) const
inline

Definition at line 155 of file RPadLength.hxx.

◆ GetUser()

double ROOT::Experimental::RPadLength::GetUser ( ) const
inline

Definition at line 156 of file RPadLength.hxx.

◆ HasNormal()

bool ROOT::Experimental::RPadLength::HasNormal ( ) const
inline

Definition at line 128 of file RPadLength.hxx.

◆ HasPixel()

bool ROOT::Experimental::RPadLength::HasPixel ( ) const
inline

Definition at line 129 of file RPadLength.hxx.

◆ HasUser()

bool ROOT::Experimental::RPadLength::HasUser ( ) const
inline

Definition at line 130 of file RPadLength.hxx.

◆ operator*=()

RPadLength & ROOT::Experimental::RPadLength::operator*= ( double  scale)
inline

Definition at line 222 of file RPadLength.hxx.

◆ operator+=()

RPadLength & ROOT::Experimental::RPadLength::operator+= ( const RPadLength rhs)
inline

Add a RPadLength.

Definition at line 199 of file RPadLength.hxx.

◆ operator-()

RPadLength ROOT::Experimental::RPadLength::operator- ( )
inline

Unary -.

Definition at line 189 of file RPadLength.hxx.

◆ operator-=()

RPadLength & ROOT::Experimental::RPadLength::operator-= ( const RPadLength rhs)
inline

Subtract a RPadLength.

Definition at line 211 of file RPadLength.hxx.

◆ SetNormal()

RPadLength & ROOT::Experimental::RPadLength::SetNormal ( double  v)
inline

Definition at line 132 of file RPadLength.hxx.

◆ SetPixel()

RPadLength & ROOT::Experimental::RPadLength::SetPixel ( double  v)
inline

Definition at line 139 of file RPadLength.hxx.

◆ SetUser()

RPadLength & ROOT::Experimental::RPadLength::SetUser ( double  v)
inline

Definition at line 146 of file RPadLength.hxx.

Friends And Related Function Documentation

◆ operator+

RPadLength operator+ ( RPadLength  lhs,
const RPadLength rhs 
)
friend

Add two RPadLengths.

Definition at line 163 of file RPadLength.hxx.

◆ operator-

RPadLength operator- ( RPadLength  lhs,
const RPadLength rhs 
)
friend

Subtract two RPadLengths.

Definition at line 176 of file RPadLength.hxx.

Member Data Documentation

◆ fArr

std::vector<double> ROOT::Experimental::RPadLength::fArr
protected

components [0] - normalized, [1] - pixel, [2] - user

Definition at line 34 of file RPadLength.hxx.

Libraries for ROOT::Experimental::RPadLength:
[legend]

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