Geant4 VMC Version 6.6
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
TG4G3Units Class Reference

G3 default units of physical quantities;. More...

#include <TG4G3Units.h>

Public Member Functions

 ~TG4G3Units ()
 

Static Public Member Functions

static G4double Length ()
 
static G4double Angle ()
 
static G4double Time ()
 
static G4double Charge ()
 
static G4double Energy ()
 
static G4double Mass ()
 
static G4double MassDensity ()
 
static G4double AtomicWeight ()
 
static G4double Field ()
 
static G4double InverseLength ()
 
static G4double InverseAngle ()
 
static G4double InverseTime ()
 
static G4double InverseCharge ()
 
static G4double InverseEnergy ()
 
static G4double InverseMass ()
 
static G4double InverseMassDensity ()
 
static G4double InverseAtomicWeight ()
 
static G4double InverseField ()
 

Private Member Functions

 TG4G3Units ()
 

Static Private Attributes

static const G4double fgkLength = cm
 G3 length unit.
 
static const G4double fgkAngle = deg
 G3 angle unit.
 
static const G4double fgkTime = s
 G3 time unit.
 
static const G4double fgkCharge = eplus
 G3 charge unit.
 
static const G4double fgkEnergy = GeV
 G3 energy unit.
 
static const G4double fgkMass = GeV
 G3 mass unit.
 
static const G4double fgkMassDensity = g / cm3
 G3 mass density unit.
 
static const G4double fgkAtomicWeight = g / mole
 G3 atomic weight unit.
 
static const G4double fgkField = kilogauss
 G3 magnetic field unit.
 
static const G4double fgkInverseLength = 1. / cm
 1 over G3 length unit
 
static const G4double fgkInverseAngle = 1. / deg
 1 over G3 angle unit
 
static const G4double fgkInverseTime = 1. / s
 1 over G3 time unit
 
static const G4double fgkInverseCharge = 1. / eplus
 1 over G3 charge unit
 
static const G4double fgkInverseEnergy = 1. / GeV
 1 over G3 energy unit
 
static const G4double fgkInverseMass = 1. / GeV
 1 over G3 mass unit
 
static const G4double fgkInverseMassDensity = 1. / g * cm3
 1 over G3 mass density unit
 
static const G4double fgkInverseAtomicWeight = 1. / g * mole
 1 over G3 atomic weight unit
 
static const G4double fgkInverseField = 1. / kilogauss
 1 over G3 magnetic field unit
 

Detailed Description

G3 default units of physical quantities;.

All physical quantities returned by VMC are expressed in these units.

Author
I. Hrivnacova; IPN, Orsay

Definition at line 27 of file TG4G3Units.h.

Constructor & Destructor Documentation

◆ ~TG4G3Units()

TG4G3Units::~TG4G3Units ( )

Destructor

Definition at line 42 of file TG4G3Units.cxx.

◆ TG4G3Units()

TG4G3Units::TG4G3Units ( )
private

Member Function Documentation

◆ Length()

◆ Angle()

G4double TG4G3Units::Angle ( )
inlinestatic

Return G3 angle unit

Definition at line 87 of file TG4G3Units.h.

◆ Time()

◆ Charge()

G4double TG4G3Units::Charge ( )
inlinestatic

Return G3 chanrge unit

Definition at line 99 of file TG4G3Units.h.

Referenced by TG4ParticlesManager::AddParticle(), and TG4StepManager::TrackCharge().

◆ Energy()

◆ Mass()

G4double TG4G3Units::Mass ( )
inlinestatic

Return G3 mass unit

Definition at line 111 of file TG4G3Units.h.

Referenced by TG4StepManager::TrackMass().

◆ MassDensity()

G4double TG4G3Units::MassDensity ( )
inlinestatic

◆ AtomicWeight()

G4double TG4G3Units::AtomicWeight ( )
inlinestatic

Return G3 atomic weight unit

Definition at line 123 of file TG4G3Units.h.

Referenced by TG4GeometryServices::GetEffA().

◆ Field()

G4double TG4G3Units::Field ( )
inlinestatic

Return G3 magnetic field unit

Definition at line 129 of file TG4G3Units.h.

Referenced by TG4CachedMagneticField::GetFieldValue(), and TG4MagneticField::GetFieldValue().

◆ InverseLength()

◆ InverseAngle()

G4double TG4G3Units::InverseAngle ( )
inlinestatic

Return G3 angle unit

Definition at line 139 of file TG4G3Units.h.

◆ InverseTime()

G4double TG4G3Units::InverseTime ( )
inlinestatic

Return G3 time unit

Definition at line 145 of file TG4G3Units.h.

Referenced by TG4TrackManager::PrimaryToStack(), TG4StepManager::TrackTime(), and TG4TrackManager::TrackToStack().

◆ InverseCharge()

G4double TG4G3Units::InverseCharge ( )
inlinestatic

Return G3 chanrge unit

