]>
Commit | Line | Data |
---|---|---|
88c93889 | 1 | Int_t AliITStestBari() { |
2 | Int_t rc=0; | |
3 | ||
4 | //Test ITS simulation | |
5 | gROOT->LoadMacro("$(ALICE_ROOT)/macros/grun.C"); | |
6 | grun(); | |
7 | ||
8 | Int_t ver=gAlice->GetDetector("ITS")->IsVersion(); | |
9 | delete gAlice; gAlice=0; | |
10 | ||
11 | if (ver!=5) { | |
12 | cerr<<"Invalid ITS version: "<<ver<<" ! (must be 5 for the moment)\n"; | |
13 | return 12345; | |
14 | } | |
15 | ||
16 | if (ver==5) { | |
17 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2DigitsBari.C"); | |
89855786 | 18 | if (rc=AliITSHits2DigitsBari()) return rc; |
88c93889 | 19 | |
20 | } | |
21 | ||
22 | printf("start reconstruction\n"); | |
23 | ||
24 | //Test ITS reconstruction | |
25 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersBari.C"); | |
89855786 | 26 | |
27 | delete gAlice; gAlice=0; | |
28 | ||
29 | if (rc=AliITSFindClustersBari()) return rc; | |
88c93889 | 30 | |
31 | //gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSgraphycs.C"); | |
32 | //if (rc=AliITSgraphycs()) return rc; | |
33 | ||
34 | return rc; | |
35 | } |