All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
SBNDservices Namespace Reference

Classes

class  SBNDGeometryServiceGetter
 special known services More...
 
class  SBNDserviceManagerClass
 

Functions

def geometry
 

Variables

string __doc__
 
list __all__ = [ 'ServiceManager', 'geometry', ]
 
tuple ServiceManager = SBNDserviceManagerClass()
 
tuple Parser
 
string help = "configuration file path (must define `services` or host serviceTable below)"
 
tuple args = Parser.parse_args()
 

Function Documentation

def SBNDservices.geometry ( )

Definition at line 106 of file SBNDservices.py.

107 def geometry(): return ServiceManager.get('Geometry')
108 

Variable Documentation

list SBNDservices.__all__ = [ 'ServiceManager', 'geometry', ]

Definition at line 18 of file SBNDservices.py.

string SBNDservices.__doc__
Initial value:
1 = """
2 Provides a service manager preconfigured with SBND service providers.
3 
4 A `ServiceManager` object bridges the access to the service providers.
5 In the most straightforward cases, getting a service provider is as simple as
6 calling `ServiceManager(providerName)` with the name of the service as string
7 (e.g. `larProp = ServiceManager('LArProperties')`).
8 
9 
10 
11 If this module is executed as a script, the service manager is loaded and a
12 python interactive session is started. The main code also show how to override
13 the service manager setup by choosing a different service configuration.
14 """

Definition at line 3 of file SBNDservices.py.

tuple SBNDservices.args = Parser.parse_args()

Definition at line 129 of file SBNDservices.py.

string SBNDservices.help = "configuration file path (must define `services` or host serviceTable below)"

Definition at line 124 of file SBNDservices.py.

tuple SBNDservices.Parser
Initial value:
1 = argparse.ArgumentParser(
2  description=
3  "Starts a python interactive session with `ServiceManager` available."
4  )

Definition at line 118 of file SBNDservices.py.

tuple SBNDservices.ServiceManager = SBNDserviceManagerClass()

Definition at line 101 of file SBNDservices.py.