Updated code/macros to be compliant with the current HEAD (from Y. Belikov)
[u/mrichter/AliRoot.git] / ITS / AliITStestV2.C
index 640f7d7835b7ec66995e6a9191b55da3860f7908..156df01178b3c61439e8e83b632f2e9e3967cf32 100644 (file)
@@ -17,18 +17,19 @@ Int_t AliITStestV2(Char_t SlowOrFast='s') {
 
    if (SlowOrFast=='f') {
       cerr<<"Fast AliITSRecPoint(s) !\n";
-      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/ITSHitsToFastPoints.C");
-      ITSHitsToFastPoints();
+      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2FastRecPoints.C");
+      AliITSHits2FastRecPoints();
    } else {
       cerr<<"Slow AliITSRecPoint(s) !\n";
-      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2Digits.C");
-      AliITSHits2Digits();
-      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClusters.C");
-      AliITSFindClusters();
+      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C");
+      AliITSHits2SDigits();
+      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C");
+      AliITSSDigits2Digits();
+      gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSDigits2RecPoints.C");
+      AliITSDigits2RecPoints();
    }
-
    gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersV2.C");
-   if (rc=AliITSFindClustersV2()) return rc;
+   if (rc=AliITSFindClustersV2(SlowOrFast)) return rc;
 
    gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindTracksV2.C");
    if (rc=AliITSFindTracksV2()) return rc;
@@ -36,5 +37,17 @@ Int_t AliITStestV2(Char_t SlowOrFast='s') {
    gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSComparisonV2.C");
    if (rc=AliITSComparisonV2()) return rc;
 
+   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliV0FindVertices.C");
+   if (rc=AliV0FindVertices()) return rc;
+
+   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliV0Comparison.C");
+   if (rc=AliV0Comparison()) return rc;
+
+   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliCascadeFindVertices.C");
+   if (rc=AliCascadeFindVertices()) return rc;
+
+   gROOT->ProcessLine(".L $(ALICE_ROOT)/ITS/AliCascadeComparison.C+");
+   if (rc=AliCascadeComparison()) return rc;
+
    return rc;
 }