source: JEM-EUSO/esaf_lal/tags/v1_r0/esaf/macros/App/AppInit.C @ 117

Last change on this file since 117 was 117, checked in by moretto, 11 years ago

ESAF version compilable on mac OS

File size: 519 bytes
Line 
1#include <TSystem.h>
2
3void AppInit()
4{
5  cout << " " << endl;
6  // Load GlobalHisto Class
7  TString workDir = gSystem->WorkingDirectory(); 
8  gSystem->ChangeDirectory(gEusoMacrosDirectory+"/lib");
9  gSystem->Exec("make GlobalHisto.so");
10  cout << "Loading GlobalHisto";
11  gSystem->Load("GlobalHisto.so"); 
12  cout << "...done." << endl;
13  gSystem->ChangeDirectory(workDir);
14  TString mkGraphOutput = "mkdir -p " + gEusoOutputDirectory;
15  gSystem->Exec(mkGraphOutput+"/gif");
16  gSystem->Exec(mkGraphOutput+"/eps");
17}   
Note: See TracBrowser for help on using the repository browser.