Class RMGInnerBremsstrahlungProcess

Inheritance Relationships

Base Type

  • public G4WrapperProcess

Class Documentation

class RMGInnerBremsstrahlungProcess : public G4WrapperProcess

Public Functions

explicit RMGInnerBremsstrahlungProcess(const G4String &aNamePrefix = "RMG_IB", G4ProcessType aType = fDecay)

Constructs a new RMG Inner Bremsstrahlung wrapper process.

Parameters:
  • aNamePrefix – Prefix for naming the process (default “RMG_IB”).

  • aType – Process type (default fDecay).

virtual ~RMGInnerBremsstrahlungProcess() = default

Virtual destructor.

G4VParticleChange *AtRestDoIt(const G4Track &aTrack, const G4Step &aStep) override

Applies Inner Bremsstrahlung generation after radioactive decay.

This method overrides PostStepDoIt() of G4WrapperProcess. It first calls the wrapped decay process’s PostStepDoIt() to obtain the decay products. Then it examines all secondary particles, identifies beta electrons, calculates the Inner Bremsstrahlung probability based on the electron energy, and generates IB photons accordingly. The IB photons are created with proper kinematic properties and added to the secondary stack.

Parameters:
  • aTrack – The current track undergoing decay.

  • aStep – The current step.

Returns:

Pointer to the particle change with added IB photons.

G4VParticleChange *PostStepDoIt(const G4Track &aTrack, const G4Step &aStep) override

Applies Inner Bremsstrahlung generation after radioactive decay during step.

This method overrides PostStepDoIt() of G4WrapperProcess. It first calls the wrapped decay process’s PostStepDoIt() to obtain the decay products. Then it examines all secondary particles, identifies beta electrons, calculates the Inner Bremsstrahlung probability based on the electron energy, and generates IB photons accordingly. The IB photons are created with proper kinematic properties and added to the secondary stack.

Parameters:
  • aTrack – The current track undergoing decay.

  • aStep – The current step.

Returns:

Pointer to the particle change with added IB photons.

inline void SetEnabled(bool enabled)

Enables or disables Inner Bremsstrahlung generation.

Parameters:

enabled – True to enable IB generation, false to disable.

inline bool IsEnabled() const

Checks if Inner Bremsstrahlung generation is enabled.

Returns:

True if enabled, false otherwise.

inline void SetBiasingFactor(double factor)

Sets a scaling factor for IB probability (for systematic studies).

Parameters:

factor – Probability scaling factor (default 1.0).

inline double GetBiasingFactor() const

Gets the current IB probability scaling factor.

Returns:

Probability scaling factor.