Use geometry from CDB.
authormtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Jun 2007 15:33:13 +0000 (15:33 +0000)
committermtadel <mtadel@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 22 Jun 2007 15:33:13 +0000 (15:33 +0000)
EVE/alice-macros/its_clusters.C
EVE/alice-macros/phos_clusters.C

index 281d15d..a619e0c 100644 (file)
@@ -1,8 +1,10 @@
 
 Reve::PointSet* its_clusters(RenderElement* cont=0, Float_t maxR=50)
 {
-  if (!gGeoManager)
-    gReve->GetGeometry("$PWD/geometry.root");
+  AliLog::EnableDebug(1);
+  AliLog::SetGlobalDebugLevel(AliLog::kMaxType);
+
+  Alieve::Event::AssertGeometry();
 
   AliRunLoader* rl = Alieve::Event::AssertRunLoader();
   rl->LoadRecPoints("ITS");
@@ -43,7 +45,7 @@ Reve::PointSet* its_clusters(RenderElement* cont=0, Float_t maxR=50)
   }
 
   clusters->SetMarkerStyle(2);
-  clusters->SetMarkerSize(0.5);
+  clusters->SetMarkerSize(0.2);
   clusters->SetMarkerColor(4);
 
   char form[1000];
index 0330ad3..830d3b7 100644 (file)
@@ -1,8 +1,7 @@
 
 Reve::PointSet* phos_clusters(RenderElement* cont=0)
 {
-  if (!gGeoManager)
-    gReve->GetGeometry("$PWD/geometry.root");
+  Alieve::Event::AssertGeometry();
 
   AliRunLoader* rl = Alieve::Event::AssertRunLoader();
   rl->LoadRecPoints("PHOS");