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