ROOT logo
#if !defined(__CINT__) || defined(__MAKECINT__)
#include <iostream>

#include "TString.h"

#include "PHOS/AliPHOSReconstructor.h"
#endif

void Go(TString deb = ""){
  AliPHOSReconstructor * a ;   

  cout << "AliPHOS:> Single File default reconstruction started" << endl ;
  a = new AliPHOSReconstructor("galice.root") ;  //first -single file default reconstruction
  a->ExecuteTask(deb.Data()) ;
  cout << "AliPHOS:> Single File default reconstruction finished" << endl ;
  // delete a ; 

  cout << "AliPHOS:> Single File branch TEST reconstruction started" << endl ;
  a = new AliPHOSReconstructor("galice.root","test") ;  //another branch single file recontruction
  a->ExecuteTask(deb.Data()) ;
  cout << "AliPHOS:> Single File branch TEST reconstruction ended" << endl ;
  //delete a ; 
  
  cout << "AliPHOS:> Split File default reconstruction started" << endl ;
  a = new AliPHOSReconstructor("galice.root","Default",kTRUE) ; //Split file default reconstruction
  a->ExecuteTask(deb.Data()) ;
  cout << "AliPHOS:> Split File default reconstruction ended" << endl ;
  //delete a ; 

  cout << "--------AliPHOS:> Reconstruction OK------------------"<< endl ;
}
 AliPHOSReconstructionTest.C:1
 AliPHOSReconstructionTest.C:2
 AliPHOSReconstructionTest.C:3
 AliPHOSReconstructionTest.C:4
 AliPHOSReconstructionTest.C:5
 AliPHOSReconstructionTest.C:6
 AliPHOSReconstructionTest.C:7
 AliPHOSReconstructionTest.C:8
 AliPHOSReconstructionTest.C:9
 AliPHOSReconstructionTest.C:10
 AliPHOSReconstructionTest.C:11
 AliPHOSReconstructionTest.C:12
 AliPHOSReconstructionTest.C:13
 AliPHOSReconstructionTest.C:14
 AliPHOSReconstructionTest.C:15
 AliPHOSReconstructionTest.C:16
 AliPHOSReconstructionTest.C:17
 AliPHOSReconstructionTest.C:18
 AliPHOSReconstructionTest.C:19
 AliPHOSReconstructionTest.C:20
 AliPHOSReconstructionTest.C:21
 AliPHOSReconstructionTest.C:22
 AliPHOSReconstructionTest.C:23
 AliPHOSReconstructionTest.C:24
 AliPHOSReconstructionTest.C:25
 AliPHOSReconstructionTest.C:26
 AliPHOSReconstructionTest.C:27
 AliPHOSReconstructionTest.C:28
 AliPHOSReconstructionTest.C:29
 AliPHOSReconstructionTest.C:30
 AliPHOSReconstructionTest.C:31
 AliPHOSReconstructionTest.C:32