Skip to content

Commit

Permalink
add a few more doc comments because I'm picky
Browse files Browse the repository at this point in the history
  • Loading branch information
tomeichlersmith committed Aug 15, 2024
1 parent 0ad47b9 commit ad1d40a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/G4DarkBreM/G4APrime.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class G4APrime : public G4ParticleDefinition {
/**
* Flat decay -- the decay proper time will be randomly sampled
* from a uniform distribution whose maximum and minimum are set
* in the G4DarkBreMModel::GenerateChange() method based on parameters
* in the g4db::G4DarkBreMModel::GenerateChange method based on parameters
* of that class.
*
* As with GeantDecay, the APrime will decay to e-/e+.
Expand Down Expand Up @@ -88,6 +88,7 @@ class G4APrime : public G4ParticleDefinition {
static void Initialize(double mass, int id = 62, double tau = -1.0,
DecayMode decay_mode = DecayMode::NoDecay);

/// Get the G4APrime::DecayMode that was provided to G4APrime::Initialize
static DecayMode getDecayMode() { return decay_mode_; }

private:
Expand All @@ -110,6 +111,7 @@ class G4APrime : public G4ParticleDefinition {
lepton, baryon, encoding, stable, lifetime,
decaytable) {}

/// the G4APrime::DecayMode that was provided to G4APrime::Initialize
static DecayMode decay_mode_;

/**
Expand Down

0 comments on commit ad1d40a

Please sign in to comment.