ROOT v6 has been around for a while now, finally got around to test it with ROOTANA.
a) using root-v6-06-08
b) everything compiles and links
c) the example applications - i.e. display_example.exe - seem to run correctly
d) user applications linked against librootana.a show a problem loading the ROOTANA rdict.pcm files.
Failure to load the rdict.pcm files seems to prevent some functions, at least in the GUIs.
I do not fully understand how ROOT is supposed to find these files and I am asking for help on the ROOT forum.
In the mean time, there is a work around:
- symlink all rdict.pcm files into same place as the executable: ln -sv $ROOTANASYS/*/*.pcm .
- symlink all (many) .h files into the same place (this is a bit extreme): ln -sv $ROOTANASYS/include/* .
K.O. |
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. |