AliEveEventManager
[u/mrichter/AliRoot.git] / EVE / alice-macros / its_raw.C
CommitLineData
d810d0de 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 *
51346b82 7 * full copyright notice. *
d810d0de 8 **************************************************************************/
20807c14 9
c2c4b7a2 10// Load ITS raw-data.
11// Argument mode is a bitwise or determining which layers to import:
12// 1, 2 : SPD
13// 4, 8 : SDD
14// 16, 32 : SSD
15// By default import all layers.
16
17void its_raw(Int_t mode = 63)
9d7caeed 18{
c2c4b7a2 19 AliRawReader *rawReader = AliEveEventManager::AssertRawReader();
9d7caeed 20
c2c4b7a2 21 TEveUtil::LoadMacro("its_common_foos.C");
9d7caeed 22
d810d0de 23 AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo();
c2c4b7a2 24 di->ReadRaw(rawReader,mode);
25 // di->Dump();
9d7caeed 26
27 gStyle->SetPalette(1, 0);
9d7caeed 28
c2c4b7a2 29 its_display_raw_digits(di, mode);
9d7caeed 30}