]> git.uio.no Git - u/mrichter/AliRoot.git/blob - FMD/TestReconstruction.C
Printout only in case of debug
[u/mrichter/AliRoot.git] / FMD / TestReconstruction.C
1 void 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