BOSS 7.0.6
BESIII Offline Software System
|
#include <RootOffEvtFilterCnv.h>
Public Member Functions | |
const CLID & | objType () const |
RootOffEvtFilterCnv (ISvcLocator *svc) | |
virtual | ~RootOffEvtFilterCnv () |
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 | createRoot (const std::string &fname, CalibData::CalibBase1 *pTDSObj) |
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_createObj (const std::string &fname, DataObject *&refpObject) |
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< RootOffEvtFilterCnv > |
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 |
Base class for CAL calibration converters from ROOT files to TCDS. All such converters need to do certain things, which are handled here. Methods common to all calibrations are in the base class RootCalBaseCnv
Definition at line 21 of file RootOffEvtFilterCnv.h.
RootOffEvtFilterCnv::RootOffEvtFilterCnv | ( | ISvcLocator * | svc | ) |
Definition at line 26 of file RootOffEvtFilterCnv.cxx.
|
inlinevirtual |
Definition at line 30 of file RootOffEvtFilterCnv.h.
|
static |
Definition at line 36 of file RootOffEvtFilterCnv.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 97 of file RootOffEvtFilterCnv.cxx.
|
protectedvirtual |
This creates the transient representation of an object from the corresponding ROOT object. This actually does the "new" operation and deals with the attributes of the node. This base class implementation does nothing; it should not normally be called because it doesn't correspond to any TCDS class. Instead, i_createObj of some derived class will be called.
fname | The ROOT file to be read in to be used to builds the object |
refpObject | the object to be built |
Reimplemented from RootCalBaseCnv.
Definition at line 40 of file RootOffEvtFilterCnv.cxx.
const CLID & RootOffEvtFilterCnv::objType | ( | ) | const |
Definition at line 32 of file RootOffEvtFilterCnv.cxx.
|
inlinevirtual |
Definition at line 34 of file RootOffEvtFilterCnv.h.
|
friend |
Definition at line 1 of file RootOffEvtFilterCnv.h.