Geant4  10.03.p01
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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) { \
msg << "Command "<< command->GetCommandPath()<<"/";\
msg<<command->GetCommandName() << " used but no particle sources are set.";\
msg <<" Add at least a source with: /gps/source/add.";\
G4Exception("G4GeneralParticleSourceMessenger::SetNewValue","G4GPS003",\
FatalException,msg); return;\
} }
std::ostringstream G4ExceptionDescription
Definition: globals.hh:76
void G4Exception(const char *originOfException, const char *exceptionCode, G4ExceptionSeverity severity, const char *comments)
Definition: G4Exception.cc:41

Definition at line 999 of file G4GeneralParticleSourceMessenger.cc.