]> git.uio.no Git - u/mrichter/AliRoot.git/blob - EVE/alice-macros/its_raw.C
AliEveEventManager
[u/mrichter/AliRoot.git] / EVE / alice-macros / its_raw.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 // 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
17 void its_raw(Int_t mode = 63)
18 {
19   AliRawReader *rawReader = AliEveEventManager::AssertRawReader();
20
21   TEveUtil::LoadMacro("its_common_foos.C");
22
23   AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo();
24   di->ReadRaw(rawReader,mode);
25   // di->Dump();
26
27   gStyle->SetPalette(1, 0);
28
29   its_display_raw_digits(di, mode);
30 }