Geant4  10.01
G4GeneralParticleSourceMessenger.cc File Reference
+ Include dependency graph for G4GeneralParticleSourceMessenger.cc:

Go to the source code of this file.

Macros

#define CHECKPG()
 

Macro Definition Documentation

#define CHECKPG ( )
Value:
{ if (fParticleGun==NULL) { \
G4Exception("G4GeneralParticleSourceMessenger::SetNewValue","G4GPS003",\
FatalException,"Before using this command set a partilce gun"); return;\
} }
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Definition at line 995 of file G4GeneralParticleSourceMessenger.cc.

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().