Belle II Software
development
Toggle main menu visibility
Main Page
Topics
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
x
z
Variables
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
v
w
x
z
Typedefs
a
b
c
d
e
g
i
k
l
m
n
p
r
s
t
u
v
w
Enumerations
a
b
c
e
f
g
n
p
s
v
z
Enumerator
c
d
f
p
t
v
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Enumerations
a
b
c
d
e
f
g
h
i
l
m
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
h
k
l
m
n
o
p
r
s
t
u
v
w
z
Related Symbols
b
c
d
g
i
o
r
s
t
Files
File List
File Members
All
Functions
Typedefs
Macros
G4Monopole.cc
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
9
// modified from GEANT4 exoticphysics/monopole/*
10
11
#include <simulation/monopoles/G4Monopole.h>
12
13
#include <CLHEP/Units/SystemOfUnits.h>
14
#include <framework/logging/Logger.h>
15
16
using namespace
std
;
17
using namespace
Belle2
;
18
using namespace
Belle2::Monopoles;
19
using namespace
CLHEP;
20
21
G4Monopole::G4Monopole
(
const
G4String& name,
22
G4double mass,
23
G4double mCharge,
24
G4double eCharge,
25
G4int encoding)
26
: G4ParticleDefinition(name, mass, 0.0 * MeV, eplus * eCharge,
27
1, 0, 0,
28
0, 0, 0,
29
"fermion"
, 0, 0, encoding,
30
true, -1.0, 0),
31
// Arguments for constructor are as follows
32
// name mass width charge
33
// 2*spin parity C-conjugation
34
// 2*Isospin 2*Isospin3 G-parity
35
// type lepton_number baryon_number PDG_encoding
36
// stable lifetime decay_table
37
magCharge
(eplus * mCharge)
38
{
39
B2INFO(
"Monopole is created: m(GeV)= "
<< mass / GeV
40
<<
" Qel(e+)= "
<< eCharge / eplus
41
<<
" Qmag(e+)= "
<<
magCharge
/ eplus);
42
}
21
G4Monopole::G4Monopole
(
const
G4String& name, {
…
}
43
44
G4Monopole::~G4Monopole
()
45
{}
44
G4Monopole::~G4Monopole
() {
…
}
46
47
G4double
G4Monopole::MagneticCharge
()
const
48
{
49
return
magCharge
;
50
}
47
G4double
G4Monopole::MagneticCharge
()
const
{
…
}
51
Belle2::Monopoles::G4Monopole::~G4Monopole
virtual ~G4Monopole()
Destructor.
Definition
G4Monopole.cc:44
Belle2::Monopoles::G4Monopole::MagneticCharge
G4double MagneticCharge() const
Returns magnetic charge of the monopole.
Definition
G4Monopole.cc:47
Belle2::Monopoles::G4Monopole::magCharge
G4double magCharge
Magnetic charge of the monopole, in e+ units.
Definition
G4Monopole.h:66
Belle2::Monopoles::G4Monopole::G4Monopole
G4Monopole(const G4String &name, G4double mass, G4double mCharge, G4double eCharge, G4int encoding)
Constructor.
Definition
G4Monopole.cc:21
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
std
STL namespace.
simulation
monopoles
src
G4Monopole.cc
Generated on Sun May 18 2025 03:01:41 for Belle II Software by
1.13.2