3 /**************************************************************************
4 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
5 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
6 * full copyright notice. *
7 **************************************************************************/
9 void esd_cascade_fill_pointset(TEvePointSet* ps)
11 AliESDEvent* esd = AliEveEventManager::AssertESD();
13 Int_t NCascades = esd->GetNumberOfCascades();
16 for (Int_t n = 0; n < NCascades; ++n)
18 AliESDcascade* av = esd->GetCascade(n);
19 av->GetXYZcascade(x, y, z);
20 ps->SetNextPoint(x, y, z);
25 TEvePointSet* esd_cascade_points()
27 TEvePointSet* points = new TEvePointSet("Cascade vertex locations");
29 esd_cascade_fill_pointset(points);
31 points->SetTitle(Form("N=%d", points->Size()));
32 points->SetMarkerStyle(4);
33 points->SetMarkerSize(1.5);
34 points->SetMarkerColor(kMagenta-9);
36 gEve->AddElement(points);