18std::shared_ptr<ROOT::RWebWindow> window;
25void ProcessData(
unsigned connid,
const std::string &arg)
29 window->Send(connid, base64.
Data());
30 }
else if (arg ==
"halt") {
32 window->TerminateROOT();
46 gGeoManager->GetVolume(
"HVP2")->SetTransparency(20);
47 gGeoManager->GetVolume(
"HVEQ")->SetTransparency(20);
52 gGeoManager->GetVolume(
"COCF")->SetTransparency(99);
73 window->SetDefaultPage(
"file:client.html");
76 window->SetDataCallBack(ProcessData);
78 window->SetGeometry(800, 600);
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void data
R__EXTERN TGeoManager * gGeoManager
static std::shared_ptr< RWebWindow > Create()
Create new RWebWindow Using default RWebWindowsManager.
static TString Encode(const char *data)
Transform data into a null terminated base64 string.
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.
static TGeoManager * Import(const char *filename, const char *name="", Option_t *option="")
static function Import a geometry from a gdml or ROOT file
const char * Data() const