Definition at line 151 of file TG4G3Units.h.

Referenced by TG4PhysicsManager::ParticleCharge().

◆ InverseEnergy()

◆ InverseMass()

G4double TG4G3Units::InverseMass ( )
inlinestatic

Return G3 mass unit

Definition at line 163 of file TG4G3Units.h.

◆ InverseMassDensity()

G4double TG4G3Units::InverseMassDensity ( )
inlinestatic

Return G3 mass density unit

Definition at line 169 of file TG4G3Units.h.

Referenced by TG4GeometryServices::CompareMaterial().

◆ InverseAtomicWeight()

G4double TG4G3Units::InverseAtomicWeight ( )
inlinestatic

Return G3 atomic weight unit

Definition at line 175 of file TG4G3Units.h.

◆ InverseField()

G4double TG4G3Units::InverseField ( )
inlinestatic

Return G3 magnetic field unit

Definition at line 181 of file TG4G3Units.h.

Member Data Documentation

◆ fgkLength

const G4double TG4G3Units::fgkLength = cm
staticprivate

G3 length unit.

Definition at line 58 of file TG4G3Units.h.

Referenced by Length().

◆ fgkAngle

const G4double TG4G3Units::fgkAngle = deg
staticprivate

G3 angle unit.

Definition at line 59 of file TG4G3Units.h.

Referenced by Angle().

◆ fgkTime

const G4double TG4G3Units::fgkTime = s
staticprivate

G3 time unit.

Definition at line 60 of file TG4G3Units.h.

Referenced by Time().

◆ fgkCharge

const G4double TG4G3Units::fgkCharge = eplus
staticprivate

G3 charge unit.

Definition at line 61 of file TG4G3Units.h.

Referenced by Charge().

◆ fgkEnergy

const G4double TG4G3Units::fgkEnergy = GeV
staticprivate

G3 energy unit.

Definition at line 62 of file TG4G3Units.h.

Referenced by Energy().

◆ fgkMass

const G4double TG4G3Units::fgkMass = GeV
staticprivate

G3 mass unit.

Definition at line 63 of file TG4G3Units.h.

Referenced by Mass().

◆ fgkMassDensity

const G4double TG4G3Units::fgkMassDensity = g / cm3
staticprivate

G3 mass density unit.

Definition at line 64 of file TG4G3Units.h.

Referenced by MassDensity().

◆ fgkAtomicWeight

const G4double TG4G3Units::fgkAtomicWeight = g / mole
staticprivate

G3 atomic weight unit.

Definition at line 65 of file TG4G3Units.h.

Referenced by AtomicWeight().

◆ fgkField

const G4double TG4G3Units::fgkField = kilogauss
staticprivate

G3 magnetic field unit.

Definition at line 66 of file TG4G3Units.h.

Referenced by Field().

◆ fgkInverseLength

const G4double TG4G3Units::fgkInverseLength = 1. / cm
staticprivate

1 over G3 length unit

Definition at line 68 of file TG4G3Units.h.

Referenced by InverseLength().

◆ fgkInverseAngle

const G4double TG4G3Units::fgkInverseAngle = 1. / deg
staticprivate

1 over G3 angle unit

Definition at line 69 of file TG4G3Units.h.

Referenced by InverseAngle().

◆ fgkInverseTime

const G4double TG4G3Units::fgkInverseTime = 1. / s
staticprivate

1 over G3 time unit

Definition at line 70 of file TG4G3Units.h.

Referenced by InverseTime().

◆ fgkInverseCharge

const G4double TG4G3Units::fgkInverseCharge = 1. / eplus
staticprivate

1 over G3 charge unit

Definition at line 71 of file TG4G3Units.h.

Referenced by InverseCharge().

◆ fgkInverseEnergy

const G4double TG4G3Units::fgkInverseEnergy = 1. / GeV
staticprivate

1 over G3 energy unit

Definition at line 72 of file TG4G3Units.h.

Referenced by InverseEnergy().

◆ fgkInverseMass

const G4double TG4G3Units::fgkInverseMass = 1. / GeV
staticprivate

1 over G3 mass unit

Definition at line 73 of file TG4G3Units.h.

Referenced by InverseMass().

◆ fgkInverseMassDensity

const G4double TG4G3Units::fgkInverseMassDensity = 1. / g * cm3
staticprivate

1 over G3 mass density unit

Definition at line 74 of file TG4G3Units.h.

Referenced by InverseMassDensity().

◆ fgkInverseAtomicWeight

const G4double TG4G3Units::fgkInverseAtomicWeight = 1. / g * mole
staticprivate

1 over G3 atomic weight unit

Definition at line 75 of file TG4G3Units.h.

Referenced by InverseAtomicWeight().

◆ fgkInverseField

const G4double TG4G3Units::fgkInverseField = 1. / kilogauss
staticprivate

1 over G3 magnetic field unit

Definition at line 76 of file TG4G3Units.h.

Referenced by InverseField().


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