22 const char* d_nam = pObj->
name().
c_str() + 1;
23 if ( !gDirectory->GetKey( d_nam ) ) {
24 gDirectory->mkdir( d_nam );
26 gDirectory->cd( d_nam );
constexpr static const auto FAILURE
#define DECLARE_CONVERTER(x)
StatusCode createRep(DataObject *pObj, IOpaqueAddress *&refpAddr) override
Convert the transient object to the requested representation.
TDirectory * changeDirectory(DataObject *pObject)
Switch to object directory (=Parent directory)
This class is used for returning status codes from appropriate routines.
constexpr static const auto SUCCESS
const std::string & name() const
Retreive DataObject name. It is the name when registered in the store.
Opaque address interface 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. ...