In muon-related macros in EVE:
[u/mrichter/AliRoot.git] / EVE / alice-macros / t0_digits.C
CommitLineData
6a680ee5 1// $Id$
d810d0de 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 *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
6a680ee5 9
6a680ee5 10void t0_digits()
11{
6c841fa2 12 AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
6a680ee5 13
14 rl->LoadDigits("T0");
15 TTree* dt = rl->GetTreeD("T0", false);
84aff7a4 16
6a680ee5 17 AliT0digit *digits = 0;
18 dt->SetBranchAddress("T0", &digits);
19 dt->GetEntry(0);
20
21 gStyle->SetPalette(1, 0);
6a680ee5 22
d810d0de 23 AliEveT0Module::MakeModules(digits);
6a680ee5 24}
25