![]() |
The Gaudi Framework
master (b9786168)
|
NTuple converter class definition for NTuples writted/read using ROOT. More...
#include <Root/RootNTupleCnv.h>


Public Member Functions | |
| RootNTupleCnv (long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr) | |
| Standard constructor. | |
| StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&refpAdd) override |
| Converter overrides: Convert the transient object to the requested representation. | |
| StatusCode | fillRepRefs (IOpaqueAddress *pAdd, DataObject *pObj) override |
| Resolve the references of the converted object. | |
| StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) override |
| Converter overrides: Update the references of an updated transient object. | |
| StatusCode | fillObjRefs (IOpaqueAddress *, DataObject *) override |
| Converter overrides: Update the references of an updated transient object. | |
| StatusCode | updateObj (IOpaqueAddress *pAddress, DataObject *pObject) override |
| Update the transient object: NTuples end here when reading records. | |
| StatusCode | updateObjRefs (IOpaqueAddress *, DataObject *) override |
| Converter overrides: Update the references of an updated transient object. | |
| StatusCode | updateRep (IOpaqueAddress *, DataObject *) override |
| Converter overrides: Update the converted representation of a transient object. | |
| StatusCode | updateRepRefs (IOpaqueAddress *, DataObject *) override |
| Converter overrides: Update the converted representation of a transient object. | |
Public Member Functions inherited from Gaudi::RootStatCnv | |
| RootStatCnv (long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr) | |
| Initializing Constructor. | |
Public Member Functions inherited from Gaudi::RootConverter | |
| RootConverter (long typ, const CLID &clid, ISvcLocator *svc, RootCnvSvc *mgr) | |
| Initializing Constructor. | |
| long | repSvcType () const override |
| Retrieve the class type of the data store the converter uses. | |
| StatusCode | createObj (IOpaqueAddress *pAddr, DataObject *&refpObj) override |
| Converter overrides: Create transient object from persistent data. | |
| StatusCode | fillObjRefs (IOpaqueAddress *pAddr, DataObject *pObj) override |
| Resolve the references of the created transient object. | |
| StatusCode | createRep (DataObject *pObj, IOpaqueAddress *&refpAddr) override |
| Converter overrides: Convert the transient object to the requested representation. | |
| StatusCode | fillRepRefs (IOpaqueAddress *pAddr, DataObject *pObj) override |
| Resolve the references of the created transient object. | |
Public Member Functions inherited from Converter | |
| StatusCode | initialize () override |
| Initialize the converter. | |
| StatusCode | finalize () override |
| Initialize the converter. | |
| StatusCode | setDataProvider (IDataProviderSvc *svc) override |
| Set Data provider service. | |
| SmartIF< IDataProviderSvc > & | dataProvider () const override |
| Get Data provider service. | |
| StatusCode | setConversionSvc (IConversionSvc *svc) override |
| Set conversion service the converter is connected to. | |
| SmartIF< IConversionSvc > & | conversionSvc () const override |
| Get conversion service the converter is connected to. | |
| StatusCode | setAddressCreator (IAddressCreator *creator) override |
| Set address creator facility. | |
| SmartIF< IAddressCreator > & | addressCreator () const override |
| Retrieve address creator facility. | |
| const CLID & | objType () const override |
| Retrieve the class type of objects the converter produces. | |
| virtual long | i_repSvcType () const |
| Retrieve the class type of the data store the converter uses. | |
| StatusCode | createObj (IOpaqueAddress *pAddress, DataObject *&refpObject) override |
| Create the transient representation of an object. | |
| StatusCode | fillObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
| Resolve the references of the created transient object. | |
| StatusCode | updateObj (IOpaqueAddress *pAddress, DataObject *refpObject) override |
| Update the transient object from the other representation. | |
| StatusCode | updateObjRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
| Update the references of an updated transient object. | |
| StatusCode | createRep (DataObject *pObject, IOpaqueAddress *&refpAddress) override |
| Convert the transient object to the requested representation. | |
| StatusCode | fillRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
| Resolve the references of the converted object. | |
| StatusCode | updateRep (IOpaqueAddress *pAddress, DataObject *pObject) override |
| Update the converted representation of a transient object. | |
| StatusCode | updateRepRefs (IOpaqueAddress *pAddress, DataObject *pObject) override |
| Update the references of an already converted object. | |
| Converter (long storage_type, const CLID &class_type, ISvcLocator *svc=0) | |
| Standard Constructor. | |
| SmartIF< IService > | service (const std::string &name, const bool createIf=true) const |
| Return a pointer to the service identified by name (or "type/name") | |
Public Member Functions inherited from implements< IConverter > | |
| void const * | i_cast (const InterfaceID &tid) const override |
| Implementation of IInterface::i_cast. | |
| StatusCode | queryInterface (const InterfaceID &ti, void **pp) override |
| Implementation of IInterface::queryInterface. | |
| std::vector< std::string > | getInterfaceNames () const override |
| Implementation of IInterface::getInterfaceNames. | |
| implements ()=default | |
| Default constructor. | |
| implements (const implements &) | |
| Copy constructor (zero the reference count) | |
| implements & | operator= (const implements &) |
| Assignment operator (do not touch the reference count). | |
| unsigned long | addRef () const override |
| Reference Interface instance. | |
| unsigned long | release () const override |
| Release Interface instance. | |
| unsigned long | refCount () const override |
| Current reference count. | |
Protected Member Functions | |
| StatusCode | i__updateObjRoot (RootAddress *rpA, INTuple *tupl, TTree *tree, RootDataConnection *con) |
| Update the transient object: NTuples end here when reading records. | |
Protected Member Functions inherited from Gaudi::RootStatCnv | |
| MsgStream & | log () const |
| Helper to use mesage logger. | |
| StatusCode | initialize () override |
| Initialize converter object. | |
| StatusCode | finalize () override |
| Finalize converter object. | |
| virtual const std::string | containerName (IRegistry *pDir) const |
| Retrieve the name of the container a given object is placed into. | |
| virtual const std::string | fileName (IRegistry *pReg) const |
| Retrieve the name of the file a given object is placed into. | |
| virtual const std::string | topLevel (IRegistry *pReg) const |
| Retrieve the full path of the file a given object is placed into. | |
| StatusCode | makeError (const std::string &msg, bool throw_exception=false) const |
| Helper method to issue error messages. | |
| StatusCode | saveDescription (const std::string &path, const std::string &ident, const std::string &desc, const std::string &opt, const CLID &clid) |
| Save statistics object description. | |
Protected Member Functions inherited from Converter | |
| SmartIF< ISvcLocator > & | serviceLocator () const |
| Retrieve pointer to service locator. | |
| SmartIF< IMessageSvc > & | msgSvc () const |
| Retrieve pointer to message service. | |
| SmartIF< IDataManagerSvc > & | dataManager () const |
| Get Data Manager service. | |
Protected Member Functions inherited from implements< IConverter > | |
| unsigned long | decRef () const override |
Additional Inherited Members | |
Public Types inherited from Converter | |
| using | Factory = Gaudi::PluginService::Factory<IConverter*( ISvcLocator* )> |
Public Types inherited from implements< IConverter > | |
| using | base_class |
| Typedef to this class. | |
| using | extend_interfaces_base |
| Typedef to the base of this class. | |
| using | iids |
Public Types inherited from extend_interfaces< Interfaces... > | |
| using | ext_iids |
| take union of the ext_iids of all Interfaces... | |
Protected Attributes inherited from Gaudi::RootStatCnv | |
| SmartIF< IDataManagerSvc > | m_dataMgr |
| Reference to data manager service to manipulate the TES. | |
| std::unique_ptr< MsgStream > | m_log |
| Reference to logger object. | |
Protected Attributes inherited from Gaudi::RootConverter | |
| RootCnvSvc * | m_dbMgr |
| Conversion service needed for proper operation to forward requests. | |
Protected Attributes inherited from implements< IConverter > | |
| std::atomic_ulong | m_refCount |
| Reference counter. | |
NTuple converter class definition for NTuples writted/read using ROOT.
Description: Definition of the generic converter for row wise and column wise Ntuples.
Definition at line 44 of file RootNTupleCnv.h.
|
inline |
Standard constructor.
| clid | [IN] Class ID of the object type to be converted. |
| db | [IN] Pointer to POOL database interface |
| svc | [IN] Pointer to Gaudi service locator |
Definition at line 63 of file RootNTupleCnv.h.
|
override |
Converter overrides: Update the references of an updated transient object.
| pAddress | [IN] Valid pointer to the object's opaque address |
| refpObject | [OUT] Location to store pointer to DataObject |
Definition at line 124 of file RootNTupleCnv.cpp.
|
override |
Converter overrides: Convert the transient object to the requested representation.
Convert the transient object to the requested representation.
| pObj | [IN] Valid pointer to DataObject |
| refpAdd | [OUT] Location to store pointer to the object's opaque address |
Definition at line 365 of file RootNTupleCnv.cpp.
|
inlineoverride |
Converter overrides: Update the references of an updated transient object.
| pAddress | [IN] Valid pointer to the object's opaque address |
| pObject | [IN] Valid pointer to DataObject |
Definition at line 104 of file RootNTupleCnv.h.
|
override |
Resolve the references of the converted object.
| pAdd | [IN] Valid pointer to the object's opaque address |
| pObj | [IN] Valid pointer to DataObject |
Definition at line 607 of file RootNTupleCnv.cpp.
|
protected |
Update the transient object: NTuples end here when reading records.
Definition at line 266 of file RootNTupleCnv.cpp.
|
override |
Update the transient object: NTuples end here when reading records.
| pAddress | [IN] Valid pointer to the object's opaque address |
| pObject | [IN] Valid pointer to DataObject |
Definition at line 247 of file RootNTupleCnv.cpp.
|
inlineoverride |
Converter overrides: Update the references of an updated transient object.
| pAddress | [IN] Valid pointer to the object's opaque address |
| pObject | [IN] Valid pointer to DataObject |
Definition at line 125 of file RootNTupleCnv.h.
|
inlineoverride |
Converter overrides: Update the converted representation of a transient object.
| pAddress | [IN] Valid pointer to the object's opaque address |
| pObject | [IN] Valid pointer to DataObject |
Definition at line 137 of file RootNTupleCnv.h.
|
inlineoverride |
Converter overrides: Update the converted representation of a transient object.
| pAddress | [IN] Valid pointer to the object's opaque address |
| pObject | [IN] Valid pointer to DataObject |
Definition at line 149 of file RootNTupleCnv.h.