Logo ROOT   6.14/05
Reference Guide
geom_alias.C File Reference

Detailed Description

Demonstates usage of geometry aliases - merge ALICE ITS with ATLAS MUON.

eve_geom_alias.png
void geom_alias()
{
gEve->RegisterGeometryAlias("ALICE", "http://root.cern.ch/files/alice.root");
gEve->RegisterGeometryAlias("ATLAS", "http://root.cern.ch/files/atlas.root");
TGeoNode* node1 = gGeoManager->GetTopVolume()->FindNode("ITSV_1");
TGeoNode* node2 = gGeoManager->GetTopVolume()->FindNode("OUTE_1");
// EClipType not exported to CINT (see TGLUtil.h):
// 0 - no clip, 1 - clip plane, 2 - clip box
v->CurrentCamera().RotateRad(-0.5, -2.4);
v->DoDraw();
}
Author
Matevz Tadel

Definition in file geom_alias.C.