1 #ifndef ROOTHISTCNV_RCONVERTER_H
2 #define ROOTHISTCNV_RCONVERTER_H 1
5 #include "GaudiKernel/Converter.h"
6 #include "TDirectory.h"
20 m_current = gDirectory;
48 std::string
directory(
const std::string& loc);
55 std::string
convertId(
const std::string& )
const ;
82 const std::string& title,
91 #endif // RootHistCnv_RConverter_H
std::string getDirectory()
RConverter(const CLID &clid, ISvcLocator *svc)
Standard constructor.
The ISvcLocator is the interface implemented by the Service Factory in the Application Manager to loc...
std::string diskDirectory(const std::string &loc)
void setDirectory(const std::string &loc)
StatusCode createDiskDirectory(const std::string &loc)
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
~RConverter() override=default
Standard destructor.
StatusCode regTFile(const std::string, const TFile *)
StatusCode findTFile(const std::string, TFile *&)
StatusCode createDirectory(const std::string &loc)
TDirectory * changeDirectory(DataObject *pObject)
Switch to object directory (=Parent directory)
static long storageType()
Inquire storage type.
virtual TObject * createPersistent(DataObject *pObj)
Create the persistent representation of an object.
This class is used for returning status codes from appropriate routines.
virtual ~GlobalDirectoryRestore()
std::string directory(const std::string &loc)
virtual long i_repSvcType() const
Retrieve the class type of the data store the converter uses.
StatusCode error(const std::string &msg)
long repSvcType() const override
std::string convertId(const std::string &) const
virtual StatusCode readObject(IOpaqueAddress *pAddr, DataObject *&refpObj)
Create the transient representation of an object.
Opaque address interface definition.
unsigned int CLID
Class ID definition.
A DataObject is the base class of any identifiable object on any data store.
StatusCode createAddress(DataObject *pObject, TDirectory *pDir, TObject *pTObject, IOpaqueAddress *&refpAddr)
Create address of the transient object according to the requested representation. ...
void setDiskDirectory(const std::string &loc)
const long ROOT_StorageType