|
ATLAS Offline Software
|
Go to the documentation of this file.
11 #ifndef ATHENAROOTCOMPS_ROOTCNVSVC_H
12 #define ATHENAROOTCOMPS_ROOTCNVSVC_H 1
23 #include "GaudiKernel/ServiceHandle.h"
35 class RootCnvSvc:
public extends<::AthCnvSvc, ::IAthenaRootCnvSvc> {
59 const std::string*
par,
60 const unsigned long*
ip,
61 IOpaqueAddress*& refpAddress);
69 const std::string& refAddress,
70 IOpaqueAddress*& refpAddress);
ServiceHandle< ::IRootSvc > m_rootSvc
ServiceHandle to the root service.
ServiceHandle< ::IDictLoaderSvc > m_dictSvc
ServiceHandle to the dictionary service.
StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress)
Create a Generic address using explicit arguments to identify a single object.
StatusCode connectOutput(const std::string &file)
Connect the output file to the service.
RootCnvSvc & operator=(const RootCnvSvc &)
RootType getType(const CLID &clid) const
RootCnvSvc()
Default constructor:
ITPCnvBase * getTPConverter(const CLID &clid) const
Get T/P converter for a transient class.
StatusCode updateServiceState(IOpaqueAddress *pAddress)
Update state of the service.
This class provides a token that identifies in a unique way objects on the persistent storage.
StatusCode commitOutput(const std::string &output, bool do_commit)
Commit pending output.
Some weak symbol referencing magic...
::StatusCode StatusCode
StatusCode definition for legacy code.
StatusCode convertAddress(const IOpaqueAddress *pAddress, std::string &refAddress)
Convert an address to string form.
const Token * writeObject(const std::string &key, const RootType &typeDesc, const void *pObj, ITPCnvBase *tpConverter=0)
Write object of a given class to Root, using optional T/P converter.
uint32_t CLID
The Class ID type.
This class provides the interface between Athena and RootSvc.
IConverter * createConverter(long typ, const CLID &clid, const ICnvFactory *fac)
Create new converter using factory.
StatusCode initialize()
Gaudi Service Interface method implementations:
RootCnvSvc(const RootCnvSvc &)
This file contains the class definition for the IAthenaRootCnvSvc interface class.
std::string m_treeName
ROOT TTree name.
ServiceHandle< ::ITPCnvSvc > m_tpCnvSvc
ServiceHandle to the T/P conversion service.
This class provides the interface to the ROOT software.