BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
RootMdcCalibDataCnv.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibSvc/CalibROOTCnv/src/cnv/RootMdcCalibDataCnv.h,v 1.1.1.1 2006/04/03 03:03:27 maqm Exp $
2#ifndef RootMdcCalibDataCnv_h
3#define RootMdcCalibDataCnv_h
4
5/** @class RootMdcCalibDataCnv
6
7 Base class for CAL calibration converters from ROOT files to TCDS.
8 All such converters need to do certain things, which are
9 handled here. Methods common to *all* calibrations are in the
10 base class RootCalBaseCnv
11
12 @author J. Bogart
13*/
14
15#include "RootCalBaseCnv.h"
16
17namespace CalibData {
18 class MdcCalibData;
19}
20template <class TYPE> class CnvFactory;
22
23 friend class CnvFactory<RootMdcCalibDataCnv>;
24
25public:
26 const CLID& objType() const;
27 static const CLID& classID();
28 RootMdcCalibDataCnv(ISvcLocator* svc);
29
31
32 virtual StatusCode createRoot(const std::string& fname,
33 CalibData::CalibBase1* pTDSObj);
34
35 virtual long repSvcType() const {
37 }
38
39protected:
40
41
42 virtual StatusCode i_createObj (const std::string& fname,
43 DataObject*& refpObject);
44};
45
46#endif
unsigned const char CALIBROOT_StorageType
Definition: ICalibRootSvc.h:20
const CLID & objType() const
virtual StatusCode createRoot(const std::string &fname, CalibData::CalibBase1 *pTDSObj)
virtual long repSvcType() const
virtual StatusCode i_createObj(const std::string &fname, DataObject *&refpObject)
static const CLID & classID()