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