]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PHOS/AliPHOSReconstructionTest.C
Overflow flag reset for new sample
[u/mrichter/AliRoot.git] / PHOS / AliPHOSReconstructionTest.C
CommitLineData
d8d3b5b8 1#if !defined(__CINT__) || defined(__MAKECINT__)
8e6be4ca 2#include <iostream>
8cfb382b 3
8e6be4ca 4#include "TString.h"
5
f444a19f 6#include "PHOS/AliPHOSReconstructor.h"
d8d3b5b8 7#endif
8e6be4ca 8
9void Go(TString deb = ""){
f444a19f 10 AliPHOSReconstructor * a ;
8e6be4ca 11
12 cout << "AliPHOS:> Single File default reconstruction started" << endl ;
f444a19f 13 a = new AliPHOSReconstructor("galice.root") ; //first -single file default reconstruction
8e6be4ca 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 ;
f444a19f 19 a = new AliPHOSReconstructor("galice.root","test") ; //another branch single file recontruction
8e6be4ca 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 ;
f444a19f 25 a = new AliPHOSReconstructor("galice.root","Default",kTRUE) ; //Split file default reconstruction
8e6be4ca 26 a->ExecuteTask(deb.Data()) ;
27 cout << "AliPHOS:> Split File default reconstruction ended" << endl ;
28 //delete a ;
29
30 cout << "--------AliPHOS:> Reconstruction OK------------------"<< endl ;
8cfb382b 31}