18 auto top =
gGeoManager->GetTopVolume()->FindNode(
"CMSE_1")->GetVolume();
22 gEve->AddGlobalElement(trk);
26 gEve->AddGlobalElement(calo);
30 gEve->AddGlobalElement(muon);
36 auto v =
gEve->GetDefaultGLViewer();
38 v->ColorSet().Background().SetColor(
kMagenta + 4);
40 v->RefreshPadEditor(
v);
42 v->CurrentCamera().RotateRad(-1.2, 0.5);
externTGeoManager * gGeoManager
A wrapper over a TGeoNode, possibly displaced with a global trasformation stored in TEveElement.
void SetVisLevel(Int_t vl)
static TEveManager * Create(Bool_t map_window=kTRUE, Option_t *opt="FIV")
If global TEveManager* gEve is not set initialize it.
static Bool_t SetCacheFileDir(std::string_view cacheDir, Bool_t operateDisconnected=kTRUE, Bool_t forceCacheread=kFALSE)
Sets the directory where to locally stage/cache remote files.