* full copyright notice. *
**************************************************************************/
-TEveGeoShape* geom_gentle()
+TEveGeoShape* geom_gentle(Bool_t register_as_global=kTRUE)
{
- TFile f("$REVESYS/alice-data/gentle_geo.root");
+ TFile f("$ALICE_ROOT/EVE/alice-data/gentle_geo.root");
TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
- TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse, 0);
+ TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
+ f.Close();
+
+ if (register_as_global)
+ {
+ gEve->AddGlobalElement(gsre);
+ }
+
+ return gsre;
+}
+
+TEveGeoShape* geom_gentle_rphi()
+{
+ // The resulting geometry is NOT added into the global scene!
+
+ TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rphi_geo.root");
+ TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
+ TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
+ f.Close();
+
+ return gsre;
+}
+
+TEveGeoShape* geom_gentle_rhoz()
+{
+ // The resulting geometry is NOT added into the global scene!
+
+ TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rhoz_geo.root");
+ TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
+ TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
f.Close();
return gsre;