]> git.uio.no Git - u/mrichter/AliRoot.git/blame - macros/initGeom.C
AddTaskFemto for train update
[u/mrichter/AliRoot.git] / macros / initGeom.C
CommitLineData
0aec4033 1void initGeom()
2{
3 // Macro replacing the gAlice->Init() to initialize the geometry
4 // Suggested by Raffaele Grosso <Raffaele.Grosso@cern.ch>
5
6 AliCDBManager* man = AliCDBManager::Instance();
7 man->SetDefaultStorage("local://$ALICE_ROOT/OCDB");
8 man->SetRun(0);
9
10 gROOT->LoadMacro("Config.C");
11 gInterpreter->ProcessLine(gAlice->GetConfigFunction());
12 gAlice->GetMCApp()->Init();
13}