ROOT logo
Int_t TestSPD(Int_t n = 10,Char_t SlowOrFast='s'){
   
   AliLoader::SetDebug(kTRUE);//set it to kTRUE for debug print-out
   gAlice->SetDebug(100);
   /**********************************************/
   /************ G E N E R A T I O N *************/
   /**********************************************/
      
   gROOT->LoadMacro("$(ALICE_ROOT)/macros/grun.C");
   grun(n,"$(ALICE_ROOT)/ITS/ConfigSPD02.C");

  
   /**********************************************/
   /******************* I T S ********************/
   /**********************************************/
   //The following part is just core of AliITStestV2.C
   if (SlowOrFast=='f') {
      cerr<<"Fast AliITSRecPoint(s) !\n";
      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2FastRecPoints.C");
      AliITSHits2FastRecPoints();
   } else {
      cerr<<"Slow AliITSRecPoint(s) !\n";
      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C");
      AliITSHits2SDigits();
      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C");
      AliITSSDigits2Digits();
      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSDigits2RecPoints.C");
      AliITSDigits2RecPoints();
   }
        // The following may not work properly.
//   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersV2.C");
//   if (rc=AliITSFindClustersV2(SlowOrFast)) return rc;

//   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindTracksV2.C");
//   if (rc=AliITSFindTracksV2()) return rc;

   ::Info("NewIO test","Everything seems to be OK");   
   ::Info("NewIO test","You can try now display.C");
}
 TestSPD.C:1
 TestSPD.C:2
 TestSPD.C:3
 TestSPD.C:4
 TestSPD.C:5
 TestSPD.C:6
 TestSPD.C:7
 TestSPD.C:8
 TestSPD.C:9
 TestSPD.C:10
 TestSPD.C:11
 TestSPD.C:12
 TestSPD.C:13
 TestSPD.C:14
 TestSPD.C:15
 TestSPD.C:16
 TestSPD.C:17
 TestSPD.C:18
 TestSPD.C:19
 TestSPD.C:20
 TestSPD.C:21
 TestSPD.C:22
 TestSPD.C:23
 TestSPD.C:24
 TestSPD.C:25
 TestSPD.C:26
 TestSPD.C:27
 TestSPD.C:28
 TestSPD.C:29
 TestSPD.C:30
 TestSPD.C:31
 TestSPD.C:32
 TestSPD.C:33
 TestSPD.C:34
 TestSPD.C:35
 TestSPD.C:36
 TestSPD.C:37
 TestSPD.C:38
 TestSPD.C:39
 TestSPD.C:40