Logo ROOT  
Reference Guide
geom_lhcb.C File Reference

Detailed Description

Shows LHCB geometry.

void geom_lhcb()
gGeoManager = gEve->GetGeometry("http://root.cern.ch/files/lhcbfull.root");
// EClipType not exported to CINT (see TGLUtil.h):
// 0 - no clip, 1 - clip plane, 2 - clip box
v->SetGuideState(TGLUtil::kAxesEdge, kTRUE, kFALSE, 0);
v->CurrentCamera().RotateRad(-1.2, 0.5);
const Bool_t kFALSE
Definition: RtypesCore.h:92
const Bool_t kTRUE
Definition: RtypesCore.h:91
@ kMagenta
Definition: Rtypes.h:66
R__EXTERN TEveManager * gEve
Definition: TEveManager.h:243
R__EXTERN TGeoManager * gGeoManager
Definition: TGeoManager.h:602
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement.
Definition: TEveGeoNode.h:90
void AddGlobalElement(TEveElement *element, TEveElement *parent=0)
Add a global element, i.e.
TGLViewer * GetDefaultGLViewer() const
Get TGLViewer of the default TEveViewer.
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
void FullRedraw3D(Bool_t resetCameras=kFALSE, Bool_t dropLogicals=kFALSE)
Perform 3D redraw of all scenes and viewers.
TGeoManager * GetGeometry(const TString &filename)
Get geometry with given filename.
static Bool_t SetCacheFileDir(ROOT::Internal::TStringView cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
Definition: TFile.h:324
@ kAxesEdge
Definition: TGLUtil.h:949
void DefaultColors()
Set default volume colors according to A of material.
TGeoNode * GetTopNode() const
Definition: TGeoManager.h:533
Matevz Tadel

Definition in file geom_lhcb.C.