|
ROOT 6.12/07 Reference Guide |
A coordinate in a TPad.
Definition at line 26 of file TPadCoord.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 | |
| TPadCoord ()=default | |
Default constructor, initializing all coordinate parts to 0.. More... | |
| TPadCoord (Normal normal) | |
Constructor from a Normal coordinate. More... | |
| TPadCoord (Pixel px) | |
Constructor from a Pixel coordinate. More... | |
| TPadCoord (User user) | |
Constructor from a User coordinate. More... | |
| TPadCoord (Normal normal, Pixel px, User user) | |
| Sort-of aggregate initialization constructor taking normal, pixel and user parts. More... | |
| TPadCoord & | operator*= (double scale) |
| TPadCoord & | operator+= (const TPadCoord &rhs) |
Add a TPadCoord. More... | |
| TPadCoord | operator- () |
| Unary -. More... | |
| TPadCoord & | operator-= (const TPadCoord &rhs) |
Subtract a TPadCoord. 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 | |
| TPadCoord | operator+ (TPadCoord lhs, const TPadCoord &rhs) |
Add two TPadCoords. More... | |
| TPadCoord | operator- (TPadCoord lhs, const TPadCoord &rhs) |
Subtract two TPadCoords. More... | |
#include <ROOT/TPadCoord.hxx>
|
default |
Default constructor, initializing all coordinate parts to 0..
|
inline |
Constructor from a Normal coordinate.
Definition at line 105 of file TPadCoord.hxx.
|
inline |
Constructor from a Pixel coordinate.
Definition at line 108 of file TPadCoord.hxx.
|
inline |
Constructor from a User coordinate.
Definition at line 111 of file TPadCoord.hxx.
Sort-of aggregate initialization constructor taking normal, pixel and user parts.
Definition at line 114 of file TPadCoord.hxx.
|
inline |
Definition at line 151 of file TPadCoord.hxx.
Add a TPadCoord.
Definition at line 134 of file TPadCoord.hxx.
|
inline |
Unary -.
Definition at line 129 of file TPadCoord.hxx.
Subtract a TPadCoord.
Definition at line 143 of file TPadCoord.hxx.
Add two TPadCoords.
Definition at line 117 of file TPadCoord.hxx.
Subtract two TPadCoords.
Definition at line 123 of file TPadCoord.hxx.
| Normal ROOT::Experimental::TPadCoord::fNormal |
The normalized coordinate summand.
Definition at line 93 of file TPadCoord.hxx.
| Pixel ROOT::Experimental::TPadCoord::fPixel |
The pixel coordinate summand.
Definition at line 96 of file TPadCoord.hxx.
| User ROOT::Experimental::TPadCoord::fUser |
The user coordinate summand.
Definition at line 99 of file TPadCoord.hxx.