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 class AliEveITSModuleStepper;
12 void its_module_stepper(Int_t det = 0)
14 AliRunLoader* rl = AliEveEventManager::AssertRunLoader();
15 rl->LoadDigits("ITS");
16 TTree* dt = rl->GetTreeD("ITS", false);
18 AliEveITSDigitsInfo* di = new AliEveITSDigitsInfo();
22 gEve->DisableRedraw();
23 AliEveITSModuleStepper* ms = new AliEveITSModuleStepper(di);
24 ms->SetMainColor(Color_t(8));
25 gStyle->SetPalette(1, 0);
26 ms->DisplayDet(det, -1);
28 gEve->Redraw3D(kTRUE); // To enforce camera reset
31 TGLViewer* v = (TGLViewer *)gEve->GetGLViewer();
32 v->SetCurrentCamera(TGLViewer::kCameraOrthoXOY);
33 TGLCameraMarkupStyle* mup = v->GetCameraMarkup();
34 if(mup) mup->SetShow(kFALSE);