The Gaudi Framework  v36r1 (3e2fb5a8)
Gaudi.Configuration.GaudiPersistency Class Reference
Inheritance diagram for Gaudi.Configuration.GaudiPersistency:
Collaboration diagram for Gaudi.Configuration.GaudiPersistency:

Public Member Functions

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

Static Private Attributes

dictionary __slots__ = {}
 

Additional Inherited Members

- Static Public Attributes inherited from GaudiKernel.Configurable.Configurable
 propertyNoValue
 
string indentUnit = '| '
 
int printHeaderWidth = 100
 
int printHeaderPre = 5
 
dictionary allConfigurables
 
dictionary configurableServices
 
- Static Public Attributes inherited from GaudiKernel.ConfigurableMeta.ConfigurableMeta
def newclass = type.__new__(self, name, bases, dct)
 
 configurables
 
dictionary properties = {}
 
 slots = dct.get('__slots__')
 
list props = [x for x in slots if x[0] != '_']
 
 propDict = dct.get('_propertyDocDct')
 
 docString = propDict and propDict.get(prop)
 
 default = slots[prop]
 
 proxy
 
 bprops = base._properties.copy()
 
 properties = bprops
 

Detailed Description

Configurable to enable ROOT-based persistency.

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

Definition at line 125 of file Configuration.py.

Member Function Documentation

◆ __apply_configuration__()

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

Reimplemented from GaudiKernel.Configurable.ConfigurableUser.

Definition at line 132 of file Configuration.py.

132  def __apply_configuration__(self):
133  """Apply low-level configuration"""
134  from Configurables import (
135  ApplicationMgr,
136  PersistencySvc,
137  FileRecordDataSvc,
138  EventPersistencySvc,
139  )
140  # aliased names
141  from Configurables import (
142  RootCnvSvc,
143  RootEvtSelector,
144  IODataManager,
145  FileCatalog,
146  )
147  cnvSvcs = [RootCnvSvc()]
148  EventPersistencySvc().CnvServices += cnvSvcs
149  PersistencySvc("FileRecordPersistencySvc").CnvServices += cnvSvcs
150  app = ApplicationMgr()
151  app.SvcOptMapping += [FileCatalog(), IODataManager(), RootCnvSvc()]
152  app.ExtSvc += [FileRecordDataSvc()]

Member Data Documentation

◆ __slots__

dictionary Gaudi.Configuration.GaudiPersistency.__slots__ = {}
staticprivate

Definition at line 130 of file Configuration.py.


The documentation for this class was generated from the following file:
PersistencySvc
PersistencySvc class implementation definition.
Definition: PersistencySvc.h:60
FileRecordDataSvc
Definition: FileRecordDataSvc.cpp:48
ApplicationMgr
Definition: ApplicationMgr.h:57