]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/TestSPD.C
QA for digits in reconstruction (Melinda)
[u/mrichter/AliRoot.git] / ITS / TestSPD.C
CommitLineData
a421d869 1Int_t TestSPD(Int_t n = 10,Char_t SlowOrFast='s'){
2
87f5f9fa 3 AliLoader::SetDebug(kTRUE);//set it to kTRUE for debug print-out
4 gAlice->SetDebug(100);
5 /**********************************************/
6 /************ G E N E R A T I O N *************/
7 /**********************************************/
a421d869 8
87f5f9fa 9 gROOT->LoadMacro("$(ALICE_ROOT)/macros/grun.C");
a421d869 10 grun(n,"$(ALICE_ROOT)/ITS/ConfigSPD02.C");
87f5f9fa 11
a421d869 12
87f5f9fa 13 /**********************************************/
14 /******************* I T S ********************/
15 /**********************************************/
a421d869 16 //The following part is just core of AliITStestV2.C
17 if (SlowOrFast=='f') {
18 cerr<<"Fast AliITSRecPoint(s) !\n";
19 gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2FastRecPoints.C");
20 AliITSHits2FastRecPoints();
21 } else {
22 cerr<<"Slow AliITSRecPoint(s) !\n";
23 gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C");
24 AliITSHits2SDigits();
25 gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C");
26 AliITSSDigits2Digits();
27 gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSDigits2RecPoints.C");
28 AliITSDigits2RecPoints();
29 }
30 // The following may not work properly.
31// gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersV2.C");
32// if (rc=AliITSFindClustersV2(SlowOrFast)) return rc;
33
34// gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindTracksV2.C");
35// if (rc=AliITSFindTracksV2()) return rc;
87f5f9fa 36
a421d869 37 ::Info("NewIO test","Everything seems to be OK");
38 ::Info("NewIO test","You can try now display.C");
87f5f9fa 39}