]>
Commit | Line | Data |
---|---|---|
409f8c84 | 1 | Int_t AliITStestDubna() { |
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/AliITSHits2DigitsDubna.C"); | |
18 | if (rc=AliITSHits2DigitsDubna()) return rc; | |
19 | ||
20 | } | |
21 | ||
22 | printf("start reconstruction\n"); | |
23 | ||
24 | //Test ITS reconstruction | |
25 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersDubna.C"); | |
26 | if (rc=AliITSFindClustersDubna()) return rc; | |
27 | ||
28 | //gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSgraphycs.C"); | |
29 | //if (rc=AliITSgraphycs()) return rc; | |
30 | ||
31 | return rc; | |
32 | } |