Loading [MathJax]/extensions/tex2jax.js
k4SimGeant4
Toggle main menu visibility
Main Page
Key4HEP Home Page
Contribution Guide
Namespaces
Namespace List
Namespace Members
All
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
y
z
Functions
Variables
_
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
v
x
y
z
Typedefs
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
v
x
y
z
~
Functions
a
b
c
d
e
f
g
i
l
m
o
p
r
s
t
u
v
~
Variables
c
e
f
m
p
r
s
t
x
y
z
Related Symbols
Files
File List
File Members
All
Functions
▼
k4SimGeant4
Key4HEP Home Page
Contribution Guide
►
Namespaces
►
Classes
▼
Files
▼
File List
►
Detector
▼
SimG4Common
▼
include
▼
SimG4Common
►
ConstantField.h
►
DD4hepField.h
►
EventInformation.h
►
GdmlDetectorConstruction.h
►
Geant4CaloHit.h
►
Geant4PreDigiTrackHit.h
►
MapField2DRegular.h
►
MapField3DRegular.h
►
ParticleInformation.h
►
RunManager.h
►
Units.h
►
src
►
SimG4Components
►
SimG4Fast
►
SimG4Full
►
SimG4Interface
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Modules
Pages
Loading...
Searching...
No Matches
Units.h
Go to the documentation of this file.
1
#ifndef SIMG4COMMON_UNITS_H
2
#define SIMG4COMMON_UNITS_H
3
4
// Geant4
5
#include "G4SystemOfUnits.hh"
6
16
namespace
sim
{
17
namespace
edmdefault {
18
// FIXME: these should be a constexpr, but CLHEP is only const
19
const
double
length
= CLHEP::mm;
20
const
double
energy
= CLHEP::GeV;
21
}
// namespace edmdefault
17
namespace
edmdefault {
…
}
22
namespace
edm2g4 {
23
// FIXME: these should be a constexpr, but CLHEP is only const
24
const
double
length
=
edmdefault::length
/ CLHEP::mm;
25
const
double
energy
=
edmdefault::energy
/ CLHEP::MeV;
26
}
// namespace edm2g4
22
namespace
edm2g4 {
…
}
27
namespace
g42edm {
28
// FIXME: these should be a constexpr, but CLHEP is only const
29
const
double
length
= CLHEP::mm /
edmdefault::length
;
30
const
double
energy
= CLHEP::MeV /
edmdefault::energy
;
31
}
// namespace g42edm
27
namespace
g42edm {
…
}
32
namespace
papas2edm {
33
// FIXME: these should be a constexpr, but CLHEP is only const
34
const
double
length
= CLHEP::m /
edmdefault::length
;
35
const
double
energy
= CLHEP::GeV /
edmdefault::energy
;
36
}
// namespace papas2edm
32
namespace
papas2edm {
…
}
37
namespace
edm2papas {
38
// FIXME: these should be a constexpr, but CLHEP is only const
39
const
double
length
=
edmdefault::length
/ CLHEP::m;
40
const
double
energy
=
edmdefault::energy
/ CLHEP::GeV;
41
}
// namespace edm2papas
37
namespace
edm2papas {
…
}
42
}
// namespace sim
43
#endif
/* SIMG4COMMON_UNITS_H */
sim::edm2g4::length
const double length
Definition
Units.h:24
sim::edm2g4::energy
const double energy
Definition
Units.h:25
sim::edm2papas::length
const double length
Definition
Units.h:39
sim::edm2papas::energy
const double energy
Definition
Units.h:40
sim::edmdefault::energy
const double energy
Definition
Units.h:20
sim::edmdefault::length
const double length
Definition
Units.h:19
sim::g42edm::energy
const double energy
Definition
Units.h:30
sim::g42edm::length
const double length
Definition
Units.h:29
sim::papas2edm::energy
const double energy
Definition
Units.h:35
sim::papas2edm::length
const double length
Definition
Units.h:34
sim
Conversion between units.
Definition
ConstantField.h:14
SimG4Common
include
SimG4Common
Units.h
Generated on Fri Apr 11 2025 12:41:28 for k4SimGeant4 by
1.11.0