VGM
Version 5.5
Toggle main menu visibility
Loading...
Searching...
No Matches
packages
ClhepVGM
include
ClhepVGM
Units.h
Go to the documentation of this file.
1
// $Id$
2
3
// -----------------------------------------------------------------------
4
// The ClhepVGM package of the Virtual Geometry Model
5
// Copyright (C) 2007, Ivana Hrivnacova
6
// All rights reserved.
7
//
8
// For the licensing terms see vgm/LICENSE.
9
// Contact: ivana@ipno.in2p3.fr
10
// -----------------------------------------------------------------------
11
13
//
19
20
#ifndef CLHEP_VGM_UNITS_H
21
#define CLHEP_VGM_UNITS_H
22
23
#include "
VGM/common/Axis.h
"
24
25
namespace
ClhepVGM
{
26
27
class
Units
28
{
29
public
:
30
// --> protected
31
// Units();
32
virtual
~Units
();
33
36
static
double
Length
();
37
40
static
double
Length
(
double
clhepUnit);
41
44
static
double
Angle
();
45
48
static
double
Angle
(
double
clhepUnit);
49
52
static
double
MassDensity
();
53
56
static
double
MassDensity
(
double
clhepUnit);
57
60
static
double
AtomicWeight
();
61
64
static
double
AtomicWeight
(
double
clhepUnit);
65
68
static
double
Temperature
();
69
72
static
double
Temperature
(
double
clhepUnit);
73
76
static
double
Pressure
();
77
80
static
double
Pressure
(
double
clhepUnit);
81
85
static
double
AxisUnit
(
VGM::Axis
axis);
86
87
protected
:
88
Units
();
89
// only static data members and methods
90
91
private
:
92
// static data members
93
static
const
double
fgkLength;
94
static
const
double
fgkAngle;
95
static
const
double
fgkMassDensity;
96
static
const
double
fgkAtomicWeight;
97
static
const
double
fgkTemperature;
98
static
const
double
fgkPressure;
99
};
100
101
}
// namespace ClhepVGM
102
103
#endif
// CLHEP_VGM_UNITS_H
Axis.h
ClhepVGM::Units::~Units
virtual ~Units()
Definition
Units.cxx:53
ClhepVGM::Units::Temperature
static double Temperature()
Return CLHEP default temperature unit in VGM unit.
Definition
Units.cxx:116
ClhepVGM::Units::AtomicWeight
static double AtomicWeight()
Return CLHEP default atomic weight unit in VGM units.
Definition
Units.cxx:107
ClhepVGM::Units::MassDensity
static double MassDensity()
Return CLHEP default mass density unit in VGM units.
Definition
Units.cxx:98
ClhepVGM::Units::Pressure
static double Pressure()
Return CLHEP default pressure unit in VGM unit.
Definition
Units.cxx:125
ClhepVGM::Units::Units
Units()
Definition
Units.cxx:47
ClhepVGM::Units::Length
static double Length()
Return CLHEP default length unit in VGM units.
Definition
Units.cxx:83
ClhepVGM::Units::Angle
static double Angle()
Return CLHEP default angle unit in VGM units.
Definition
Units.cxx:92
ClhepVGM::Units::AxisUnit
static double AxisUnit(VGM::Axis axis)
Convert CLHEP default unit for given axis type in VGM units.
Definition
Units.cxx:63
ClhepVGM
ClhepVGM utilities.
Definition
transform.h:29
VGM::Axis
Axis
Definition
Axis.h:34
Generated on
for VGM by
1.17.0