AliFMDMerger.h
[u/mrichter/AliRoot.git] / FMD / FMDReconstruction.C
CommitLineData
37c55dc0 1void FMDReconstruction (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 ;
12 TFile * f = new TFile("mgalice.root","UPDATE");
13 gAlice = (AliRun*) f->Get("gAlice") ;
14 cout<<"gAlice="<<gAlice<<endl;
15 AliFMD* FMD = (AliFMD *)gAlice->GetDetector("FMD");
16 cout<<"\nFMD="<<FMD<<endl;
17 gAlice->RunReco("FMD") ;
18}
19