Analyzing Gleam via userAlg

An option for analysis is the user hook to Gleam, called userAlg. A Gaudi Algorithm shell is provided in the userAlg package to get you going. It gives you access to the TDS (Transient Data Store) as Gleam runs - output of your analysis can happen via Root ntuples and/or histograms (via the AIDA interface).

 Once you obtain and build userAlg, you will also get its jobOptions and requirements files that hook it up with Gleam. All you really need to do is insert your code into the execute() function, rebuild it and run with the jobOptions file updated to your liking.

On linux, running it is straightforward, when glastpack-logged-in to your userAlg directory (as opposed to the package itself - you should have a directory structure like userAlg/userAlg/v4/ for example).

glastpack.pl build userAlg v4

glastpack.pl run userAlg v4 userApp.exe

From vcmt, just select the userAlg package and userApp project and build and  run it.

You will want to be accessing the TDS - awaiting better descriptions of the classes, see the Event Model description.


R.Dubois Last Modified: 2004-08-04 15:39:31 -0700