PlasmaMLPALLAS
Loading...
Searching...
No Matches
Functions
PlasmaMLPALLASSteppingAction.cc File Reference

Implements step-level tracking, data extraction, and event updates for the PALLAS simulation. More...

#include "PlasmaMLPALLASSteppingAction.hh"
Include dependency graph for PlasmaMLPALLASSteppingAction.cc:

Functions

void UpdateCollimators (RunTallyCollimators &tally, G4float x, G4float y, G4float z, G4float energy)
 Update collimator interaction information in the tally.
 
void UpdateYAG (RunTallyYAG &tally, G4float x, G4float y, G4float z, G4float energy, G4float energyDeposited, G4float parentID, G4int particleID, const G4String &volumeNamePostStep, G4bool trackingStatus, G4Track *track)
 Update YAG (Yttrium Aluminum Garnet screen) tally with particle data.
 

Detailed Description

Implements step-level tracking, data extraction, and event updates for the PALLAS simulation.

Author
Arnaud HUBER huber.nosp@m.@lp2.nosp@m.ib.in.nosp@m.2p3..nosp@m.fr
Date
2025

This file contains the method definitions for the PlasmaMLPALLASSteppingAction class declared in PlasmaMLPALLASSteppingAction.hh. It manages:

The stepping action workflow:

Note
This class relies on Geant4's step action mechanism to record fine-grained tracking information suitable for later beamline analysis.

Function Documentation

◆ UpdateCollimators()

void UpdateCollimators ( RunTallyCollimators tally,
G4float  x,
G4float  y,
G4float  z,
G4float  energy 
)

Update collimator interaction information in the tally.

Parameters
tallyCollimator tally to update.
xInteraction X position [mm].
yInteraction Y position [mm].
zInteraction Z position [mm].
energyKinetic energy at interaction [MeV].

◆ UpdateYAG()

void UpdateYAG ( RunTallyYAG tally,
G4float  x,
G4float  y,
G4float  z,
G4float  energy,
G4float  energyDeposited,
G4float  parentID,
G4int  particleID,
const G4String &  volumeNamePostStep,
G4bool  trackingStatus,
G4Track *  track 
)

Update YAG (Yttrium Aluminum Garnet screen) tally with particle data.

Parameters
tallyYAG tally to update.
xExit X position [mm].
yExit Y position [mm].
zExit Z position [mm].
energyParticle kinetic energy [MeV].
energyDepositedDeposited energy [keV].
parentIDID of the parent track.
particleIDPDG encoding of the particle.
volumeNamePostStepName of the post-step volume.
trackingStatusWhether particle tracking is active.
trackPointer to the current Geant4 track.