]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/alice-macros/t0_digits.C
SPD trackelts were too thick.
[u/mrichter/AliRoot.git] / EVE / alice-macros / t0_digits.C
1 // $Id$
2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
3
4 /**************************************************************************
5  * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6  * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for          *
7  * full copyright notice.                                                 *
8  **************************************************************************/
9
10 void t0_digits()
11 {
12   AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
13
14   rl->LoadDigits("T0");
15   TTree* dt = rl->GetTreeD("T0", false);
16
17   AliT0digit *digits = 0;
18   dt->SetBranchAddress("T0", &digits);
19   dt->GetEntry(0);
20
21   gStyle->SetPalette(1, 0);
22
23   AliEveT0Module::MakeModules(digits);
24 }
25