]> git.uio.no Git - u/mrichter/AliRoot.git/blame - FMD/FMDReconstructor.C
Adding track references at decay points (M.Ivanov)
[u/mrichter/AliRoot.git] / FMD / FMDReconstructor.C
CommitLineData
37c55dc0 1void FMDReconstructor (Int_t evNumber=1)
2{
3 if (gClassTable->GetID("AliRun") < 0)
4 {
5 gROOT->LoadMacro("$ALICE_ROOT/macros/loadlibs.C");
6 loadlibs();
7 }
8 if (gSystem->Getenv("CONFIG_SPLIT_FILE"))
9 cout << "SPLIT" << endl;
10 else
11 cout << "NO SPLIT" << endl ;
88cb7938 12
13
14
15 //TFile * f = new TFile("galice.root","UPDATE");
16 //gAlice = (AliRun*) f->Get("gAlice") ;
17
18 AliRunLoader* rl = AliRunLoader::Open("galice.root",AliConfig::fgkDefaultEventFolderName,"read");
19 if (rl == 0x0)
20 {
21 cerr<<"Can not open session for file galice.root\n";
22 return;
23 }
24
25 rl->LoadgAlice();
26 gAlice = rl->GetAliRun();
27
37c55dc0 28 AliFMD* FMD = (AliFMD *)gAlice->GetDetector("FMD");
88cb7938 29
30 gAlice->RunReco("FMD");
37c55dc0 31}
32