4 its_hits(const char *varexp = "fX:fY:fZ",
5 const char *selection = "",
6 Reve::RenderElement* cont = 0)
8 AliRunLoader* rl = Alieve::Event::AssertRunLoader();
11 TTree* ht = rl->GetTreeH("ITS", false);
13 //PH The line below is replaced waiting for a fix in Root
14 //PH which permits to use variable siza arguments in CINT
15 //PH on some platforms (alphalinuxgcc, solariscc5, etc.)
16 //PH Reve::PointSet* points = new Reve::PointSet(Form("ITS Hits '%s'", selection));
18 sprintf(form,"ITS Hits '%s'", selection);
19 Reve::PointSet* points = new Reve::PointSet(form);
21 TPointSelector ps(ht, points, varexp, selection);
22 // ps.SetSubIdExp("fTrack:fStatus");
25 if(points->Size() == 0 && gReve->GetKeepEmptyCont() == kFALSE) {
26 Warning("its_hits", Form("No hits match '%s'", selection));
31 //PH points->SetTitle(Form("N=%d", points->Size()));
32 sprintf(form,"N=%d", points->Size());
33 points->SetTitle(form);
34 points->SetMarkerSize(.5);
35 points->SetMarkerColor((Color_t)2);
37 gReve->AddRenderElement(points, cont);