// $Id$ // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007 /************************************************************************** * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. * * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for * * full copyright notice. * **************************************************************************/ TEvePointSet* esd_V0_points() { AliESDEvent* esd = AliEveEventManager::AssertESD(); Int_t NV0s = esd->GetNumberOfV0s(); TEvePointSet* points = new TEvePointSet("AliEveV0 CA points", NV0s); for (Int_t n =0; nGetV0(n); points->SetNextPoint(av->GetXr(0), av->GetXr(1), av->GetXr(2)); points->SetPointId(av); } //PH The line below is replaced waiting for a fix in Root //PH which permits to use variable siza arguments in CINT //PH on some platforms (alphalinuxgcc, solariscc5, etc.) //PH points->SetTitle(Form("N=%d", points->Size())); char form[1000]; sprintf(form,"N=%d", points->Size()); points->SetTitle(form); points->SetMarkerStyle(4); points->SetMarkerSize(1); points->SetMarkerColor((Color_t)30); gEve->AddElement(points); gEve->Redraw3D(); return points; }