2 // Main authors: Matevz Tadel & Alja Mrak-Tadel: 2006, 2007
4 /**************************************************************************
5 * Copyright(c) 1998-2008, ALICE Experiment at CERN, all rights reserved. *
6 * See http://aliceinfo.cern.ch/Offline/AliRoot/License.html for *
7 * full copyright notice. *
8 **************************************************************************/
10 TEveGeoShape* geom_gentle(Bool_t register_as_global=kTRUE)
12 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_geo.root");
13 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
14 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
17 TEveElement* elPHOS = gsre->FindChild("PHOS");
18 elPHOS->SetRnrState(kTRUE);
19 elPHOS->FindChild("PHOS_4")->SetRnrState(kFALSE);
20 elPHOS->FindChild("PHOS_5")->SetRnrState(kFALSE);
22 if (register_as_global)
24 gEve->AddGlobalElement(gsre);
30 TEveGeoShape* geom_gentle_rphi()
32 // The resulting geometry is NOT added into the global scene!
34 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rphi_geo.root");
35 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
36 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);
39 TEveElement* elPHOS = gsre->FindChild("PHOS");
40 elPHOS->SetRnrState(kTRUE);
41 elPHOS->FindChild("PHOS_4")->SetRnrState(kFALSE);
42 elPHOS->FindChild("PHOS_5")->SetRnrState(kFALSE);
47 TEveGeoShape* geom_gentle_rhoz()
49 // The resulting geometry is NOT added into the global scene!
51 TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rhoz_geo.root");
52 TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle");
53 TEveGeoShape* gsre = TEveGeoShape::ImportShapeExtract(gse);