CGEM BOSS 6.6.5.i
BESIII Offline Software System
|
#include <RootDedxSimDataCnv.h>
Public Member Functions | |
const CLID & | objType () const |
RootDedxSimDataCnv (ISvcLocator *svc) | |
virtual | ~RootDedxSimDataCnv () |
virtual StatusCode | createRoot (const std::string &fname, CalibData::CalibBase1 *pTDSObj) |
virtual long | repSvcType () const |
Public Member Functions inherited from RootCalBaseCnv | |
virtual | ~RootCalBaseCnv () |
virtual StatusCode | initialize () |
virtual StatusCode | finalize () |
virtual StatusCode | createObj (IOpaqueAddress *addr, DataObject *&refpObject) |
ICalibRootSvc * | getCalibRootSvc () |
RootCalBaseCnv (ISvcLocator *svc, const CLID &clid) | |
virtual StatusCode | readRootObj (const std::string &treename, const std::string &branch, TObject *&pCalib, unsigned index=0) |
virtual StatusCode | readRootObj (TTree *tree, const std::string &branch, TObject *&pCalib, unsigned index=0) |
Public Member Functions inherited from Converter< Ty1, Ty2 > | |
destination * | operator (const source &) const |
Static Public Member Functions | |
static const CLID & | classID () |
Static Public Member Functions inherited from RootCalBaseCnv | |
static const unsigned char | storageType () |
Protected Member Functions | |
virtual StatusCode | i_createObj (const std::string &fname, DataObject *&refpObject) |
Protected Member Functions inherited from RootCalBaseCnv | |
virtual StatusCode | internalCreateObj (const std::string &fname, DataObject *&refpObject, IOpaqueAddress *address) |
virtual StatusCode | i_processObj (DataObject *pObject, IOpaqueAddress *address) |
In case there is additional work to do on the created object. | |
virtual StatusCode | fillRoot (CalibData::CalibBase *pTDSObj, TObject *pRootObj) |
virtual StatusCode | openWrite (const std::string &fname) |
StatusCode | closeWrite () |
StatusCode | openRead (const std::string &fname) |
StatusCode | closeRead () |
void | setBaseInfo (CalibData::CalibBase1 *pObj) |
Another utility for derived classes to use. | |
Protected Member Functions inherited from Converter< Ty1, Ty2 > | |
virtual destination * | convert (const source &) const =0 |
Friends | |
class | CnvFactory< RootDedxSimDataCnv > |
Additional Inherited Members | |
Public Types inherited from Converter< Ty1, Ty2 > | |
typedef Ty1 | source |
typedef Ty2 | destination |
Protected Attributes inherited from RootCalBaseCnv | |
ICalibRootSvc * | m_rootSvc |
ICalibMetaCnvSvc * | m_metaSvc |
IInstrumentName * | m_instrSvc |
int | m_serNo |
ITime * | m_vstart |
ITime * | m_vend |
int | m_runfrm |
int | m_runto |
TFile * | m_outFile |
TTree * | m_ttree |
TFile * | m_inFile |
TDirectory * | m_saveDir |
Definition at line 17 of file RootDedxSimDataCnv.h.
RootDedxSimDataCnv::RootDedxSimDataCnv | ( | ISvcLocator * | svc | ) |
Definition at line 35 of file RootDedxSimDataCnv.cxx.
|
inlinevirtual |
Definition at line 26 of file RootDedxSimDataCnv.h.
|
static |
Definition at line 44 of file RootDedxSimDataCnv.cxx.
|
virtual |
Create ROOT file corresponding to TDS object input.
Default implementation is to return an error. Must be separately implemented for each calibration type.
fname | Filename for output file |
pTDSObj | Pointer to tds object to be converted |
Reimplemented from RootCalBaseCnv.
Definition at line 102 of file RootDedxSimDataCnv.cxx.
|
protectedvirtual |
Create the transient representation of an object, given an opaque address. This and the following update method comprise the core functionality of calibration converters. Convenience routine used by most CAL calibration types, which have a <dimension> element describing how the remainder of the Data is laid out. Read from TDS; store information internally in protected members.
Given a pointer to a TDS object which can be cast to "our" type, fill in corresponding information in the corresponding root class
pTDSObj | Pointer to tds object to be converted |
pRootObj | Pointer to destination root object Read in object from specified branch. Don't need tree name; it's always Calib |
Reimplemented from RootCalBaseCnv.
Definition at line 48 of file RootDedxSimDataCnv.cxx.
const CLID & RootDedxSimDataCnv::objType | ( | ) | const |
Definition at line 40 of file RootDedxSimDataCnv.cxx.
|
inlinevirtual |
Definition at line 31 of file RootDedxSimDataCnv.h.
|
friend |
Definition at line 1 of file RootDedxSimDataCnv.h.