actions
Loading...
Searching...
No Matches
gactionConventions.h File Reference

Defines error codes used by the GEMC actions module. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  gaction
 Namespace containing helpers related to action-subsystem configuration.

Variables

Error codes

Module-level error/status codes emitted by action-related classes.

The values are in the 1200 range and are intended to remain stable so log-based diagnostics can reliably identify the same category of problem across builds.

constexpr int gaction::ERR_GRUNACTION_NOT_EXISTING = 1201
constexpr int gaction::ERR_GDIGIMAP_NOT_EXISTING = 1202
constexpr int gaction::ERR_STREAMERMAP_NOT_EXISTING = 1203
Track guards

Per-step track limits applied by GSteppingAction (GEMC2 MSteppingAction parity).

constexpr int gaction::MAX_OPTICAL_PHOTON_STEPS = 100
constexpr int gaction::MAX_TRACK_STEPS = 10000
constexpr char gaction::KRYPTONITE_KILL_MATERIAL [] = "Kryptonite"
 Must match g4system::KRYPTONITE_MATERIAL in g4system/g4systemConventions.h.

Detailed Description

This header centralizes stable error identifiers used by the action-related classes when reporting failures through the logging system.

Definition in file gactionConventions.h.