* full copyright notice. *
**************************************************************************/
+#if !defined(__CINT__) || defined(__MAKECINT__)
+#include <TString.h>
+#include <TTree.h>
+#include <TEvePointSet.h>
+#include <TEveElement.h>
+#include <TEveManager.h>
+#include <TEveTreeTools.h>
+
+#include <AliRunLoader.h>
+#include <AliEveEventManager.h>
+#endif
+
TEvePointSet*
tpc_hits(const char *varexp = "TPC2.fArray.fR:TPC2.fArray.fFi:TPC2.fArray.fZ",
const char *selection = "TPC2.fArray.fR>80",
ps.Select();
if (points->Size() == 0 && gEve->GetKeepEmptyCont() == kFALSE) {
- Warning("tpc_hits", Form("No hits match '%s'", selection));
+ Warning("tpc_hits", "No hits match '%s'", selection);
delete points;
return 0;
}
-
- // PD - added tags
- points->SetName(Form("SIM Hits TPC"));
+ points->SetName(Form("TPC Hits"));
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();