]>
Commit | Line | Data |
---|---|---|
0aec4033 | 1 | void 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 | } |