#include "Riostream.h" #include #include "TGo4Log.h" #include "TApplication.h" #include "TGo4AnalysisClient.h" void usage(); int main(int argc, char **argv) { TApplication theApp("App", &argc, argv); // define debug output section: TGo4Log::Instance(); // init logger object TGo4Log::SetIgnoreLevel(0); // set this to 1 to suppress detailed debug output // set this to 2 to get warnings and errors only // set this to 3 to get errors only TGo4Log::LogfileEnable(kFALSE); // will enable or disable logging all messages to file if(argc<4) { usage(); } else { Text_t* name=argv[1]; Text_t* hostname=argv[2]; Text_t* connector=argv[3]; UInt_t con=atoi(connector); cout << "Client:"<SetAutoSaveFile("EbAutoSave"); // myanalysis->SetAutoSaveInterval(200000); // TGo4AnalysisClient* myclient = new TGo4AnalysisClient(name,myanalysis,hostname,con); cout << "Created AnalysisClient Instance: "<GetName()<