Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

How does Web Start version of WIRED access data?

Web Start

The web start version of WIRED can be started from the WIRED page on the data portal:

...

Property

Value

Comment

freehep.app.hep.wired.glast.gleam.defaultRunEventServer

http://glast-ground.slac.stanford.edu/DataPortalWired//EventFinder

Tells WIRED what web service to use to look for events

freehep.app.hep.wired.glast.gleam.defaultDatasetFinderServer

http://glast-ground.slac.stanford.edu/DataPortalWired//DatasetFinder

Tells WIRED what web service to use to look for datasets

freehep.app.hep.wired.glast.gleam.runEventServer.folder

11628535

The primary key of the data catalog folder

freehep.app.hep.wired.glast.gleam.defaultScript

/u/gl/glast/heprepserver/4.1/ssh_gleam_server

The script used to start Gleam

Web Services

org.glast.dataportal.wired.DatasetFinderServlet

...

Code Block
#Results for run=0 event=111 folder=11641713
#Wed Sep 07 17:08:25 PDT 2011
reco=root\://glast-rdr//glast/mc/ServiceChallenge/allGamma-GR-v14r8/recon/allGamma-GR-v14r8-000000-recon.root
event=111
digi=root\://glast-rdr//glast/mc/ServiceChallenge/allGamma-GR-v14r8/digi/allGamma-GR-v14r8-000000-digi.root
mc=root\://glast-rdr//glast/mc/ServiceChallenge/allGamma-GR-v14r8/mc/allGamma-GR-v14r8-000000-mc.root
run=0

Gleam Interface

WIRED uses the information it was passed via the JNLP file, and the web services described above, to find which files should be opened to access a particular event. It then communicates this information to Gleam via the HEPREP Corba service. In particular it sends the following command to open files:

Code Block

open:rootfilename:root://glast-rdr//glast/mc/ServiceChallenge/allGamma-GR-v14r8/mc/allGamma-GR-v14r8-000000-mc.root;root://glast-rdr//glast/mc/ServiceChallenge/allGamma-GR-v14r8/digi/allGamma-GR-v14r8-000000-digi.root;root://glast-rdr//glast/mc/ServiceChallenge/allGamma-GR-v14r8/recon/allGamma-GR-v14r8-000000-recon.root;

And then the following command to ask for a specific event:

Code Block

eventId:0-111
next

This is all done in hep.wired.glast.HepEventServerRecordSource

Outstanding Issues

  1. WIRED does handle rel files, but most of the eventComponents in the data catalog do not point to the rel event component (51306242 /MC-Tasks/ServiceChallenge/backgnd-GR-v17r16-53Day-OVRLY/runs digi=digi,reco=recon,mc=mc,rel=relation is an exception).
  2. WIRED does not seem to be able to open MERIT files when run in this mode. The web service does return the merit file if it is pointed to by eventComponents, but it is ignored by HepEventServerRecordSource. This should be easy to fix, except that I do not remember how to pass the MERIT file to gleam (an extra ;merit-file-location seems like a good guess).
  3. Random access to events is not supported when running in this mode, the list of run/events must be created when connecting to the server, and only these events can be viewed.
  4. When Gleam fails to open the files passed to it for any reason the end user just gets an obscure message saying "no such event".
  5. The version of Gleam run is hardwired into /u/gl/glast/heprepserver/4.1/ssh_gleam_server. The user can specify an alternative script, but this is very obtuse and not many people know how to do it.