1#ifndef TreeCalBaseCnv_h
2#define TreeCalBaseCnv_h
12#include "GaudiKernel/Converter.h"
13#include "GaudiKernel/CnvFactory.h"
18#include "TBufferFile.h"
55 virtual StatusCode
createObj(IOpaqueAddress* addr,
56 DataObject*& refpObject);
82 virtual StatusCode
createRoot(
const std::string& fname,
117 IOpaqueAddress* address);
130 virtual StatusCode
i_createObj (IOpaqueAddress* address,
131 DataObject*& refpObject);
138 IOpaqueAddress* address);
unsigned const char CALIBTREE_StorageType
Simple interface to keep track of which instrument (LAT, EM, etc.) the process is concerned with....
ICalibTreeSvc * getCalibTreeSvc()
virtual StatusCode initialize()
static const unsigned char storageType()
virtual ~TreeCalBaseCnv()
virtual StatusCode fillRoot(CalibData::CalibBase *pTDSObj, TObject *pRootObj)
virtual StatusCode i_processObj(DataObject *pObject, IOpaqueAddress *address)
In case there is additional work to do on the created object.
virtual StatusCode finalize()
TreeCalBaseCnv(ISvcLocator *svc, const CLID &clid)
ICalibMetaCnvSvc * m_metaSvc
virtual StatusCode i_createObj(IOpaqueAddress *address, DataObject *&refpObject)
virtual StatusCode createObj(IOpaqueAddress *addr, DataObject *&refpObject)
IInstrumentName * m_instrSvc
ICalibTreeSvc * m_treeSvc
virtual StatusCode internalCreateObj(DataObject *&refpObject, IOpaqueAddress *address)
virtual StatusCode createRoot(const std::string &fname, CalibData::CalibBase1 *pTDSObj)
void setBaseInfo(CalibData::CalibBase1 *pObj)
Another utility for derived classes to use.