Import Geant4 3.1.0 source tree
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
// based on the Program) you indicate your acceptance of this statement,
|
||||
// and all its terms.
|
||||
//
|
||||
// $Id: SystemOfUnits.h,v 1.4 1999/11/19 09:19:31 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-00 $
|
||||
// $Id: SystemOfUnits.h,v 1.6 2001/03/05 13:25:22 gcosmo Exp $
|
||||
// GEANT4 tag $Name: geant4-03-01 $
|
||||
//
|
||||
// ----------------------------------------------------------------------
|
||||
//
|
||||
@@ -27,7 +27,7 @@
|
||||
// radian (radian)
|
||||
// steradian (steradian)
|
||||
//
|
||||
// Below is a non exhaustive List of derived and pratical units
|
||||
// Below is a non exhaustive list of derived and pratical units
|
||||
// (i.e. mostly the SI units).
|
||||
// You can add your own units.
|
||||
//
|
||||
@@ -45,9 +45,10 @@
|
||||
// 06.02.96 Created.
|
||||
// 28.03.96 Added miscellaneous constants.
|
||||
// 05.12.97 E.Tcherniaev: Redefined pascal (to avoid warnings on WinNT)
|
||||
// 20.05.98 names: meter, second, gram, radian, degree. (from Blasiuk (STAR))
|
||||
// Added luminous units.
|
||||
// 05.08.98 angstrom,picobarn,microsecond,picosecond,petaelectronvolt
|
||||
// 20.05.98 names: meter, second, gram, radian, degree
|
||||
// (from Brian.Lasiuk@yale.edu (STAR)). Added luminous units.
|
||||
// 05.08.98 angstrom, picobarn, microsecond, picosecond, petaelectronvolt
|
||||
// 01.03.01 parsec
|
||||
|
||||
#ifndef HEP_SYSTEM_OF_UNITS_H
|
||||
#define HEP_SYSTEM_OF_UNITS_H
|
||||
@@ -73,6 +74,8 @@ static const HepDouble kilometer = 1000.*meter;
|
||||
static const HepDouble kilometer2 = kilometer*kilometer;
|
||||
static const HepDouble kilometer3 = kilometer*kilometer*kilometer;
|
||||
|
||||
static const HepDouble parsec = 3.0856775807e+16*meter;
|
||||
|
||||
static const HepDouble micrometer = 1.e-6 *meter;
|
||||
static const HepDouble nanometer = 1.e-9 *meter;
|
||||
static const HepDouble angstrom = 1.e-10*meter;
|
||||
@@ -101,6 +104,8 @@ static const HepDouble km = kilometer;
|
||||
static const HepDouble km2 = kilometer2;
|
||||
static const HepDouble km3 = kilometer3;
|
||||
|
||||
static const HepDouble pc = parsec;
|
||||
|
||||
//
|
||||
// Angle
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user