SLAC PEP-II
BABAR
SLAC<->RAL
Babar logo
HEPIC E,S & H Databases PDG HEP preprints
Organization Detector Computing Physics Documentation
Personnel Glossary Sitemap Search Hypernews
Unwrap page!
Comp. Search
Who's who?
Meetings
FAQ Homepage
Archive
Environment
Administration
New User Info.
Web Info/Tools
Monitoring
Training
Tools & Utils
Programming
C++ Standard
SRT, AFS, CVS
QA and QC
Remedy
Histogramming
Operations
PromptReco
Simulation Production
Online SW
Dataflow
Detector Control
Evt Processing
Run Control
Calibration
Databases
Offline
Workbook
Coding Standards
Simulation
Reconstruction
Prompt Reco.
BaBar Grid
Data Distribution
Beta & BetaTools
Kanga & Root
Analysis Tools
RooFit Toolkit
Data Management
Data Quality
Event display
Event Browser
Code releases
Databases
Check this page for HTML 4.01 Transitional compliance with the
W3C Validator
(More checks...)

JAS XML Demonstration


To view the histograms in this demonstration, you will have to run a sample DHP histogram server as well as the DOT-JAS server. If instead you wish to start up a reference server on an hbook file of your choosing, look at the instructions here.

This demonstration assumes you're using release 8.6.0 or later. If you're not sure type

srtpath 8.6.0

and choose the appropriate architecture. You may need to build the DhpDistCorbaAccumulator in package DhpDistCorba yourself.

Follow these directions:

  • Start the DHP sample accumulator. This creates some demo histograms, and fills them incrementally with random data at 200 msec intervals.

    DhpDistCorbaAccumulator -l 200

    Note the shared memory key that is displayed.

  • Start the DHP reader/server process (must run on the same machine as the accumulator). This reads the histograms out via shared memory, and serves them via Distributed Object Tree. The server uses the name "test" to identify itself in the CORBA name service.

    DhpDistCorbaServer <key> test

    Substitute the shared memory key from the accumulator for <key>.

  • Now you need to start the JasInterfaceServer. This reads the histograms out of the DHP server using CORBA, and makes them available to JAS. This process may be run on a different host than the DHP server. For this to work correctly your environment MUST be set up as desribed above!

    JasInterfaceServer -n test -u 5

    The second (optional) argument specifies that JAS will receive updated histogram data at 5 second intervals. If you leave it off, JAS will update at a reasonable default interval

  • You're now ready to start JAS and view the demo page layout page at xml_table_demo.html.. Again, your environment must be correctly set up as described above for this to work. Start JAS with this command line:

    BabarJas --connect <hostname>/Histograms --startPage \ file:/afs/slac/g/babar/www/Computing/Online/EventProc/jas/examples/xml_table_demo.html

    where <hostname> is the name of the host on which you are running the JasInterfaceServer.


Maintained by Kevin Rennert, rennert@slac.stanford.edu
Last Modified Feb 29, 2000