Belle II Software development
|
A class to hold monopole description as a particle. More...
#include <G4Monopole.h>
Public Member Functions | |
G4Monopole (const G4String &name, G4double mass, G4double mCharge, G4double eCharge, G4int encoding) | |
Constructor. | |
G4double | MagneticCharge () const |
Returns magnetic charge of the monopole. | |
Private Member Functions | |
virtual | ~G4Monopole () |
Destructor. | |
Private Attributes | |
G4double | magCharge |
Magnetic charge of the monopole, in e+ units. | |
A class to hold monopole description as a particle.
Creates GEANT4 particle via G4ParticleDefinition and adds extra member for magnetic charge. Particle properties like spin, parities etc. are fixed by default to some values, even though they might be inconsistent with each other. Nevertheless, since monopoles do not decay and are produced only in the generator, that should not matter.
Definition at line 33 of file G4Monopole.h.
|
privatevirtual |
G4Monopole | ( | const G4String & | name, |
G4double | mass, | ||
G4double | mCharge, | ||
G4double | eCharge, | ||
G4int | encoding | ||
) |
Constructor.
name | Name of the monople particle in GEANT4 |
mass | Mass of the monopole |
mCharge | Magnetic charge of the monopole, in e+ units |
eCharge | Electric charge in case of a dyon |
encoding | PDG code of the monopole. Anything starting with "99" will work. |
Definition at line 21 of file G4Monopole.cc.
G4double MagneticCharge | ( | ) | const |
Returns magnetic charge of the monopole.
Definition at line 47 of file G4Monopole.cc.
|
private |
Magnetic charge of the monopole, in e+ units.
Definition at line 66 of file G4Monopole.h.