Logo ROOT   6.14/05
Reference Guide
List of all members | Classes | Public Member Functions | Public Attributes | Friends | List of all members
ROOT::Experimental::TPadLength Class Reference

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...
 
TPadLengthoperator*= (double scale)
 
TPadLengthoperator+= (const TPadLength &rhs)
 Add a TPadLength. More...
 
TPadLength operator- ()
 Unary -. More...
 
TPadLengthoperator-= (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 TPadLengths. More...
 
TPadLength operator- (TPadLength lhs, const TPadLength &rhs)
 Subtract two TPadLengths. More...
 

#include <ROOT/TPadLength.hxx>

Constructor & Destructor Documentation

◆ TPadLength() [1/5]

ROOT::Experimental::TPadLength::TPadLength ( )
default

Default constructor, initializing all coordinate parts to 0..

◆ TPadLength() [2/5]

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

Constructor from a Normal coordinate.

Definition at line 108 of file TPadLength.hxx.

◆ TPadLength() [3/5]

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

Constructor from a Pixel coordinate.

Definition at line 111 of file TPadLength.hxx.

◆ TPadLength() [4/5]

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

Constructor from a User coordinate.

Definition at line 114 of file TPadLength.hxx.

◆ TPadLength() [5/5]

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

Sort-of aggregate initialization constructor taking normal, pixel and user parts.

Definition at line 117 of file TPadLength.hxx.

Member Function Documentation

◆ operator*=()

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

Definition at line 154 of file TPadLength.hxx.

◆ operator+=()

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

Add a TPadLength.

Definition at line 137 of file TPadLength.hxx.

◆ operator-()

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

Unary -.

Definition at line 132 of file TPadLength.hxx.

◆ operator-=()

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

Subtract a TPadLength.

Definition at line 146 of file TPadLength.hxx.

Friends And Related Function Documentation

◆ operator+

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

Add two TPadLengths.

Definition at line 120 of file TPadLength.hxx.

◆ operator-

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

Subtract two TPadLengths.

Definition at line 126 of file TPadLength.hxx.

Member Data Documentation

◆ fNormal

Normal ROOT::Experimental::TPadLength::fNormal

The normalized coordinate summand.

Definition at line 96 of file TPadLength.hxx.

◆ fPixel

Pixel ROOT::Experimental::TPadLength::fPixel

The pixel coordinate summand.

Definition at line 99 of file TPadLength.hxx.

◆ fUser

User ROOT::Experimental::TPadLength::fUser

The user coordinate summand.

Definition at line 102 of file TPadLength.hxx.

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

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