]> git.uio.no Git - u/mrichter/AliRoot.git/blob - ITS/TestSPD.C
New macro to run/test SPD test beam simulation.
[u/mrichter/AliRoot.git] / ITS / TestSPD.C
1 Int_t TestSPD(Int_t n = 5){
2    Int_t rc=0;
3
4    AliLoader::SetDebug(kTRUE);//set it to kTRUE for debug print-out
5    gAlice->SetDebug(100);
6    /**********************************************/
7    /************ G E N E R A T I O N *************/
8    /**********************************************/
9
10    gROOT->LoadMacro("$(ALICE_ROOT)/macros/grun.C");
11    grun(n,"ConfigSPD02.C");
12
13    /**********************************************/
14    /******************* I T S ********************/
15    /**********************************************/
16    gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSHits2SDigits.C");
17    AliITSHits2SDigits();
18    gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSSDigits2Digits.C");
19    AliITSSDigits2Digits();
20    gROOT->LoadMacro("$(ALICE_ROOT)/ITS/AliITSDigits2RecPoints.C");
21    AliITSDigits2RecPoints();
22
23 }