Package iceprod :: Package core :: Module runconfig :: Class RunConfig
[hide private]
[frames] | no frames]

Class RunConfig

source code

Instance Methods [hide private]
 
__init__(self, steering, opts) source code
 
ProcExtern(self) source code
 
load_library(self, library, i3config)
Load library.
source code
 
LoadLibraries(self, i3config)
Load libraries into memory
source code
 
format_string(self, pstring, pformat)
Format string using the arguments in pformat
source code
 
cast_string(self, fstring, arg) source code
 
parseval(self, pvalue)
Parse parameter value string to see if it is an external variable and replace it with its value if found.
source code
 
EvaluateParameter(self, val, stype) source code
 
ConfigureServices(self, i3config, tray) source code
 
ConfigureModules(self, i3config, tray) source code
 
ConfigurePre(self, i3config, tray) source code
 
ConfigurePost(self, i3config, tray) source code
 
ConnectBoxes(self, i3config, tray) source code
 
TypeValue(self, pvalue, ptype, punit=None)
Convert string to a typed value
source code
 
Run(self, i3config)
Execute icetray
source code
Class Variables [hide private]
  loaded_libs = {}
Method Details [hide private]

load_library(self, library, i3config)

source code 

Load library. If library depends on other libraries, recursively load them first (can't have closed loops)

Parameters:
  • library - library to be loaded

TypeValue(self, pvalue, ptype, punit=None)

source code 

Convert string to a typed value

Parameters:
  • pvalue - parameter value (string)
  • ptype - parameter type (string)
  • punit - optional parameter I3Unit (string)