]>
Commit | Line | Data |
---|---|---|
3aff0c2e | 1 | void geom_gentle_default(Bool_t register_as_global=kTRUE) |
2 | { | |
3 | ||
4 | TFile f("$ALICE_ROOT/EVE/alice-data/gentle_geo.root"); | |
5 | TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle"); | |
6 | TEveGeoShape* gsre1 = TEveGeoShape::ImportShapeExtract(gse); | |
7 | f.Close(); | |
8 | ||
9 | if (register_as_global) | |
10 | { | |
11 | gEve->AddGlobalElement(gsre1); | |
12 | } | |
13 | ||
14 | TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rphi_geo.root"); | |
15 | TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle"); | |
16 | TEveGeoShape* gsre2 = TEveGeoShape::ImportShapeExtract(gse); | |
17 | f.Close(); | |
18 | ||
19 | TFile f("$ALICE_ROOT/EVE/alice-data/gentle_rhoz_geo.root"); | |
20 | TEveGeoShapeExtract* gse = (TEveGeoShapeExtract*) f.Get("Gentle"); | |
21 | TEveGeoShape* gsre3 = TEveGeoShape::ImportShapeExtract(gse); | |
22 | f.Close(); | |
23 | ||
24 | TEveElement* top = gEve->GetCurrentEvent(); | |
25 | ||
26 | AliEveMultiView *mv = AliEveMultiView::Instance(); | |
27 | ||
28 | mv->InitGeomGentle(gsre1, gsre2, gsre3); | |
29 | ||
30 | gEve->FullRedraw3D(kTRUE, kTRUE); | |
31 | ||
32 | } |