2#ifndef CalibMySQLCnvSvc_h
3#define CalibMySQLCnvSvc_h 1
8#include "GaudiKernel/ConversionSvc.h"
10#include "GaudiKernel/IDetDataSvc.h"
58 virtual StatusCode
createObj ( IOpaqueAddress* pAddress,
59 DataObject*& refpObject );
62 virtual StatusCode
fillObjRefs ( IOpaqueAddress* pAddress,
63 DataObject* pObject );
66 virtual StatusCode
updateObj ( IOpaqueAddress* pAddress,
67 DataObject* pObject );
71 DataObject* pObject );
74 virtual StatusCode
createRep ( DataObject* pObject,
75 IOpaqueAddress*& refpAddress );
78 virtual StatusCode
fillRepRefs ( IOpaqueAddress* pAddress,
79 DataObject* pObject );
82 virtual StatusCode
updateRep ( IOpaqueAddress* pAddress,
83 DataObject* pObject );
87 DataObject* pObject );
92 const std::string* par,
93 const unsigned long* ip,
94 IOpaqueAddress*& refpAddress );
103 virtual StatusCode
createCalib(DataObject*& refpObject,
104 const std::string& fullpath,
112 virtual StatusCode
updateCalib(DataObject* pObject,
113 const std::string& fullpath,
118 unsigned char& type);
125 std::string& CalParVer,
int &runfrm,
126 int &runto,
int RunNo, std::string BossRelease,
127 std::string DataType);
142 unsigned int m_calibLevelMask;
152 std::string m_enterTimeStartString;
153 std::string m_enterTimeEndString;
155 IDataProviderSvc* m_eventSvc;
157 std::string m_dbName;
161 std::string m_calPar[16];
163 std::string m_bossver[16];
164 std::string m_bossRelease;
165 std::string m_flag[16];
169 IConversionSvc* m_detPersSvc;
172 IDetDataSvc* m_detDataSvc;
176 std::vector<std::string> m_qualityList;
177 unsigned int m_qualityMask;
180 std::string m_dbStatus;
virtual StatusCode finalize()
virtual StatusCode updateRep(IOpaqueAddress *pAddress, DataObject *pObject)
Update a converted representation of a transient object.
virtual StatusCode decodeDescription(const std::string &description, unsigned char &type)
Decode the string storage type to enumerated storage type.
virtual StatusCode fillObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Resolve the references of the created transient object.
virtual StatusCode createObj(IOpaqueAddress *pAddress, DataObject *&refpObject)
Create a transient representation from another rep of this object.
virtual StatusCode createAddress(long svc_type, const CLID &clid, const std::string *par, const unsigned long *ip, IOpaqueAddress *&refpAddress)
Create an address using explicit arguments to identify a single object.
virtual StatusCode createRep(DataObject *pObject, IOpaqueAddress *&refpAddress)
Convert a transient object to a requested representation.
virtual StatusCode createCalib(DataObject *&refpObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0)
virtual StatusCode updateCalib(DataObject *pObject, const std::string &fullpath, const CLID &classID, IRegistry *entry=0)
virtual StatusCode fillRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Resolve the references of a converted object.
StatusCode getSftParVer(std::string &SftVer, std::string &CalParVer, int &runfrm, int &runto, int RunNo, std::string BossRelease, std::string DataType)
virtual StatusCode updateObjRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Update the references of an updated transient object.
virtual calibUtil::Metadata * getMeta()
Handle to the MySQL metadata database.
virtual StatusCode updateObj(IOpaqueAddress *pAddress, DataObject *pObject)
Update a transient representation from another rep of this object.
virtual ~CalibMySQLCnvSvc()
virtual StatusCode initialize()
virtual StatusCode updateRepRefs(IOpaqueAddress *pAddress, DataObject *pObject)
Update the references of an already converted object.
Simple interface to keep track of which instrument (LAT, EM, etc.) the process is concerned with....
Forward and external declarations.