]> git.uio.no Git - u/mrichter/AliRoot.git/blame - EVE/alice-macros/t0_digits.C
First big commit of the mchview program and its accompanying library,
[u/mrichter/AliRoot.git] / EVE / alice-macros / t0_digits.C
CommitLineData
6a680ee5 1// $Id$
2
3namespace Alieve {
4class Event;
5}
6
7
8
9void 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