The Gaudi Framework  master (ff829712)
Loading...
Searching...
No Matches
ConfigurableUser.ExampleIO Class Reference
Inheritance diagram for ConfigurableUser.ExampleIO:
Collaboration diagram for ConfigurableUser.ExampleIO:

Public Member Functions

 __apply_configuration__ (self)
 
- Public Member Functions inherited from GaudiKernel.Configurable.ConfigurableUser
 __init__ (self, name=Configurable.DefaultName, _enabled=True, **kwargs)
 
 getGaudiType (cls)
 
 getDlls (self)
 
 getHandle (self)
 
 __detach_used__ (self)
 
 propagateProperty (self, name, others=None, force=True)
 
 propagateProperties (self, names=None, others=None, force=True)
 
 __apply_configuration__ (self)
 
 applyConf (self)
 
 getUsedInstance (self, name)
 
 isApplicable (self)
 
- Public Member Functions inherited from GaudiKernel.Configurable.Configurable
 __new__ (cls, *args, **kwargs)
 
 __init__ (self, name=DefaultName)
 
 __getstate__ (self)
 
 __getnewargs__ (self)
 
 __setstate__ (self, dict)
 
 __len__ (self)
 
 __iter__ (self)
 
 __deepcopy__ (self, memo)
 
 __iadd__ (self, configs, descr=None)
 
 __getattr__ (self, attr)
 
 __setattr__ (self, name, value)
 
 __delattr__ (self, attr)
 
 __bool__ (self)
 
 remove (self, items)
 
 removeAll (self)
 
 copyChild (self, child)
 
 setParent (self, parentName)
 
 getParent (self)
 
 hasParent (self, parent)
 
 copyChildAndSetParent (self, cfg, parent)
 
 getChildren (self)
 
 getTools (self)
 
 children (self)
 
 getAllChildren (self)
 
 getSequence (self)
 
 setup (self)
 
 getProperties (self)
 
 getPropertiesWithDescription (self)
 
 getValuedProperties (self)
 
 properties (self)
 
 getDefaultProperties (cls)
 
 getDefaultProperty (cls, name)
 
 getProp (self, name)
 
 setProp (self, name, value)
 
 isPropertySet (self, name)
 
 getType (cls)
 
 getName (self)
 
 name (self)
 
 getJobOptName (self)
 
 isPublic (self)
 
 jobOptName (self)
 
 getFullName (self)
 
 getFullJobOptName (self)
 
 getPrintTitle (self)
 
 getTitleName (self)
 
 setDefaults (cls, handle)
 
 clone (self, name=None, **kwargs)
 
 splitName (self)
 
 addTool (self, tool, name=None)
 
 __repr__ (self)
 
 __str__ (self, indent=0, headerLastIndentUnit=indentUnit)
 
- Public Member Functions inherited from GaudiKernel.ConfigurableMeta.ConfigurableMeta
 __new__ (self, name, bases, dct)
 
 __call__ (cls, *args, **kwargs)
 

Static Private Attributes

dict __slots__ = {"EvtMax": 1, "Read": "NONE", "Write": "NONE"}
 
list __used_configurables__ = [ApplicationMgr]
 

Additional Inherited Members

- Public Attributes inherited from GaudiKernel.Configurable.Configurable
 configurables
 
- Static Public Attributes inherited from GaudiKernel.Configurable.Configurable
 propertyNoValue
 
str indentUnit = "| "
 
int printHeaderWidth = 100
 
int printHeaderPre = 5
 
dict allConfigurables = {}
 
dict configurableServices = {}
 
- Protected Member Functions inherited from GaudiKernel.Configurable.ConfigurableUser
 _instanceName (self, cls)
 
- Protected Member Functions inherited from GaudiKernel.Configurable.Configurable
 _isInSetDefaults (self)
 
- Static Protected Member Functions inherited from GaudiKernel.Configurable.Configurable
 _printHeader (indentStr, title)
 
 _printFooter (indentStr, title)
 
- Protected Attributes inherited from GaudiKernel.Configurable.ConfigurableUser
 _enabled = _enabled
 
bool _applied = False
 
- Protected Attributes inherited from GaudiKernel.Configurable.Configurable
 _name = self.__class__.DefaultedName
 
bool _inSetDefaults = False
 
bool _initok = True
 
bool _setupok = False
 
bool _unpickling = False
 
 _properties
 
- Static Protected Attributes inherited from GaudiKernel.Configurable.Configurable
bool _configurationLocked = False
 

Detailed Description

Definition at line 18 of file ConfigurableUser.py.

Member Function Documentation

◆ __apply_configuration__()

ConfigurableUser.ExampleIO.__apply_configuration__ ( self)

Definition at line 22 of file ConfigurableUser.py.

22 def __apply_configuration__(self):
23 # Propagate the properties to all used configurables
24 # In this case the only effect is to set the ApplicationMgr EvtMax.
25 self.propagateProperties()
26
27 read = self.getProp("Read")
28 if read == "NONE":
29 ApplicationMgr(EvtSel="NONE")
30 else:
31 log.warning(
32 "%s: Cannot handle value %r of property Read", self.name(), read
33 )
34
35 write = self.getProp("Write")
36 if read == "NONE":
37 ApplicationMgr(HistogramPersistency="NONE")
38 else:
39 log.warning(
40 "%s: Cannot handle value %r of property Write", self.name(), write
41 )
42
43
The Application Manager class.

Member Data Documentation

◆ __slots__

dict ConfigurableUser.ExampleIO.__slots__ = {"EvtMax": 1, "Read": "NONE", "Write": "NONE"}
staticprivate

Definition at line 19 of file ConfigurableUser.py.

◆ __used_configurables__

list ConfigurableUser.ExampleIO.__used_configurables__ = [ApplicationMgr]
staticprivate

Definition at line 20 of file ConfigurableUser.py.


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