]>
Commit | Line | Data |
---|---|---|
aeb48c23 | 1 | Int_t AliITStestV2(Char_t SlowOrFast='s') { |
c524c8fc | 2 | Int_t rc=0; |
88cb7938 | 3 | if (gAlice) |
4 | { | |
5 | delete gAlice->GetRunLoader(); | |
6 | delete gAlice; | |
7 | gAlice=0; | |
8 | } | |
9 | rl = AliRunLoader::Open("galice.root"); | |
10 | if (rl == 0x0) | |
11 | { | |
12 | cerr<<"Can not open session"<<endl; | |
13 | return 1; | |
14 | } | |
15 | if (rl->LoadgAlice()) | |
16 | { | |
17 | cerr<<"Error occured while loading AliRun"<<endl; | |
c524c8fc | 18 | return 1; |
88cb7938 | 19 | } |
20 | AliKalmanTrack::SetConvConst(1000/0.299792458/rl->GetAliRun()->Field()->SolenoidField()); | |
21 | delete rl; | |
22 | ||
23 | ||
24 | ||
25 | cerr<<"Fast AliITSRecPoint(s) !\n"; | |
26 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2FastRecPoints.C"); | |
27 | AliITSHits2FastRecPoints(); | |
28 | ||
29 | cerr<<"Slow AliITSRecPoint(s) !\n"; | |
30 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C"); | |
31 | AliITSHits2SDigits(); | |
32 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C"); | |
33 | AliITSSDigits2Digits(); | |
34 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSDigits2RecPoints.C"); | |
35 | AliITSDigits2RecPoints(); | |
36 | ||
c524c8fc | 37 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersV2.C"); |
4465d468 | 38 | if (rc=AliITSFindClustersV2(SlowOrFast)) return rc; |
c524c8fc | 39 | |
40 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindTracksV2.C"); | |
41 | if (rc=AliITSFindTracksV2()) return rc; | |
42 | ||
43 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSComparisonV2.C"); | |
44 | if (rc=AliITSComparisonV2()) return rc; | |
f2718ade | 45 | /* |
04b2a5f1 | 46 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliV0FindVertices.C"); |
47 | if (rc=AliV0FindVertices()) return rc; | |
48 | ||
49 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliV0Comparison.C"); | |
50 | if (rc=AliV0Comparison()) return rc; | |
51 | ||
52 | gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliCascadeFindVertices.C"); | |
53 | if (rc=AliCascadeFindVertices()) return rc; | |
54 | ||
88b62d65 | 55 | gSystem->SetIncludePath("-I$ROOTSYS/include -I$ALICE_ROOT/include -I$ALICE_ROOT/ITS -I$ALICE_ROOT/TPC -I$ALICE_ROOT/CONTAINERS"); |
04b2a5f1 | 56 | gROOT->ProcessLine(".L $(ALICE_ROOT)/ITS/AliCascadeComparison.C+"); |
57 | if (rc=AliCascadeComparison()) return rc; | |
f2718ade | 58 | */ |
c524c8fc | 59 | return rc; |
60 | } |