REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Public Member Functions | Private Attributes
ValueWithQuantity Class Reference

Detailed Description

Definition at line 191 of file TRestTools.h.

Public Member Functions

double GetValue () const
 
 operator std::string () const
 
std::string ToString () const
 
 ValueWithQuantity (double value, Quantities quantity)
 

Private Attributes

const Quantities fQuantity
 
const double fValue
 

Constructor & Destructor Documentation

◆ ValueWithQuantity()

ValueWithQuantity::ValueWithQuantity ( double  value,
Quantities  quantity 
)
inline

Definition at line 193 of file TRestTools.h.

Member Function Documentation

◆ GetValue()

double ValueWithQuantity::GetValue ( ) const
inline

Definition at line 194 of file TRestTools.h.

◆ operator std::string()

ValueWithQuantity::operator std::string ( ) const
inline

Definition at line 197 of file TRestTools.h.

◆ ToString()

string ValueWithQuantity::ToString ( ) const

Definition at line 1376 of file TRestTools.cxx.

Field Documentation

◆ fQuantity

const Quantities ValueWithQuantity::fQuantity
private

Definition at line 201 of file TRestTools.h.

◆ fValue

const double ValueWithQuantity::fValue
private

Definition at line 200 of file TRestTools.h.


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