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 **************************************************************************/
13 AliESDEvent* esd = AliEveEventManager::AssertESD();
15 Int_t NV0s = esd->GetNumberOfV0s();
16 TEvePointSet* points = new TEvePointSet("AliEveV0 CA points", NV0s);
18 for (Int_t n =0; n<NV0s; n++)
20 AliESDv0* av = esd->GetV0(n);
21 points->SetNextPoint(av->GetXr(0), av->GetXr(1), av->GetXr(2));
22 points->SetPointId(av);
25 //PH The line below is replaced waiting for a fix in Root
26 //PH which permits to use variable siza arguments in CINT
27 //PH on some platforms (alphalinuxgcc, solariscc5, etc.)
28 //PH points->SetTitle(Form("N=%d", points->Size()));
30 sprintf(form,"N=%d", points->Size());
31 points->SetTitle(form);
32 points->SetMarkerStyle(4);
33 points->SetMarkerSize(1);
34 points->SetMarkerColor((Color_t)30);
36 gEve->AddElement(points);