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).
 
#define ERR_GPARTICLEREADERNOTFOUND   904
 Particle reader factory could not be found or instantiated.
 
#define ERR_GPARTICLEFILEOPEN   905
 Particle input file could not be opened.
 
#define ERR_GPARTICLEFILEFORMAT   906
 Particle input file contained malformed or unsupported data.
 

Macro Definition Documentation

◆ ERR_GPARTICLEFILEFORMAT

#define ERR_GPARTICLEFILEFORMAT   906

Definition at line 54 of file gparticleConventions.h.

◆ ERR_GPARTICLEFILEOPEN

#define ERR_GPARTICLEFILEOPEN   905

Definition at line 51 of file gparticleConventions.h.

◆ ERR_GPARTICLENOTFOUND

#define ERR_GPARTICLENOTFOUND   901

Definition at line 39 of file gparticleConventions.h.

◆ ERR_GPARTICLEREADERNOTFOUND

#define ERR_GPARTICLEREADERNOTFOUND   904

Definition at line 48 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.