Classes | |
class | SimpleServiceLoader |
class | GeometryServiceGetter |
class | ServiceManagerInterface |
class | ServiceManagerClass |
class | ServiceManagerInstance |
Functions | |
def | loadGeometry |
LArSoft. More... | |
def | justLoadGeometry |
def | loadSimpleService |
def | makeStringList |
special known services More... | |
Variables | |
string | __doc__ |
list | __all__ |
SourceCode = galleryUtils.SourceCode | |
Pass-through. More... | |
readHeader = galleryUtils.readHeader | |
def LArSoftUtils.justLoadGeometry | ( | configFile, | |
mapping = None |
|||
) |
Loads and returns the geometry from the specified configuration file. This is a one-stop procedure recommended only when running interactively.
Definition at line 107 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.loadGeometry | ( | config = None , |
|
registry = None , |
|||
mapping = None |
|||
) |
LArSoft.
The argument `config` is an instance of `ConfigurationClass`. If a config object is provided, configurations will be read from there. Otherwise, they will be read from the registry. If a registry is provided, the services will be registered in there.
Definition at line 50 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.loadSimpleService | ( | serviceClass, | |
config = None , |
|||
registry = None , |
|||
interfaceClass = None , |
|||
args = [] |
|||
) |
Loads a service assuming some simple requirements: * no dependency from other services * constructor accepts a FHiCL parameter set If a config object is provided, configurations will be read from there. Otherwise, they will be read from the registry. If a registry is provided, the services will be registered in there. The service configuration is read from an item called as `interfaceClass`, or `serviceClass` itself if `interfaceClass` is None, with "Service" appended. As a first attempt, the test helpers are attempted to load the service, and the arguments are used to construct a `providers_type` object. If there is no test helper for `serviceClass`, then direct construction is attempted using all the specified arguments.
Definition at line 118 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
def LArSoftUtils.makeStringList | ( | l | ) |
special known services
Definition at line 167 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
list LArSoftUtils.__all__ |
Definition at line 11 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
string LArSoftUtils.__doc__ |
Definition at line 5 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
LArSoftUtils.readHeader = galleryUtils.readHeader |
Definition at line 44 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.
LArSoftUtils.SourceCode = galleryUtils.SourceCode |
Pass-through.
Definition at line 43 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.