Oct 10 – 14, 2016
San Francisco Marriott Marquis
America/Los_Angeles timezone

JavaScript ROOT v4

Oct 13, 2016, 3:30 PM
1h 15m
San Francisco Marriott Marquis

San Francisco Marriott Marquis

Poster Track 5: Software Development Posters B / Break


Sergey Linev (GSI DARMSTADT)


JavaScript ROOT (JSROOT) aims to provide ROOT-like graphics in web browsers. JSROOT supports reading of binary and JSON ROOT files, and drawing of ROOT classes like histograms (TH1/TH2/TH3), graphs (TGraph), functions (TF1) and many others. JSROOT implements a user interface for THttpServer-based applications.

With the version 4 of JSROOT, many improvements and new features are provided:

  • the binary file I/O performance has been improved by a factor of 5;
  • the drawing performance for one and two dimensional histograms has been improved by a factor of 10;
  • new tooltips providing better and precise information about displayed objects;
  • drawing of TGeo-based geometries has been implemented;
  • many new classes and new drawing options are supported;
  • new generic object inspector, for any object stored in ROOT files.

JSROOT provide an intuitive interface for browsing ROOT files and displaying objects within different layouts like grids or tabs. At the same time flexible and simple JSROOT API can be used to construct custom HTML pages and display any supported ROOT classes inside them.

JSROOT, with documentation and examples, can be found on https://root.cern.ch/js/ website. The developer repository is https://github.com/linev/jsroot/. JSROOT can also be obtained via the bower package manager and easily integrated into Node.js based applications.

Primary Keyword (Mandatory) Visualization
Secondary Keyword (Optional) Monitoring

Primary authors

Bertrand Bellenot (CERN) Sergey Linev (GSI DARMSTADT)

Presentation materials