3 #include "AliPHOSGetter.h"
6 cout << "AliPHOS:> Single File default reconstruction analysing" << endl ;
7 AliPHOSGetter* gime=AliPHOSGetter::GetInstance("galice.root") ;
9 if((gime->EmcRecPoints()==0)||(gime->EmcRecPoints()->At(0)==0)){
10 cout << " No EmcRecPoint !!!!! " << endl ;
12 if((gime->CpvRecPoints()==0)||(gime->CpvRecPoints()->At(0)==0)){
13 cout << " No CpvRecPoint !!!!! " << endl ;
15 if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){
16 cout << " No TrackSegments !!!! " << endl ;
18 if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){
19 cout << " No RecParticles !!!!! " << endl ;
21 cout << "AliPHOS:> Single File default analysing finished" << endl ;
24 cout << "AliPHOS:> Single File branch TEST analyzing started" << endl ;
25 gime=AliPHOSGetter::GetInstance("galice.root","test") ;
26 gime->Event(0,"SDR") ;
27 if((gime->EmcRecPoints()==0)||(gime->EmcRecPoints()->At(0)==0)){
28 cout << "No EmcRecPoint " << endl ;
30 if((gime->CpvRecPoints()==0)||(gime->CpvRecPoints()->At(0)==0)){
31 cout << "No CpvRecPoint " << endl ;
33 if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){
34 cout << "No TrackSegments " << endl ;
36 if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){
37 cout << "No RecParticles " << endl ;
39 cout << "AliPHOS:> Single File branch TEST reconstruction ended" << endl ;
42 cout << "AliPHOS:> Split File default reconstruction started" << endl ;
43 gime=AliPHOSGetter::GetInstance("galice.root","Default",kTRUE) ;
44 gime->Event(0,"SDR") ;
45 if((gime->EmcRecPoints()==0)||(gime->EmcRecPoints()->At(0)==0)){
46 cout << "No EmcRecPoint " << endl ;
48 if((gime->CpvRecPoints()==0)||(gime->CpvRecPoints()->At(0)==0)){
49 cout << "No CpvRecPoint " << endl ;
51 if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){
52 cout << "No TrackSegments " << endl ;
54 if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){
55 cout << "No RecParticles " << endl ;
57 cout << "AliPHOS:> Split File default reconstruction ended" << endl ;
58 cout << "--------AliPHOS:> Reconstruction OK------------------"<< endl ;