The Gaudi Framework  master (37c0b60a)
ConfUser.py
Go to the documentation of this file.
1 
11 from GaudiKernel.Configurable import ConfigurableUser
12 
13 
15  """Configurable to enable ROOT-based persistency.
16 
17  Note: it requires Gaudi::RootCnvSvc (package RootCnv).
18  """
19 
20  __slots__ = {}
21 
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()]
GaudiKernel.Configurable.ConfigurableUser
Definition: Configurable.py:1361
PersistencySvc
PersistencySvc class implementation definition.
Definition: PersistencySvc.h:57
Gaudi::RootCnvSvc
Definition: RootCnvSvc.h:62
Gaudi.ConfUser.GaudiPersistency.__apply_configuration__
def __apply_configuration__(self)
Definition: ConfUser.py:22
GaudiKernel.Configurable
Definition: Configurable.py:1
Gaudi.ConfUser.GaudiPersistency
Definition: ConfUser.py:14
FileRecordDataSvc
Definition: FileRecordDataSvc.cpp:48
ApplicationMgr
Definition: ApplicationMgr.h:57
Gaudi::IODataManager
Definition: IODataManager.h:39