REST-for-Physics  v2.3
Rare Event Searches ToolKit for Physics
Loading...
Searching...
No Matches
ValueWithQuantity Class Reference

Detailed Description

Definition at line 268 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 270 of file TRestTools.h.

Member Function Documentation

◆ GetValue()

double ValueWithQuantity::GetValue ( ) const
inline

Definition at line 271 of file TRestTools.h.

◆ operator std::string()

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

Definition at line 274 of file TRestTools.h.

◆ ToString()

string ValueWithQuantity::ToString ( ) const

Definition at line 2241 of file TRestTools.cxx.

Field Documentation

◆ fQuantity

const Quantities ValueWithQuantity::fQuantity
private

Definition at line 278 of file TRestTools.h.

◆ fValue

const double ValueWithQuantity::fValue
private

Definition at line 277 of file TRestTools.h.


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