New macro to run/test SPD test beam simulation.
authornilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Oct 2003 14:08:12 +0000 (14:08 +0000)
committernilsen <nilsen@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 7 Oct 2003 14:08:12 +0000 (14:08 +0000)
ITS/TestSPD.C [new file with mode: 0644]

diff --git a/ITS/TestSPD.C b/ITS/TestSPD.C
new file mode 100644 (file)
index 0000000..2977718
--- /dev/null
@@ -0,0 +1,23 @@
+Int_t TestSPD(Int_t n = 5){
+   Int_t rc=0;
+
+   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,"ConfigSPD02.C");
+
+   /**********************************************/
+   /******************* I T S ********************/
+   /**********************************************/
+   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C");
+   AliITSHits2SDigits();
+   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C");
+   AliITSSDigits2Digits();
+   gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSDigits2RecPoints.C");
+   AliITSDigits2RecPoints();
+
+}