|
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"
40 RootCnvSvc(const std::string& name, ISvcLocator* pSvcLocator);
60 const std::string* par,
61 const unsigned long* ip,
62 IOpaqueAddress*& refpAddress);
70 const std::string& refAddress,
71 IOpaqueAddress*& refpAddress);
84 const RootType& typeDesc,
86 ITPCnvBase* tpConverter = 0);
93 IConverter*
createConverter(long typ, const CLID& clid, const ICnvFactory* fac);
ServiceHandle< ::IRootSvc > m_rootSvc
ServiceHandle to the root service.
This class provides the interface between Athena and RootSvc.
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.
RootType getType(const CLID &clid) const
bool const RAWDATA *ch2 const
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.
StatusCode queryInterface(const InterfaceID &riid, void **ppvInterface)
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:
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.