Table of Contents |
---|
The web start version of WIRED can be started from the WIRED page on the data portal:
...
Node that the folder's primary key is explicitly passed as part of the URL. This URL is routed to the xxxwired4.jsp file in the DataPortalWired web application, which dynamically creates the JNLP file to be used to start WIRED. For example the JNLP file created for the above link is:
...
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 |
This servlet is used by WIRED to find which data catalog folders have an eventComponents meta-data, and the value of that meta-data. It queries the data catalog and returns the available event components for each folder. Example:
http://glast-ground.slac.stanford.edu/DataPortalWired//DatasetFinder
returns a list of all folders which contain browseable events with 3 components per line:
An example return line:
Code Block |
---|
11655378 /MC-Tasks/ServiceChallenge/GRBgrid-GR-v13r9p20/runs digi=digi,reco=recon,mc=mc
|
This servlet is used to look up specific files to open, given a folder, the eventComponents and the run and event number. (Note that the event number is not currently used, the data catalog just assumes that all events for a given run live in the same file). Example:
returns the following:
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 |
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