First version of the new GUI in development. You can enable this UI with "alieve...
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveApplication.cxx
index 9cce3e8..bca0379 100644 (file)
 #include <AliLog.h>
 
 #include <AliEveApplication.h>
-#include <AliEveManager.h>
-
 
 ClassImp(AliEveApplication)
 
 AliEveApplication::AliEveApplication(const char* appClassName, int* argc, char** argv, void* options, int numOptions, Bool_t noLogo)
-       : TRint(appClassName, argc, argv, options, numOptions, noLogo)
+    : TRint(appClassName, argc, argv, options, numOptions, noLogo)
 {
-  Init();
+    Init();
 }
 
 AliEveApplication::~AliEveApplication()
@@ -31,24 +29,22 @@ AliEveApplication::~AliEveApplication()
 void  AliEveApplication::Init()
 {
 
-       static const TEveException kEH("alieve::main");
+    TString evedir(Form("%s/EVE", gSystem->Getenv("ALICE_ROOT")));
 
-  TString evedir(Form("%s/EVE", gSystem->Getenv("ALICE_ROOT")));
+    TString macPath(gROOT->GetMacroPath());
+    macPath += Form(":%s/macros", evedir.Data());
+    gInterpreter->AddIncludePath(evedir);
 
-  TString macPath(gROOT->GetMacroPath());
-  macPath += Form(":%s/macros", evedir.Data());
-  gInterpreter->AddIncludePath(evedir);
+    macPath += Form(":%s/alice-macros", evedir.Data());
+    gInterpreter->AddIncludePath(Form("%s/EVE", gSystem->Getenv("ALICE_ROOT")));
+    gInterpreter->AddIncludePath(Form("%s/PWG0", gSystem->Getenv("ALICE_ROOT")));
+    gInterpreter->AddIncludePath(Form("%s/include", gSystem->Getenv("ALICE_ROOT")));
+    gInterpreter->AddIncludePath(gSystem->Getenv("ALICE_ROOT"));
 
-  macPath += Form(":%s/alice-macros", evedir.Data());
-  gInterpreter->AddIncludePath(Form("%s/EVE", gSystem->Getenv("ALICE_ROOT")));
-  gInterpreter->AddIncludePath(Form("%s/PWG0", gSystem->Getenv("ALICE_ROOT")));
-  gInterpreter->AddIncludePath(Form("%s/include", gSystem->Getenv("ALICE_ROOT")));
-  gInterpreter->AddIncludePath(gSystem->Getenv("ALICE_ROOT"));
-  gROOT->SetMacroPath(macPath);
+    gROOT->SetMacroPath(macPath);
 
-  // make sure logger is instantiated
-  AliLog::GetRootLogger();
+    // make sure logger is instantiated
+    AliLog::GetRootLogger();
 
 
 }