The Gaudi Framework  master (5f4a22f1)
Loading...
Searching...
No Matches
Gaudi.ConfUser.GaudiPersistency Class Reference
Inheritance diagram for Gaudi.ConfUser.GaudiPersistency:
Collaboration diagram for Gaudi.ConfUser.GaudiPersistency:

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__ = {}

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

Configurable to enable ROOT-based persistency.

Note: it requires Gaudi::RootCnvSvc (package RootCnv).

Definition at line 14 of file ConfUser.py.

Member Function Documentation

◆ __apply_configuration__()

Gaudi.ConfUser.GaudiPersistency.__apply_configuration__ ( self)
Apply low-level configuration

Definition at line 22 of file ConfUser.py.

22 def __apply_configuration__(self):
23 """Apply low-level configuration"""
24 # aliased names
25 from Configurables import (
26 ApplicationMgr,
27 EventPersistencySvc,
28 FileCatalog,
29 FileRecordDataSvc,
30 IODataManager,
31 PersistencySvc,
32 RootCnvSvc,
33 )
34
35 cnvSvcs = [RootCnvSvc()]
36 EventPersistencySvc().CnvServices += cnvSvcs
37 PersistencySvc("FileRecordPersistencySvc").CnvServices += cnvSvcs
38 app = ApplicationMgr()
39 app.SvcOptMapping += [FileCatalog(), IODataManager(), RootCnvSvc()]
40 app.ExtSvc += [FileRecordDataSvc()]
The Application Manager class.
A FileRecordDataSvc is the base class for event services.
PersistencySvc class implementation definition.

Member Data Documentation

◆ __slots__

dict Gaudi.ConfUser.GaudiPersistency.__slots__ = {}
staticprivate

Definition at line 20 of file ConfUser.py.


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