15void web_cms(
bool split =
false)
38 auto viewer = std::make_shared<ROOT::RGeomViewer>(
gGeoManager);
41 viewer->SelectVolume(
"CMSE");
44 viewer->SetDrawOptions(
"clipxyz");
50 viewer->SetShowHierarchy(!split);
56 viewer->ClearOnClose(viewer);
60 auto hier = std::make_shared<ROOT::RGeomHierarchy>(viewer->Description());
66 hier->ClearOnClose(hier);
R__EXTERN TGeoManager * gGeoManager
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.
void SetVisLevel(Int_t level=3)
set default level down to which visualization is performed
static TGeoManager * Import(const char *filename, const char *name="", Option_t *option="")
static function Import a geometry from a gdml or ROOT file
TGeoVolume * GetVolume(const char *name) const
Search for a named volume. All trailing blanks stripped.
void DefaultColors()
Set default volume colors according to A of material.
void SetTransparency(Char_t transparency=0)
void InvisibleAll(Bool_t flag=kTRUE)
Make volume and each of it daughters (in)visible.
void SetLineColor(Color_t lcolor) override
Set the line color.