]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EMCAL/AliEMCALAnalyseTest.C
Moved the EMCAL back to 60 < phi < 180
[u/mrichter/AliRoot.git] / EMCAL / AliEMCALAnalyseTest.C
CommitLineData
8e6be4ca 1#include <iostream>
2
3#include "EMCAL/AliEMCALGetter.h"
4
5
6void Go(){
6ddf6724 7
8 cout << "AliEMCAL:> Single File default reconstruction analysing" << endl ;
9
10 AliEMCALGetter* gime=AliEMCALGetter::GetInstance("galice.root") ;
11 gime->Event(0,"SDR") ;
12
13 if((gime->TowerRecPoints()==0)||(gime->TowerRecPoints()->At(0)==0)){
14 cout << " No TowerRecPoint !!!!! " << endl ;
15 }
16
8e6be4ca 17 if((gime->PreShowerRecPoints()==0)||(gime->PreShowerRecPoints()->At(0)==0)){
18 cout << " No PreShowerRecPoint !!!!! " << endl ;
6ddf6724 19 }
20
21// if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){
22// cout << " No TrackSegments !!!! " << endl ;
23// }
24
25// if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){
26// cout << " No RecParticles !!!!! " << endl ;
27// }
28
29 cout << "AliEMCAL:> Single File default analysing finished" << endl ;
30
31
32 cout << "AliEMCAL:> Single File branch TEST analyzing started" << endl ;
33
34 gime=AliEMCALGetter::GetInstance("galice.root","test") ;
35 gime->Event(0,"SDR") ;
36
37 if((gime->TowerRecPoints()==0)||(gime->TowerRecPoints()->At(0)==0)){
38 cout << "No TowerRecPoint " << endl ;
39 }
40
41 if((gime->PreShowerRecPoints()==0)||(gime->PreShowerRecPoints()->At(0)==0)){
8e6be4ca 42 cout << "No PreShowerRecPoint " << endl ;
6ddf6724 43 }
44
45// if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){
46// cout << "No TrackSegments " << endl ;
47// }
48
49// if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){
50// cout << "No RecParticles " << endl ;
51// }
52
53 cout << "AliEMCAL:> Single File branch TEST reconstruction ended" << endl ;
54
55
56 cout << "AliEMCAL:> Split File default reconstruction started" << endl ;
57
58 gime=AliEMCALGetter::GetInstance("galice.root","Default",kTRUE) ;
59 gime->Event(0,"SDR") ;
60
61 if((gime->TowerRecPoints()==0)||(gime->TowerRecPoints()->At(0)==0)){
62 cout << "No TowerRecPoint " << endl ;
63 }
64 if((gime->PreShowerRecPoints()==0)||(gime->PreShowerRecPoints()->At(0)==0)){
65 cout << "No PreShowerRecPoint " << endl ;
66 }
67
68 // if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){
69// cout << "No TrackSegments " << endl ;
70// }
71
72// if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){
73// cout << "No RecParticles " << endl ;
74// }
75
76 cout << "AliEMCAL:> Split File default reconstruction ended" << endl ;
77
78 cout << "--------AliEMCAL:> Reconstruction OK------------------"<< endl ;
79
80}