]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ITS/AliITStestBari.C
removed; now the Bari/Salerno model is the default
[u/mrichter/AliRoot.git] / ITS / AliITStestBari.C
diff --git a/ITS/AliITStestBari.C b/ITS/AliITStestBari.C
deleted file mode 100644 (file)
index 07cd575..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-Int_t AliITStestBari() {
-   Int_t rc=0;
-
-//Test ITS simulation
-   gROOT->LoadMacro("$(ALICE_ROOT)/macros/grun.C");
-   grun();
-
-   Int_t ver=gAlice->GetDetector("ITS")->IsVersion();
-   delete gAlice; gAlice=0;
-
-   if (ver!=5) {
-      cerr<<"Invalid ITS version: "<<ver<<" ! (must be 5 for the moment)\n";
-      return 12345;
-   }
-
-   if (ver==5) {
-     gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2DigitsBari.C");
-     if (rc=AliITSHits2DigitsBari()) return rc;
-
-   }
-
-   printf("start reconstruction\n");
-
-//Test ITS reconstruction
-   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSFindClustersBari.C");
-
-   delete gAlice; gAlice=0;
-   
-   if (rc=AliITSFindClustersBari()) return rc;
-
-   //gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSgraphycs.C");
-   //if (rc=AliITSgraphycs()) return rc;
-
-   return rc;
-}