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

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

Macros

#define EC__RANDOMENGINENOTFOUND   2003
 Error code used when the configured random engine name is not recognized.
 
#define DEFAULT_RANDOM_ENGINE   "RanluxEngine"
 Default random engine name used when no explicit selection is provided.
 
#define SEEDNOTSET   -1234
 Sentinel value used to mark that the random seed has not been explicitly set.
 

Detailed Description

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

Macro Definition Documentation

◆ DEFAULT_RANDOM_ENGINE

#define DEFAULT_RANDOM_ENGINE   "RanluxEngine"

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

Definition at line 34 of file gemcConventions.h.

◆ EC__RANDOMENGINENOTFOUND

#define EC__RANDOMENGINENOTFOUND   2003

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 26 of file gemcConventions.h.

◆ SEEDNOTSET

#define SEEDNOTSET   -1234

When the seed option matches this value, the utilities derive a seed using time/clock/pid sources.

Definition at line 42 of file gemcConventions.h.