Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RPadPos Class Reference

A position (horizontal and vertical) in a RPad.

Author
Axel Naumann axel@.nosp@m.cern.nosp@m..ch
Date
2017-07-07
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition at line 28 of file RPadPos.hxx.

Classes

class  ScaleFactor
 A scale factor (separate factors for horizontal and vertical) for scaling a RPadLength. More...
 

Public Member Functions

 RPadPos ()=default
 
 RPadPos (const RPadExtent &rhs)
 
 RPadPos (const RPadLength &horiz, const RPadLength &vert)
 
RPadLengthHoriz ()
 
const RPadLengthHoriz () const
 
RPadPosoperator*= (const ScaleFactor &scale)
 Scale a horizontally and vertically.
 
RPadPosoperator+= (const RPadExtent &rhs)
 Add a RPadPos.
 
RPadPosoperator-= (const RPadExtent &rhs)
 Subtract a RPadPos.
 
RPadPosoperator= (const RPadExtent &rhs)
 Add two RPadPoss.
 
RPadLengthVert ()
 
const RPadLengthVert () const
 

Private Attributes

RPadLength fHoriz
 horizontal part
 
RPadLength fVert
 vertical part
 

Friends

RPadPos operator+ (RPadPos lhs, const RPadExtent &rhs)
 Add two RPadPoss.
 
RPadPos operator- (RPadPos lhs, const RPadExtent &rhs)
 Subtract two RPadPoss.
 

#include <ROOT/RPadPos.hxx>

Constructor & Destructor Documentation

◆ RPadPos() [1/3]

ROOT::Experimental::RPadPos::RPadPos ( )
default

◆ RPadPos() [2/3]

ROOT::Experimental::RPadPos::RPadPos ( const RPadLength horiz,
const RPadLength vert 
)
inline

Definition at line 38 of file RPadPos.hxx.

◆ RPadPos() [3/3]

ROOT::Experimental::RPadPos::RPadPos ( const RPadExtent rhs)
inline

Definition at line 44 of file RPadPos.hxx.

Member Function Documentation

◆ Horiz() [1/2]

RPadLength & ROOT::Experimental::RPadPos::Horiz ( )
inline

Definition at line 50 of file RPadPos.hxx.

◆ Horiz() [2/2]

const RPadLength & ROOT::Experimental::RPadPos::Horiz ( ) const
inline

Definition at line 51 of file RPadPos.hxx.

◆ operator*=()

RPadPos & ROOT::Experimental::RPadPos::operator*= ( const ScaleFactor scale)
inline

Scale a horizontally and vertically.

Parameters
scale- the scale factor,

Definition at line 105 of file RPadPos.hxx.

◆ operator+=()

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

Add a RPadPos.

Definition at line 79 of file RPadPos.hxx.

◆ operator-=()

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

Subtract a RPadPos.

Definition at line 87 of file RPadPos.hxx.

◆ operator=()

RPadPos & ROOT::Experimental::RPadPos::operator= ( const RPadExtent rhs)
inline

Add two RPadPoss.

Definition at line 58 of file RPadPos.hxx.

◆ Vert() [1/2]

RPadLength & ROOT::Experimental::RPadPos::Vert ( )
inline

Definition at line 53 of file RPadPos.hxx.

◆ Vert() [2/2]

const RPadLength & ROOT::Experimental::RPadPos::Vert ( ) const
inline

Definition at line 54 of file RPadPos.hxx.

Friends And Related Symbol Documentation

◆ operator+

RPadPos operator+ ( RPadPos  lhs,
const RPadExtent rhs 
)
friend

Add two RPadPoss.

Definition at line 67 of file RPadPos.hxx.

◆ operator-

RPadPos operator- ( RPadPos  lhs,
const RPadExtent rhs 
)
friend

Subtract two RPadPoss.

Definition at line 73 of file RPadPos.hxx.

Member Data Documentation

◆ fHoriz

RPadLength ROOT::Experimental::RPadPos::fHoriz
private

horizontal part

Definition at line 30 of file RPadPos.hxx.

◆ fVert

RPadLength ROOT::Experimental::RPadPos::fVert
private

vertical part

Definition at line 32 of file RPadPos.hxx.

Libraries for ROOT::Experimental::RPadPos:

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