ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups 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;\
} }

Definition at line 999 of file G4GeneralParticleSourceMessenger.cc.

View newest version in sPHENIX GitHub at line 999 of file G4GeneralParticleSourceMessenger.cc

Referenced by G4GeneralParticleSourceMessenger::SetNewValue().