1 Int_t TestSPD(Int_t n = 10,Char_t SlowOrFast='s'){
3 AliLoader::SetDebug(kTRUE);//set it to kTRUE for debug print-out
5 /**********************************************/
6 /************ G E N E R A T I O N *************/
7 /**********************************************/
9 gROOT->LoadMacro("$(ALICE_ROOT)/macros/grun.C");
10 grun(n,"$(ALICE_ROOT)/ITS/ConfigSPD02.C");
13 /**********************************************/
14 /******************* I T S ********************/
15 /**********************************************/
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();
22 cerr<<"Slow AliITSRecPoint(s) !\n";
23 gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C");
25 gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C");
26 AliITSSDigits2Digits();
27 gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSDigits2RecPoints.C");
28 AliITSDigits2RecPoints();
30 // The following may not work properly.
31 // gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersV2.C");
32 // if (rc=AliITSFindClustersV2(SlowOrFast)) return rc;
34 // gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindTracksV2.C");
35 // if (rc=AliITSFindTracksV2()) return rc;
37 ::Info("NewIO test","Everything seems to be OK");
38 ::Info("NewIO test","You can try now display.C");