Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
rootbrowse.cxx File Reference
#include <ROOT/RLogger.hxx>
#include "logging.hxx"
#include "optparse.hxx"
#include <TRint.h>
#include <TBrowser.h>
#include <TError.h>
#include <TFile.h>
#include <TGFrame.h>
#include <TROOT.h>
#include <TSystem.h>
#include <chrono>
#include <cstring>
#include <iostream>
#include <memory>
#include <thread>
#include <string_view>
Include dependency graph for rootbrowse.cxx:

Classes

struct  RootBrowseArgs

Functions

int main (int argc, char **argv)
static RootBrowseArgs ParseArgs (const char **args, int nArgs)

Variables

static const char *const kLongHelp
static const char *const kShortHelp = "usage: rootbrowse [-w WEB|-wf] <file.root>\n"
 Command line tool to open a ROOT file on a TBrowser.

Function Documentation

◆ main()

int main ( int argc,
char ** argv )

Definition at line 93 of file rootbrowse.cxx.

◆ ParseArgs()

RootBrowseArgs ParseArgs ( const char ** args,
int nArgs )
static

Definition at line 59 of file rootbrowse.cxx.

Variable Documentation

◆ kLongHelp

const char* const kLongHelp
static
Initial value:
= R"(
Open a ROOT file in a TBrowser
positional arguments:
FILE Input file
options:
-h, --help show this help message and exit
-w, --web WEB Configure webdisplay. For all possible values, see TROOT::SetWebDisplay():
https://root.cern/doc/latest-stable/classTROOT.html#a1749472696545b76a6b8e79769e7e773
-wf, --webOff Invoke the classic TBrowser (not the web version)
Examples:
- rootbrowse
Open a TBrowser
- rootbrowse file.root
Open the ROOT file 'file.root' in a TBrowser
)"

Definition at line 28 of file rootbrowse.cxx.

◆ kShortHelp

const char* const kShortHelp = "usage: rootbrowse [-w WEB|-wf] <file.root>\n"
static

Command line tool to open a ROOT file on a TBrowser.

Author
Giacomo Parolini giaco.nosp@m.mo.p.nosp@m.aroli.nosp@m.ni@c.nosp@m.ern.c.nosp@m.h
Date
2025-08-21

Definition at line 27 of file rootbrowse.cxx.