]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/alice-macros/t0_digits.C
Corrected code to visualize the ITS raw data. Subject to further changes
[u/mrichter/AliRoot.git] / EVE / alice-macros / t0_digits.C
1 // $Id$
2
3 namespace Alieve {
4 class Event;
5 }
6
7
8
9 void t0_digits()
10 {
11   AliRunLoader* rl =  Alieve::Event::AssertRunLoader();
12   Int_t g_currentEvent = Alieve::gEvent->GetEventId();
13     cout<<g_currentEvent<<endl;
14
15   rl->LoadDigits("T0");
16   TTree* dt = rl->GetTreeD("T0", false);
17   //Alieve::T0DigitsInfo* di = new Alieve::T0DigitsInfo();
18   //  di->SetDTree(dt);
19   //di->Dump();
20   //  AliSTARTdigit *digits = 0;
21  
22   AliT0digit *digits = 0;
23   dt->SetBranchAddress("T0", &digits);
24   dt->GetEntry(0);
25
26   gStyle->SetPalette(1, 0);
27   //  gReve->DisableRedraw();
28
29   Alieve::T0Module::MakeModules(digits);
30
31   //Alieve::T0Module* m = new Alieve::T0Module(di);
32   //
33   //gReve->EnableRedraw();
34   //m->LoadQuadsDigits();
35 }
36