35 #include "StSimpleMagneticField.hh"
36 #include "StGetConfigValue.hh"
40 StSimpleMagneticField::StSimpleMagneticField() {}
45 StSimpleMagneticField::StSimpleMagneticField(
const char* filename)
47 StGetConfigValue(filename,
"StSimpleMagneticField.mB", mB);
54 StSimpleMagneticField::~StSimpleMagneticField() {}
62 cerr <<
"StSimpleMagneticField::getInstance(): " << endl;
63 cerr <<
"\tWARNING" << endl;
64 cerr <<
"\tSingleton class is already instantiated." << endl;
65 cerr <<
"\tArgument (StThreeVector) is ignored." << endl;
75 cerr <<
"StSimpleMagneticField::getInstance(): " << endl;
76 cerr <<
"\tWARNING" << endl;
77 cerr <<
"\tSingleton class is already instantiated." << endl;
78 cerr <<
"\tArgument (const char*) is ignored." << endl;