2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
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 **************************************************************************/
10 #if !defined(__CINT__) || defined(__MAKECINT__)
15 #include <STEER/STEER/AliRunLoader.h>
16 #include <EveBase/AliEveEventManager.h>
17 #include <EveDet/AliEveITSDigitsInfo.h>
19 #include "its_common_foos.C"
24 // Argument mode is a bitwise or determining which layers to import:
28 // By default import all layers.
30 void its_digits(Int_t mode = 63,
31 Bool_t check_empty = kTRUE,
32 Bool_t scaled_modules = kFALSE)
34 AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
35 rl->LoadDigits("ITS");
36 TTree* dt = rl->GetTreeD("ITS", false);
38 TEveUtil::LoadMacro("its_common_foos.C");
40 AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo();
44 gStyle->SetPalette(1, 0);
46 its_display_raw_digits(di, mode, check_empty, scaled_modules);