]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - EVE/alice-macros/hits_from_label.C
Remove EVE/Reve/ sub-module.
[u/mrichter/AliRoot.git] / EVE / alice-macros / hits_from_label.C
index 7d400db857a7f9803c88cae2b54b6d21bf19a71b..7800838601d2a331e923d9a37f71c4e011c96258 100644 (file)
@@ -1,9 +1,10 @@
 // $Id$
 
-void hits_from_label(Int_t label=0, Reve::RenderElement* cont)
+void hits_from_label(Int_t label=0, TEveElement* cont)
 {
-  Reve::PointSet* h;
-  Reve::LoadMacro("its_hits.C");
+  TEveUtil::LoadMacro("its_hits.C");
+
+  TEvePointSet* h = 0;
   //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.)
@@ -11,24 +12,24 @@ void hits_from_label(Int_t label=0, Reve::RenderElement* cont)
   char form[1000];
   sprintf(form,"ITS.fTrack==%d", label);
   h = its_hits("fX:fY:fZ", form, cont);
-  if(h) h->SetMarkerSize(1);
+  if (h) h->SetMarkerSize(1);
 
-  Reve::LoadMacro("tpc_hits.C");
+  TEveUtil::LoadMacro("tpc_hits.C");
   sprintf(form,"TPC2.fArray.fTrackID==%d", label);
   h = tpc_hits("TPC2.fArray.fR:TPC2.fArray.fFi:TPC2.fArray.fZ",form, cont);
   //PH  h = tpc_hits("TPC2.fArray.fR:TPC2.fArray.fFi:TPC2.fArray.fZ",
   //PH        Form("TPC2.fArray.fTrackID==%d", label));
-  if(h) h->SetMarkerSize(1);
+  if (h) h->SetMarkerSize(1);
 
-  Reve::LoadMacro("trd_hits.C");
+  TEveUtil::LoadMacro("trd_hits.C");
   sprintf(form,"TRD.fTrack==%d", label);
   h = trd_hits("fX:fY:fZ", form, cont);
-  if(h) h->SetMarkerSize(1);
+  if (h) h->SetMarkerSize(1);
 
-  Reve::LoadMacro("tof_hits.C");
+  TEveUtil::LoadMacro("tof_hits.C");
   sprintf(form,"TOF.fTrack==%d", label);
   h = tof_hits("fX:fY:fZ", form, cont);
-  if(h) h->SetMarkerSize(1);
+  if (h) h->SetMarkerSize(1);
 
-  gReve->Redraw3D();
+  gEve->Redraw3D();
 }