4 // See the class description in the header file.
6 #include "TG4Globals.h"
10 TG4Globals::TG4Globals() {
14 TG4Globals::~TG4Globals() {
20 void TG4Globals::Exception(const char* string)
22 // Prints error message end exits the program.
26 { cerr << endl << " " << string << endl; }
27 cerr << "*** TG4Exception: Aborting execution ***" << endl;
31 void TG4Globals::Warning(const char* string)
33 // Prints warning message.
36 cerr << "++++ TG4Warning: ++++" << endl;
38 { cerr << " " << string << endl; }
39 cerr << "+++++++++++++++++++++++" << endl;