TTree* ht = rl->GetTreeH("TPC", false);
- //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 TEvePointSet* points = new TEvePointSet(Form("TPC Hits '%s'", selection));
- char form[1000];
- sprintf(form,"TPC Hits '%s'", selection);
- TEvePointSet* points = new TEvePointSet(form);
+ TEvePointSet* points = new TEvePointSet(Form("TPC Hits '%s'", selection));
points->SetSourceCS(TEvePointSelectorConsumer::kTVT_RPhiZ);
TEvePointSelector ps(ht, points, varexp, selection);
return 0;
}
- //PH points->SetTitle(Form("N=%d", points->Size()));
- sprintf(form,"N=%d", points->Size());
- points->SetTitle(form);
+ // PD - added tags
+
+ points->SetName(Form("SIM Hits TPC"));
+ const TString viz_tag("SIM Hits TPC");
+ points->ApplyVizTag(viz_tag, "Hits");
+
+ // PD
+
+ points->SetTitle(Form("N=%d", points->Size()));
points->SetMarkerSize(.5);
points->SetMarkerColor(3);
+
+
gEve->AddElement(points, cont);
gEve->Redraw3D();