utilities
Loading...
Searching...
No Matches
GEMC Utilities Conventions

Constants and conventional values used by GEMC utility helpers. More...

Variables

constexpr int gemc::EC__RANDOMENGINENOTFOUND = 2003
 Error code used when the configured random engine name is not recognized.
constexpr char gemc::DEFAULT_RANDOM_ENGINE [] = "RanluxEngine"
 Default random engine name used when no explicit selection is provided.

Detailed Description

The constants in this group are used by utility helpers to provide consistent defaults and error reporting identifiers.

Variable Documentation

◆ DEFAULT_RANDOM_ENGINE

char gemc::DEFAULT_RANDOM_ENGINE[] = "RanluxEngine"
inlineconstexpr

The value is expected to match one of the CLHEP engine names handled by the random engine selection logic.

Definition at line 36 of file gemcConventions.h.

◆ EC__RANDOMENGINENOTFOUND

int gemc::EC__RANDOMENGINENOTFOUND = 2003
inlineconstexpr

This error code is used by the random engine selection logic when the randomEngine option does not match any supported engine name.

Definition at line 28 of file gemcConventions.h.