7#ifndef SIMCORE_DARKBREM_G4FRACTIONALLYCHARGED_H_
8#define SIMCORE_DARKBREM_G4FRACTIONALLYCHARGED_H_
11#include "G4DecayTable.hh"
12#include "G4ParticleDefinition.hh"
13#include "G4ParticleTable.hh"
14#include "G4PhaseSpaceDecayChannel.hh"
15#include "G4PhysicalConstants.hh"
16#include "G4SystemOfUnits.hh"
72 static void Initialize(
double mass,
int id = 17,
float charge = 0.1);
89 G4double charge, G4int iSpin, G4int iParity,
90 G4int iConjugation, G4int iIsospin, G4int iIsospin3,
91 G4int gParity,
const G4String& pType, G4int lepton,
92 G4int baryon, G4int encoding, G4bool stable,
93 G4double lifetime, G4DecayTable* decaytable)
94 : G4ParticleDefinition(name, mass, width, charge, iSpin, iParity,
95 iConjugation, iIsospin, iIsospin3, gParity, pType,
96 lepton, baryon, encoding, stable, lifetime,
Formal class representing the milli-charged particle in Geant4.
Definition G4FractionallyCharged.h:35
DecayMode
How to handle FractionallyCharged decays.
Definition G4FractionallyCharged.h:42
@ NoDecay
No decay/stable – this is the default.
static void Initialize(double mass, int id=17, float charge=0.1)
Initialize the FractionallyCharged particle with the passed configuration.
Definition G4FractionallyCharged.cxx:16
G4FractionallyCharged(const G4String &name, G4double mass, G4double width, G4double charge, G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin, G4int iIsospin3, G4int gParity, const G4String &pType, G4int lepton, G4int baryon, G4int encoding, G4bool stable, G4double lifetime, G4DecayTable *decaytable)
Constructor.
Definition G4FractionallyCharged.h:88
static DecayMode getDecayMode()
Get the G4FractionallyCharged::DecayMode that was provided to G4FractionallyCharged::Initialize.
Definition G4FractionallyCharged.h:76
virtual ~G4FractionallyCharged()=default
Destructor.
static G4FractionallyCharged * theFractionallyCharged
Reference to single particle definition of A'.
Definition G4FractionallyCharged.h:80
static G4FractionallyCharged * FractionallyCharged()
Accessor for FractionallyCharged definition.
Definition G4FractionallyCharged.cxx:5