Back Midas Rome Roody Rootana
  Root Analyzer Framework  Not logged in ELOG logo
Entry  10 Mar 2016, Thomas Lindner, Info, web display of MIDAS data using rootana+THttpServer 
    Reply  25 Jan 2017, Thomas Lindner, Info, web display of MIDAS data using rootana+THttpServer 
       Reply  26 Jan 2017, Pierre Gorel, Info, web display of MIDAS data using rootana+THttpServer 
       Reply  03 May 2017, Alberto Remoto, Info, web display of MIDAS data using rootana+THttpServer 
          Reply  03 May 2017, Thomas Lindner, Info, web display of MIDAS data using rootana+THttpServer 
             Reply  09 May 2017, Konstantin Olchanski, Info, web display of MIDAS data using rootana+THttpServer 
                Reply  10 Mar 2020, Konstantin Olchanski, Info, web display of MIDAS data using rootana+THttpServer 
Message ID: 2     Entry time: 10 Mar 2016     Reply to this: 5
Author: Thomas Lindner 
Topic: Info 
Subject: web display of MIDAS data using rootana+THttpServer 
I have finished a test implementation of a web display for MIDAS online
monitoring.  I have a test version of this display running here:

https://midastestdaq.triumf.ca/CS/webdisplay

(username/pwd: testdaq/testdaq)

The main features of this way of display MIDAS data are:

- An online rootana program that produces ROOT TH1 and TH2 histogram.
- A web server provided by ROOT (THttpServer) which serves up the histogram
information in JSON format.
- A bunch of crude html/javascript that grabs the JSON and plots it using a
couple of third-party javascript plotting packages.

I have written a more detailed description of this procedure (including some
known deficiencies) which is available here

https://midas.triumf.ca/MidasWiki/index.php/Rootana_javascript_displays

The html/javascript for plotting is available in rootana/examples/html.  It
should be noted that this procedure is only weakly coupled to rootana; you could
pretty easily take any program that makes ROOT histograms, add this THttpServer
and re-work my html/javascript to plot it.  Most of the hard-work is already
provided by THttpServer (which incidentally is available in newer versions of
both ROOT5 and ROOT6).

I am imagining the following scenario for using these web tools:

- we use this web-based display of online MIDAS data for a sub-set of key plots
for shift-takers and for remote experts to provide quick feed-back (when you are
on the bus, at the bar, on the ski hill).
- we continue to use some rootana GUI that provides a complete set of all the
online MIDAS plots, as well as the ability to play-back data in MIDAS files.

I can imagine a situation where we might only use the web tools, though I
haven't yet thought seriously about how to allow a play-back of MIDAS files
through web display.

Hopefully people find these tools useful.  I'm interested in all feed-back.
ELOG V3.1.4-2e1708b5