kine_tracks.C
[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
a6337352 10#include <vector> // bypass a cint problem in root-5.20
11
c2c4b7a2 12// Load ITS raw-data.
13// Argument mode is a bitwise or determining which layers to import:
14// 1, 2 : SPD
15// 4, 8 : SDD
16// 16, 32 : SSD
17// By default import all layers.
18
19void its_raw(Int_t mode = 63)
9d7caeed 20{
c2c4b7a2 21 AliRawReader *rawReader = AliEveEventManager::AssertRawReader();
9d7caeed 22
c2c4b7a2 23 TEveUtil::LoadMacro("its_common_foos.C");
9d7caeed 24
d810d0de 25 AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo();
c2c4b7a2 26 di->ReadRaw(rawReader,mode);
27 // di->Dump();
9d7caeed 28
29 gStyle->SetPalette(1, 0);
9d7caeed 30
c2c4b7a2 31 its_display_raw_digits(di, mode);
9d7caeed 32}