]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALReconstructionTest.C
Check existence of getter before using it
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALReconstructionTest.C
CommitLineData
d8d3b5b8 1#if !defined(__CINT__) || defined(__MAKECINT__)
8e6be4ca 2#include <iostream>
6ddf6724 3
8e6be4ca 4#include "TString.h"
5
6#include "EMCAL/AliEMCALReconstructioner.h"
d8d3b5b8 7#endif
6ddf6724 8
8e6be4ca 9void Go(TString deb = ""){
10 AliEMCALReconstructioner * a ;
11
12 cout << "AliEMCAL:> Single File default reconstruction started" << endl ;
13 a = new AliEMCALReconstructioner("galice.root") ; //first -single file default reconstruction
14 a->ExecuteTask(deb.Data()) ;
6ddf6724 15 cout << "AliEMCAL:> Single File default reconstruction finished" << endl ;
8e6be4ca 16 // delete a ;
17
6ddf6724 18 cout << "AliEMCAL:> Single File branch TEST reconstruction started" << endl ;
8e6be4ca 19 a = new AliEMCALReconstructioner("galice.root","test") ; //another branch single file recontruction
20 a->ExecuteTask(deb.Data()) ;
6ddf6724 21 cout << "AliEMCAL:> Single File branch TEST reconstruction ended" << endl ;
8e6be4ca 22 //delete a ;
6ddf6724 23
24 cout << "AliEMCAL:> Split File default reconstruction started" << endl ;
8e6be4ca 25 a = new AliEMCALReconstructioner("galice.root","Default",kTRUE) ; //Split file default reconstruction
26 a->ExecuteTask(deb.Data()) ;
6ddf6724 27 cout << "AliEMCAL:> Split File default reconstruction ended" << endl ;
8e6be4ca 28 //delete a ;
29
6ddf6724 30 cout << "--------AliEMCAL:> Reconstruction OK------------------"<< endl ;
6ddf6724 31}