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 <AliRunLoader.h>
16 #include <AliEveEventManager.h>
17 #include <AliEveITSDigitsInfo.h>
19 #include "its_common_foos.C"
23 // Argument mode is a bitwise or determining which layers to import:
27 // By default import all layers.
29 void its_digits(Int_t mode = 63,
30 Bool_t check_empty = kTRUE,
31 Bool_t scaled_modules = kFALSE)
33 AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
34 rl->LoadDigits("ITS");
35 TTree* dt = rl->GetTreeD("ITS", false);
37 TEveUtil::LoadMacro("its_common_foos.C");
39 AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo();
43 gStyle->SetPalette(1, 0);
45 its_display_raw_digits(di, mode, check_empty, scaled_modules);