load the library (via dlopen) into the running tray. This is primarily used for libraries that don’t have python bindings (eventually all libraries should have at least stub python bindings, making them loadable via the standard python import, and this sould be obsolete.
Parameters: | filename – |
---|
should be the name of the file to load including the leading lib, but not including the trailing .so or .dylib, eg:
load(“libdataio”) load(“libexamples”)
A convenience wrapper around the wrapped c++ class icetray.I3Tray. This class provides keyword-arguments to the AddModule and so forth.
Creates an I3Tray.
Add a module to the tray’s processing stream.
Parameters: |
|
---|
Example:
tray.AddModule("I3Reader", "reader",
Filename = "/path/to/foo.i3",
SkipKeys = ['I3DST', 'RecoPulses'])
See also
Add a service factory to the tray.
Parameters: |
|
---|
Example:
tray.AddService("I3GSLRandomServiceFactory", "gslrng")