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 #include <vector> // bypass a cint problem in root-5.20
12 class AliEveITSModuleStepper;
14 void its_module_stepper(Int_t det = 0)
16 AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
17 rl->LoadDigits("ITS");
18 TTree* dt = rl->GetTreeD("ITS", false);
20 AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo();
24 gEve->DisableRedraw();
25 AliEveITSModuleStepper* ms = new AliEveITSModuleStepper(di);
27 gStyle->SetPalette(1, 0);
28 ms->DisplayDet(det, -1);
30 gEve->Redraw3D(kTRUE); // To enforce camera reset
33 TGLViewer* v = (TGLViewer *)gEve->GetGLViewer();
34 v->SetCurrentCamera(TGLViewer::kCameraOrthoXOY);
35 TGLCameraMarkupStyle* mup = v->GetCameraMarkup();
36 if(mup) mup->SetShow(kFALSE);