remage
Simulation framework for HPGe-based experiments
 
Loading...
Searching...
No Matches
RMGInnerBremsstrahlungProcess Class Reference
Inheritance diagram for RMGInnerBremsstrahlungProcess:
Collaboration diagram for RMGInnerBremsstrahlungProcess:

Public Member Functions

 RMGInnerBremsstrahlungProcess (const G4String &aNamePrefix="RMG_IB", G4ProcessType aType=fDecay)
 Constructs a new RMG Inner Bremsstrahlung wrapper process.
 
virtual ~RMGInnerBremsstrahlungProcess ()=default
 Virtual destructor.
 
G4VParticleChangeAtRestDoIt (const G4Track &aTrack, const G4Step &aStep) override
 Applies Inner Bremsstrahlung generation after radioactive decay.
 
G4VParticleChangePostStepDoIt (const G4Track &aTrack, const G4Step &aStep) override
 Applies Inner Bremsstrahlung generation after radioactive decay during step.
 
void SetEnabled (bool enabled)
 Enables or disables Inner Bremsstrahlung generation.
 
bool IsEnabled () const
 Checks if Inner Bremsstrahlung generation is enabled.
 
void SetBiasingFactor (double factor)
 Sets a scaling factor for IB probability (for systematic studies).
 
double GetBiasingFactor () const
 Gets the current IB probability scaling factor.
 

Constructor & Destructor Documentation

◆ RMGInnerBremsstrahlungProcess()

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

Constructs a new RMG Inner Bremsstrahlung wrapper process.

Parameters
aNamePrefixPrefix for naming the process (default "RMG_IB").
aTypeProcess type (default fDecay).

Member Function Documentation

◆ AtRestDoIt()

G4VParticleChange * RMGInnerBremsstrahlungProcess::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
aTrackThe current track undergoing decay.
aStepThe current step.
Returns
Pointer to the particle change with added IB photons.

◆ GetBiasingFactor()

double RMGInnerBremsstrahlungProcess::GetBiasingFactor ( ) const
inlinenodiscard

Gets the current IB probability scaling factor.

Returns
Probability scaling factor.

◆ IsEnabled()

bool RMGInnerBremsstrahlungProcess::IsEnabled ( ) const
inlinenodiscard

Checks if Inner Bremsstrahlung generation is enabled.

Returns
True if enabled, false otherwise.

◆ PostStepDoIt()

G4VParticleChange * RMGInnerBremsstrahlungProcess::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
aTrackThe current track undergoing decay.
aStepThe current step.
Returns
Pointer to the particle change with added IB photons.

◆ SetBiasingFactor()

void RMGInnerBremsstrahlungProcess::SetBiasingFactor ( double factor)
inline

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

Parameters
factorProbability scaling factor (default 1.0).

◆ SetEnabled()

void RMGInnerBremsstrahlungProcess::SetEnabled ( bool enabled)
inline

Enables or disables Inner Bremsstrahlung generation.

Parameters
enabledTrue to enable IB generation, false to disable.

The documentation for this class was generated from the following files: