REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Data Fields
REST_Units::UnitsStruct Struct Reference

Detailed Description

Definition at line 31 of file TRestSystemOfUnits.cxx.

Public Member Functions

bool operator< (const UnitsStruct &compare) const
 
bool operator== (const UnitsStruct &compare) const
 
bool operator> (const UnitsStruct &compare) const
 
 UnitsStruct (string _name, int _type, double _scale)
 

Data Fields

string name = ""
 
double scale = 1
 
int type = -1
 

Constructor & Destructor Documentation

◆ UnitsStruct() [1/2]

REST_Units::UnitsStruct::UnitsStruct ( )
inline

Definition at line 32 of file TRestSystemOfUnits.cxx.

◆ UnitsStruct() [2/2]

REST_Units::UnitsStruct::UnitsStruct ( string  _name,
int  _type,
double  _scale 
)
inline

Definition at line 37 of file TRestSystemOfUnits.cxx.

Member Function Documentation

◆ operator<()

bool REST_Units::UnitsStruct::operator< ( const UnitsStruct compare) const
inline

Definition at line 49 of file TRestSystemOfUnits.cxx.

◆ operator==()

bool REST_Units::UnitsStruct::operator== ( const UnitsStruct compare) const
inline

Definition at line 51 of file TRestSystemOfUnits.cxx.

◆ operator>()

bool REST_Units::UnitsStruct::operator> ( const UnitsStruct compare) const
inline

Definition at line 47 of file TRestSystemOfUnits.cxx.

Field Documentation

◆ name

string REST_Units::UnitsStruct::name = ""

Definition at line 43 of file TRestSystemOfUnits.cxx.

◆ scale

double REST_Units::UnitsStruct::scale = 1

Definition at line 45 of file TRestSystemOfUnits.cxx.

◆ type

int REST_Units::UnitsStruct::type = -1

Definition at line 44 of file TRestSystemOfUnits.cxx.


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