]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PHOS/AliPHOSReconstructionTest.C
- adding reco param handlers to build system
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructionTest.C
1 #if !defined(__CINT__) || defined(__MAKECINT__)
2 #include <iostream>
3
4 #include "TString.h"
5
6 #include "PHOS/AliPHOSReconstructor.h"
7 #endif
8
9 void Go(TString deb = ""){
10   AliPHOSReconstructor * a ;   
11
12   cout << "AliPHOS:> Single File default reconstruction started" << endl ;
13   a = new AliPHOSReconstructor("galice.root") ;  //first -single file default reconstruction
14   a->ExecuteTask(deb.Data()) ;
15   cout << "AliPHOS:> Single File default reconstruction finished" << endl ;
16   // delete a ; 
17
18   cout << "AliPHOS:> Single File branch TEST reconstruction started" << endl ;
19   a = new AliPHOSReconstructor("galice.root","test") ;  //another branch single file recontruction
20   a->ExecuteTask(deb.Data()) ;
21   cout << "AliPHOS:> Single File branch TEST reconstruction ended" << endl ;
22   //delete a ; 
23   
24   cout << "AliPHOS:> Split File default reconstruction started" << endl ;
25   a = new AliPHOSReconstructor("galice.root","Default",kTRUE) ; //Split file default reconstruction
26   a->ExecuteTask(deb.Data()) ;
27   cout << "AliPHOS:> Split File default reconstruction ended" << endl ;
28   //delete a ; 
29
30   cout << "--------AliPHOS:> Reconstruction OK------------------"<< endl ;
31 }