Geant4 VMC Version 6.6
Loading...
Searching...
No Matches
TG4G3Units.cxx
Go to the documentation of this file.
1//------------------------------------------------
2// The Geant4 Virtual Monte Carlo package
3// Copyright (C) 2007 - 2014 Ivana Hrivnacova
4// All rights reserved.
5//
6// For the licensing terms see geant4_vmc/LICENSE.
7// Contact: root-vmc@cern.ch
8//-------------------------------------------------
9
14
15#include "TG4G3Units.h"
16
17#include <G4SystemOfUnits.hh>
18
19// static const data members
20
21const G4double TG4G3Units::fgkLength = cm;
22const G4double TG4G3Units::fgkAngle = deg;
23const G4double TG4G3Units::fgkTime = s;
24const G4double TG4G3Units::fgkCharge = eplus;
25const G4double TG4G3Units::fgkEnergy = GeV;
26const G4double TG4G3Units::fgkMass = GeV;
27const G4double TG4G3Units::fgkMassDensity = g / cm3;
28const G4double TG4G3Units::fgkAtomicWeight = g / mole;
29const G4double TG4G3Units::fgkField = kilogauss;
30
31const G4double TG4G3Units::fgkInverseLength = 1. / cm;
32const G4double TG4G3Units::fgkInverseAngle = 1. / deg;
33const G4double TG4G3Units::fgkInverseTime = 1. / s;
34const G4double TG4G3Units::fgkInverseCharge = 1. / eplus;
35const G4double TG4G3Units::fgkInverseEnergy = 1. / GeV;
36const G4double TG4G3Units::fgkInverseMass = 1. / GeV;
37const G4double TG4G3Units::fgkInverseMassDensity = 1. / g * cm3;
38const G4double TG4G3Units::fgkInverseAtomicWeight = 1. / g * mole;
39const G4double TG4G3Units::fgkInverseField = 1. / kilogauss;
40
41//_____________________________________________________________________________
Definition of the TG4G3Units class.
static const G4double fgkInverseAtomicWeight
1 over G3 atomic weight unit
Definition TG4G3Units.h:75
static const G4double fgkInverseCharge
1 over G3 charge unit
Definition TG4G3Units.h:71
static const G4double fgkField
G3 magnetic field unit.
Definition TG4G3Units.h:66
static const G4double fgkTime
G3 time unit.
Definition TG4G3Units.h:60
static const G4double fgkInverseTime
1 over G3 time unit
Definition TG4G3Units.h:70
static const G4double fgkInverseAngle
1 over G3 angle unit
Definition TG4G3Units.h:69
static const G4double fgkInverseMass
1 over G3 mass unit
Definition TG4G3Units.h:73
static const G4double fgkCharge
G3 charge unit.
Definition TG4G3Units.h:61
static const G4double fgkInverseMassDensity
1 over G3 mass density unit
Definition TG4G3Units.h:74
static const G4double fgkEnergy
G3 energy unit.
Definition TG4G3Units.h:62
static const G4double fgkLength
G3 length unit.
Definition TG4G3Units.h:58
static const G4double fgkAngle
G3 angle unit.
Definition TG4G3Units.h:59
static const G4double fgkMassDensity
G3 mass density unit.
Definition TG4G3Units.h:64
static const G4double fgkAtomicWeight
G3 atomic weight unit.
Definition TG4G3Units.h:65
static const G4double fgkInverseEnergy
1 over G3 energy unit
Definition TG4G3Units.h:72
static const G4double fgkInverseLength
1 over G3 length unit
Definition TG4G3Units.h:68
static const G4double fgkInverseField
1 over G3 magnetic field unit
Definition TG4G3Units.h:76
static const G4double fgkMass
G3 mass unit.
Definition TG4G3Units.h:63