ROOT 6.14/05 Reference Guide |
A coordinate in a TPad
.
Definition at line 26 of file TPadLength.hxx.
Classes | |
struct | CoordSysBase |
class | Normal |
A normalized coordinate: 0 in the left, bottom corner, 1 in the top, right corner of the TPad . More... | |
class | Pixel |
A pixel coordinate: 0 in the left, bottom corner, 1 in the top, right corner of the TPad . More... | |
class | User |
A user coordinate, as defined by the EUserCoordSystem parameter of the TPad . More... | |
Public Member Functions | |
TPadLength ()=default | |
Default constructor, initializing all coordinate parts to 0. . More... | |
TPadLength (Normal normal) | |
Constructor from a Normal coordinate. More... | |
TPadLength (Pixel px) | |
Constructor from a Pixel coordinate. More... | |
TPadLength (User user) | |
Constructor from a User coordinate. More... | |
TPadLength (Normal normal, Pixel px, User user) | |
Sort-of aggregate initialization constructor taking normal, pixel and user parts. More... | |
TPadLength & | operator*= (double scale) |
TPadLength & | operator+= (const TPadLength &rhs) |
Add a TPadLength . More... | |
TPadLength | operator- () |
Unary -. More... | |
TPadLength & | operator-= (const TPadLength &rhs) |
Subtract a TPadLength . More... | |
Public Attributes | |
Normal | fNormal |
The normalized coordinate summand. More... | |
Pixel | fPixel |
The pixel coordinate summand. More... | |
User | fUser |
The user coordinate summand. More... | |
Friends | |
TPadLength | operator+ (TPadLength lhs, const TPadLength &rhs) |
Add two TPadLength s. More... | |
TPadLength | operator- (TPadLength lhs, const TPadLength &rhs) |
Subtract two TPadLength s. More... | |
#include <ROOT/TPadLength.hxx>
|
default |
Default constructor, initializing all coordinate parts to 0.
.
|
inline |
Constructor from a Normal
coordinate.
Definition at line 108 of file TPadLength.hxx.
|
inline |
Constructor from a Pixel
coordinate.
Definition at line 111 of file TPadLength.hxx.
|
inline |
Constructor from a User
coordinate.
Definition at line 114 of file TPadLength.hxx.
Sort-of aggregate initialization constructor taking normal, pixel and user parts.
Definition at line 117 of file TPadLength.hxx.
|
inline |
Definition at line 154 of file TPadLength.hxx.
|
inline |
Add a TPadLength
.
Definition at line 137 of file TPadLength.hxx.
|
inline |
Unary -.
Definition at line 132 of file TPadLength.hxx.
|
inline |
Subtract a TPadLength
.
Definition at line 146 of file TPadLength.hxx.
|
friend |
Add two TPadLength
s.
Definition at line 120 of file TPadLength.hxx.
|
friend |
Subtract two TPadLength
s.
Definition at line 126 of file TPadLength.hxx.
Normal ROOT::Experimental::TPadLength::fNormal |
The normalized coordinate summand.
Definition at line 96 of file TPadLength.hxx.
Pixel ROOT::Experimental::TPadLength::fPixel |
The pixel coordinate summand.
Definition at line 99 of file TPadLength.hxx.
User ROOT::Experimental::TPadLength::fUser |
The user coordinate summand.
Definition at line 102 of file TPadLength.hxx.