]>
Commit | Line | Data |
---|---|---|
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 | #include <vector> // bypass a cint problem in root-5.20 | |
11 | ||
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 | ||
19 | void its_raw(Int_t mode = 63, | |
20 | Bool_t check_empty = kTRUE, | |
21 | Bool_t scaled_modules = kFALSE) | |
22 | { | |
23 | AliRawReader *rawReader = AliEveEventManager::AssertRawReader(); | |
24 | ||
25 | TEveUtil::LoadMacro("its_common_foos.C"); | |
26 | ||
27 | AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo(); | |
28 | di->ReadRaw(rawReader,mode); | |
29 | // di->Dump(); | |
30 | ||
31 | gStyle->SetPalette(1, 0); | |
32 | ||
33 | its_display_raw_digits(di, mode, check_empty, scaled_modules); | |
34 | } |