]>
Commit | Line | Data |
---|---|---|
5a5a1232 | 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 | **************************************************************************/ |
5a5a1232 | 9 | |
a6337352 | 10 | #include <vector> // bypass a cint problem in root-5.20 |
11 | ||
716345b3 | 12 | // Load ITS digits. |
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 | ||
a4135a45 | 19 | void its_digits(Int_t mode = 63, |
20 | Bool_t check_empty = kTRUE, | |
21 | Bool_t scaled_modules = kFALSE) | |
5a5a1232 | 22 | { |
d810d0de | 23 | AliRunLoader* rl = AliEveEventManager::AssertRunLoader(); |
5a5a1232 | 24 | rl->LoadDigits("ITS"); |
25 | TTree* dt = rl->GetTreeD("ITS", false); | |
26 | ||
c2c4b7a2 | 27 | TEveUtil::LoadMacro("its_common_foos.C"); |
28 | ||
d810d0de | 29 | AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo(); |
5a5a1232 | 30 | di->SetTree(dt); |
c2c4b7a2 | 31 | // di->Dump(); |
5a5a1232 | 32 | |
33 | gStyle->SetPalette(1, 0); | |
34 | ||
a4135a45 | 35 | its_display_raw_digits(di, mode, check_empty, scaled_modules); |
5a5a1232 | 36 | } |