]>
Commit | Line | Data |
---|---|---|
8cfb382b | 1 | void AliPHOSAnalyseTest(){ |
2 | cout << "AliPHOS:> Single File default reconstruction analysing" << endl ; | |
3 | AliPHOSGetter* gime=AliPHOSGetter::GetInstance("galice.root") ; | |
4 | gime->Event(0,"SDR") ; | |
5 | if((gime->EmcRecPoints()==0)||(gime->EmcRecPoints()->At(0)==0)){ | |
6 | cout << " No EmcRecPoint !!!!! " << endl ; | |
7 | } | |
8 | if((gime->CpvRecPoints()==0)||(gime->CpvRecPoints()->At(0)==0)){ | |
9 | cout << " No CpvRecPoint !!!!! " << endl ; | |
10 | } | |
11 | if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){ | |
12 | cout << " No TrackSegments !!!! " << endl ; | |
13 | } | |
14 | if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){ | |
15 | cout << " No RecParticles !!!!! " << endl ; | |
16 | } | |
17 | cout << "AliPHOS:> Single File default analysing finished" << endl ; | |
18 | ||
19 | ||
20 | cout << "AliPHOS:> Single File branch TEST analyzing started" << endl ; | |
21 | gime=AliPHOSGetter::GetInstance("galice.root","test") ; | |
22 | gime->Event(0,"SDR") ; | |
23 | if((gime->EmcRecPoints()==0)||(gime->EmcRecPoints()->At(0)==0)){ | |
24 | cout << "No EmcRecPoint " << endl ; | |
25 | } | |
26 | if((gime->CpvRecPoints()==0)||(gime->CpvRecPoints()->At(0)==0)){ | |
27 | cout << "No CpvRecPoint " << endl ; | |
28 | } | |
29 | if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){ | |
30 | cout << "No TrackSegments " << endl ; | |
31 | } | |
32 | if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){ | |
33 | cout << "No RecParticles " << endl ; | |
34 | } | |
35 | cout << "AliPHOS:> Single File branch TEST reconstruction ended" << endl ; | |
36 | ||
37 | ||
38 | cout << "AliPHOS:> Split File default reconstruction started" << endl ; | |
39 | gime=AliPHOSGetter::GetInstance("galice.root","Default",kTRUE) ; | |
40 | gime->Event(0,"SDR") ; | |
41 | if((gime->EmcRecPoints()==0)||(gime->EmcRecPoints()->At(0)==0)){ | |
42 | cout << "No EmcRecPoint " << endl ; | |
43 | } | |
44 | if((gime->CpvRecPoints()==0)||(gime->CpvRecPoints()->At(0)==0)){ | |
45 | cout << "No CpvRecPoint " << endl ; | |
46 | } | |
47 | if((gime->TrackSegments()==0)||(gime->TrackSegments()->At(0)==0)){ | |
48 | cout << "No TrackSegments " << endl ; | |
49 | } | |
50 | if((gime->RecParticles()==0)||(gime->RecParticles()->At(0)==0)){ | |
51 | cout << "No RecParticles " << endl ; | |
52 | } | |
53 | cout << "AliPHOS:> Split File default reconstruction ended" << endl ; | |
54 | cout << "--------AliPHOS:> Reconstruction OK------------------"<< endl ; | |
55 | ||
56 | } |