]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/alice-macros/t0_digits.C
Remove trailing whitespace.
[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 namespace Alieve {
11 class AliEveEventManager;
12 }
13
14 void t0_digits()
15 {
16   AliRunLoader* rl =  AliEveEventManager::AssertRunLoader();
17
18   rl->LoadDigits("T0");
19   TTree* dt = rl->GetTreeD("T0", false);
20
21   AliT0digit *digits = 0;
22   dt->SetBranchAddress("T0", &digits);
23   dt->GetEntry(0);
24
25   gStyle->SetPalette(1, 0);
26
27   AliEveT0Module::MakeModules(digits);
28 }
29