|
PlasmaMLPALLAS
|
Implements step-level tracking, data extraction, and event updates for the PALLAS simulation. More...
#include "PlasmaMLPALLASSteppingAction.hh"
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. | |
Implements step-level tracking, data extraction, and event updates for the PALLAS simulation.
This file contains the method definitions for the PlasmaMLPALLASSteppingAction class declared in PlasmaMLPALLASSteppingAction.hh. It manages:
The stepping action workflow:
| void UpdateCollimators | ( | RunTallyCollimators & | tally, |
| G4float | x, | ||
| G4float | y, | ||
| G4float | z, | ||
| G4float | energy | ||
| ) |
Update collimator interaction information in the tally.
| tally | Collimator tally to update. |
| x | Interaction X position [mm]. |
| y | Interaction Y position [mm]. |
| z | Interaction Z position [mm]. |
| energy | Kinetic energy at interaction [MeV]. |
| 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.
| tally | YAG tally to update. |
| x | Exit X position [mm]. |
| y | Exit Y position [mm]. |
| z | Exit Z position [mm]. |
| energy | Particle kinetic energy [MeV]. |
| energyDeposited | Deposited energy [keV]. |
| parentID | ID of the parent track. |
| particleID | PDG encoding of the particle. |
| volumeNamePostStep | Name of the post-step volume. |
| trackingStatus | Whether particle tracking is active. |
| track | Pointer to the current Geant4 track. |