All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
LArSoftUtils.GeometryServiceGetter Class Reference

Public Member Functions

def serviceKey
 
def load
 
def get
 
def __call__
 
def serviceKey
 
def load
 
def get
 
def __call__
 

Detailed Description

Definition at line 261 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.

Member Function Documentation

def LArSoftUtils.GeometryServiceGetter.__call__ (   self,
  manager 
)
def LArSoftUtils.GeometryServiceGetter.__call__ (   self,
  manager 
)

Definition at line 273 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.

274  def __call__(self, manager): return self.get(manager)
275 
276 # class GeometryServiceGetter
277 
278 
def LArSoftUtils.GeometryServiceGetter.get (   self,
  manager 
)

Definition at line 267 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.

268  def get(self, manager):
269  try: return manager.registry().get(self.serviceKey())
270  except KeyError:
return self.load(manager)
def LArSoftUtils.GeometryServiceGetter.get (   self,
  manager 
)

Definition at line 267 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.

268  def get(self, manager):
269  try: return manager.registry().get(self.serviceKey())
270  except KeyError:
return self.load(manager)
def LArSoftUtils.GeometryServiceGetter.load (   self,
  manager 
)

Definition at line 265 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.

266  def load(self, manager): return loadGeometry(registry=manager.registry())
def LArSoftUtils.GeometryServiceGetter.load (   self,
  manager 
)

Definition at line 265 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.

266  def load(self, manager): return loadGeometry(registry=manager.registry())
def LArSoftUtils.GeometryServiceGetter.serviceKey (   self)

Definition at line 263 of file icarusalg/icarusalg/gallery/helpers/python/LArSoftUtils.py.

264  def serviceKey(self): return 'Geometry'
def LArSoftUtils.GeometryServiceGetter.serviceKey (   self)

Definition at line 263 of file sbndcode/sbndcode/gallery/python/LArSoftUtils.py.

264  def serviceKey(self): return 'Geometry'

The documentation for this class was generated from the following files: