VGM Version 5.3
Loading...
Searching...
No Matches
ClhepVGM::Units Class Reference

Conversion from CLHEP physical units to VGM units. More...

#include <Units.h>

Public Member Functions

virtual ~Units ()
 

Static Public Member Functions

static double Length ()
 Return CLHEP default length unit in VGM units.
 
static double Length (double clhepUnit)
 Convert CLHEP length unit in VGM units.
 
static double Angle ()
 Return CLHEP default angle unit in VGM units.
 
static double Angle (double clhepUnit)
 Convert CLHEP angle unit in VGM units.
 
static double MassDensity ()
 Return CLHEP default mass density unit in VGM units.
 
static double MassDensity (double clhepUnit)
 Convert CLHEP mass density unit in VGM units.
 
static double AtomicWeight ()
 Return CLHEP default atomic weight unit in VGM units.
 
static double AtomicWeight (double clhepUnit)
 Convert CLHEP atomic weight unit in VGM units.
 
static double Temperature ()
 Return CLHEP default temperature unit in VGM unit.
 
static double Temperature (double clhepUnit)
 Convert CLHEP temperature unit in VGM unit.
 
static double Pressure ()
 Return CLHEP default pressure unit in VGM unit.
 
static double Pressure (double clhepUnit)
 Convert CLHEP temperature unit in VGM unit.
 
static double AxisUnit (VGM::Axis axis)
 Convert CLHEP default unit for given axis type in VGM units.
 

Protected Member Functions

 Units ()
 

Detailed Description

Conversion from CLHEP physical units to VGM units.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 27 of file Units.h.

Constructor & Destructor Documentation

◆ ~Units()

ClhepVGM::Units::~Units ( )
virtual

Definition at line 53 of file Units.cxx.

◆ Units()

ClhepVGM::Units::Units ( )
protected

Protected default constructor

Definition at line 47 of file Units.cxx.

Member Function Documentation

◆ Length() [1/2]

double ClhepVGM::Units::Length ( )
static

Return CLHEP default length unit in VGM units.

Definition at line 83 of file Units.cxx.

◆ Length() [2/2]

double ClhepVGM::Units::Length ( double clhepUnit)
static

Convert CLHEP length unit in VGM units.

Definition at line 86 of file Units.cxx.

◆ Angle() [1/2]

double ClhepVGM::Units::Angle ( )
static

Return CLHEP default angle unit in VGM units.

Definition at line 92 of file Units.cxx.

◆ Angle() [2/2]

double ClhepVGM::Units::Angle ( double clhepUnit)
static

Convert CLHEP angle unit in VGM units.

Definition at line 95 of file Units.cxx.

◆ MassDensity() [1/2]

double ClhepVGM::Units::MassDensity ( )
static

Return CLHEP default mass density unit in VGM units.

Definition at line 98 of file Units.cxx.

◆ MassDensity() [2/2]

double ClhepVGM::Units::MassDensity ( double clhepUnit)
static

Convert CLHEP mass density unit in VGM units.

Definition at line 101 of file Units.cxx.

◆ AtomicWeight() [1/2]

double ClhepVGM::Units::AtomicWeight ( )
static

Return CLHEP default atomic weight unit in VGM units.

Definition at line 107 of file Units.cxx.

◆ AtomicWeight() [2/2]

double ClhepVGM::Units::AtomicWeight ( double clhepUnit)
static

Convert CLHEP atomic weight unit in VGM units.

Definition at line 110 of file Units.cxx.

◆ Temperature() [1/2]

double ClhepVGM::Units::Temperature ( )
static

Return CLHEP default temperature unit in VGM unit.

Definition at line 116 of file Units.cxx.

◆ Temperature() [2/2]

double ClhepVGM::Units::Temperature ( double clhepUnit)
static

Convert CLHEP temperature unit in VGM unit.

Definition at line 119 of file Units.cxx.

◆ Pressure() [1/2]

double ClhepVGM::Units::Pressure ( )
static

Return CLHEP default pressure unit in VGM unit.

Definition at line 125 of file Units.cxx.

◆ Pressure() [2/2]

double ClhepVGM::Units::Pressure ( double clhepUnit)
static

Convert CLHEP temperature unit in VGM unit.

Definition at line 128 of file Units.cxx.

◆ AxisUnit()

double ClhepVGM::Units::AxisUnit ( VGM::Axis axis)
static

Convert CLHEP default unit for given axis type in VGM units.

Definition at line 63 of file Units.cxx.


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