Last minute changes and new code for event mixing and reconstruction (A.Maevskaia)
[u/mrichter/AliRoot.git] / FMD / TestReconstruction.C
CommitLineData
dc8af42e 1void TestReconstruction (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