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

Conventions and error codes for the gparticle module.

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

Go to the source code of this file.

Namespaces

namespace  gparticle

Variables

Error codes

Error codes emitted by gparticle through GLogger.

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

constexpr int gparticle::ERR_GPARTICLENOTFOUND = 901
 Requested particle name was not found in the G4ParticleTable.
constexpr int gparticle::ERR_GPARTICLEWRONGTHETAMODEL = 902
 Theta randomization model was not recognized or not supported.
constexpr int gparticle::ERR_GPARTICLETABLENOTFOUND = 903
 G4ParticleTable could not be obtained (unexpected runtime state).
constexpr int gparticle::ERR_GPARTICLEREADERNOTFOUND = 904
 Particle reader factory could not be found or instantiated.
constexpr int gparticle::ERR_GPARTICLEFILEOPEN = 905
 Particle input file could not be opened.
constexpr int gparticle::ERR_GPARTICLEFILEFORMAT = 906
 Particle input file contained malformed or unsupported data.