12 TString symbole(
"Gw::BaseNucleus anucleus"), lib(
"libGWCORE"); cout <<
" ===> Checking " << lib <<
endl;
14 err = -1; gROOT->ProcessLine(symbole.Data(),&err);
16 cout <<
" *** WARNING *** autoloading cannot be done for " << lib <<
endl;
17 if ( gSystem->Load(lib.Data()) < 0 ) {
18 cout <<
" *** ERROR *** cannot load " << lib <<
endl;
23 TString symbole(
"Gw::LevelScheme lev"), lib(
"libGWPHYSICS") ; cout <<
" ===> Checking " << lib <<
endl;
24 err = -1; gROOT->ProcessLine(symbole.Data(),&err);
26 cout <<
" *** WARNING *** autoloading cannot be done for " << lib <<
endl;
27 if ( gSystem->Load(lib.Data()) < 0 ) {
28 cout <<
" *** ERROR *** cannot load " << lib <<
endl;
33 TString symbole(
"Gw::HistoDB db"), lib(
"libGWTOOLS") ; cout <<
" ===> Checking " << lib <<
endl;
34 err = -1; gROOT->ProcessLine(symbole.Data(),&err);
36 cout <<
" *** WARNING *** autoloading cannot be done for " << lib <<
endl;
37 if ( gSystem->Load(lib.Data()) < 0 ) {
38 cout <<
" *** ERROR *** cannot load " << lib <<
endl;
43 TString symbole(
"Gw::BaseGEM gem"), lib(
"libGWGEM") ; cout <<
" ===> Checking " << lib <<
endl;
44 err = -1; gROOT->ProcessLine(symbole.Data(),&err);
46 cout <<
" *** WARNING *** autoloading cannot be done for " << lib <<
endl;
47 if ( gSystem->Load(lib.Data()) < 0 ) {
48 cout <<
" *** ERROR *** cannot load " << lib <<
endl;
53 if ( gSystem->Load(
"libGWADF") < 0 )
56 TString symbole(
"Gw::Watcher watcher"), lib(
"libGWADFE") ; cout <<
" ===> Checking " << lib <<
endl;
57 err = -1; gROOT->ProcessLine(symbole.Data(),&err);
59 cout <<
" *** WARNING *** autoloading cannot be done for " << lib <<
endl;
60 if ( gSystem->Load(lib.Data()) < 0 ) {
61 cout <<
" *** ERROR *** cannot load " << lib <<
endl;
73 cout <<
" ===> Checking gammaware symboles " <<
endl;
76 cout <<
" ===> PASSED " <<
endl;
78 cout << endl <<
" all tests have been passed with success " <<
endl;
Bool_t RunTest1()
check if auto-loading is set properly
ADF::LogMessage & endl(ADF::LogMessage &log)