]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/EveBase/AliEveApplication.cxx
Resolving all symbols in the library
[u/mrichter/AliRoot.git] / EVE / EveBase / AliEveApplication.cxx
CommitLineData
e943b3c1 1// Author: Mihai Niculescu 2012
2
3/**************************************************************************
4 * Copyright(c) 1998-2012, ALICE Experiment at CERN, all rights reserved. *
5 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
6 * full copyright notice. *
7 **************************************************************************/
8
9#include <TInterpreter.h>
10#include <TSystem.h>
11#include <TString.h>
12#include <TROOT.h>
13
14#include <AliLog.h>
15
16#include <AliEveApplication.h>
e943b3c1 17
18ClassImp(AliEveApplication)
19
20AliEveApplication::AliEveApplication(const char* appClassName, int* argc, char** argv, void* options, int numOptions, Bool_t noLogo)
2e29a658 21 : TRint(appClassName, argc, argv, options, numOptions, noLogo)
e943b3c1 22{
2e29a658 23 Init();
e943b3c1 24}
25
26AliEveApplication::~AliEveApplication()
27{}
28
29void AliEveApplication::Init()
30{
31
2e29a658 32 TString evedir(Form("%s/EVE", gSystem->Getenv("ALICE_ROOT")));
e943b3c1 33
2e29a658 34 TString macPath(gROOT->GetMacroPath());
35 macPath += Form(":%s/macros", evedir.Data());
36 gInterpreter->AddIncludePath(evedir);
e943b3c1 37
2e29a658 38 macPath += Form(":%s/alice-macros", evedir.Data());
39 gInterpreter->AddIncludePath(Form("%s/EVE", gSystem->Getenv("ALICE_ROOT")));
40 gInterpreter->AddIncludePath(Form("%s/PWG0", gSystem->Getenv("ALICE_ROOT")));
41 gInterpreter->AddIncludePath(Form("%s/include", gSystem->Getenv("ALICE_ROOT")));
42 gInterpreter->AddIncludePath(gSystem->Getenv("ALICE_ROOT"));
e943b3c1 43
2e29a658 44 gROOT->SetMacroPath(macPath);
e943b3c1 45
2e29a658 46 // make sure logger is instantiated
47 AliLog::GetRootLogger();
e943b3c1 48
e943b3c1 49}