9#ifndef SIMCORE_DARKBREM_G4APRIME_H_
10#define SIMCORE_DARKBREM_G4APRIME_H_
13#include "G4ParticleDefinition.hh"
14#include "G4SystemOfUnits.hh"
92 static void Initialize(
double mass,
int id = 62,
double tau = -1.0,
108 G4APrime(
const G4String& Name, G4double mass, G4double width, G4double charge,
109 G4int iSpin, G4int iParity, G4int iConjugation, G4int iIsospin,
110 G4int iIsospin3, G4int gParity,
const G4String& pType, G4int lepton,
111 G4int baryon, G4int encoding, G4bool stable, G4double lifetime,
112 G4DecayTable* decaytable)
113 : G4ParticleDefinition(Name, mass, width, charge, iSpin, iParity,
114 iConjugation, iIsospin, iIsospin3, gParity, pType,
115 lepton, baryon, encoding, stable, lifetime,
Formal class representing the A' (a dark photon)
Definition G4APrime.h:31
static G4APrime * APrime()
Accessor for APrime definition.
Definition G4APrime.cxx:16
static int decay_id_
Decay product PDG ID (only used for decaying A' mode)
Definition G4APrime.h:122
static DecayMode getDecayMode()
Get the G4APrime::DecayMode that was provided to G4APrime::Initialize.
Definition G4APrime.h:96
static void Initialize(double mass, int id=62, double tau=-1.0, DecayMode decay_mode=DecayMode::NoDecay, int decay_id=17)
Initialize the APrime particle with the passed configuration.
Definition G4APrime.cxx:26
static G4APrime * theAPrime
Reference to single particle definition of A'.
Definition G4APrime.h:100
DecayMode
How to handle APrime decays.
Definition G4APrime.h:38
@ NoDecay
No decay/stable – this is the default.
@ GeantDecay
Let Geant4 handle the decay.
@ FlatDecay
Flat decay – the decay proper time will be randomly sampled from a uniform distribution whose maximum...
G4APrime(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 G4APrime.h:108
static DecayMode decay_mode_
the G4APrime::DecayMode that was provided to G4APrime::Initialize
Definition G4APrime.h:119
virtual ~G4APrime()
Destructor.
Definition G4APrime.h:129