BOSS 7.0.7
BESIII Offline Software System
Loading...
Searching...
No Matches
RootEmcCalibDataCnv.h
Go to the documentation of this file.
1// $Header: /bes/bes/BossCvs/Calibration/CalibSvc/CalibROOTCnv/src/cnv/RootEmcCalibDataCnv.h,v 1.1.1.1 2006/04/03 03:03:27 maqm Exp $
2#ifndef RootEmcCalibDataCnv_h
3#define RootEmcCalibDataCnv_h
4
5/** @class RootEmcCalibDataCnv
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 EmcCalibData;
19}
20template <class TYPE> class CnvFactory;
22
23 friend class CnvFactory<RootEmcCalibDataCnv>;
24
25public:
26 const CLID& objType() const;
27 static const CLID& classID();
28 RootEmcCalibDataCnv(ISvcLocator* svc);
29
31
32 virtual StatusCode createRoot(const std::string& fname,
33 CalibData::CalibBase1* pTDSObj);
34 virtual long repSvcType() const {
36 }
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
virtual long repSvcType() const
virtual StatusCode i_createObj(const std::string &fname, DataObject *&refpObject)
const CLID & objType() const
virtual StatusCode createRoot(const std::string &fname, CalibData::CalibBase1 *pTDSObj)
static const CLID & classID()