gparticle
Loading...
Searching...
No Matches
gparticleConventions.h File Reference

Conventions and error codes for the gparticle module. More...

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

Go to the source code of this file.

Macros

#define GPARTICLENOTDEFINED   (-999)
 Sentinel value used to mark an unset/undefined numeric parameter.
 
Error codes

Error codes emitted by gparticle through GLogger.

Values are in the 900s to reduce collision with other modules.

#define ERR_GPARTICLENOTFOUND   901
 Requested particle name was not found in the G4ParticleTable.
 
#define ERR_GPARTICLEWRONGTHETAMODEL   902
 Theta randomization model was not recognized or not supported.
 
#define ERR_GPARTICLETABLENOTFOUND   903
 G4ParticleTable could not be obtained (unexpected runtime state).
 

Macro Definition Documentation

◆ ERR_GPARTICLENOTFOUND

#define ERR_GPARTICLENOTFOUND   901

Definition at line 39 of file gparticleConventions.h.

◆ ERR_GPARTICLETABLENOTFOUND

#define ERR_GPARTICLETABLENOTFOUND   903

Definition at line 45 of file gparticleConventions.h.

◆ ERR_GPARTICLEWRONGTHETAMODEL

#define ERR_GPARTICLEWRONGTHETAMODEL   902

Definition at line 42 of file gparticleConventions.h.