BOSS
7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
CheckMySQL.h
Go to the documentation of this file.
1
//$Header: /bes/bes/BossCvs/Calibration/CalibSvc/CalibROOTCnv/src/test/CheckMySQL.h,v 1.2 2011/02/17 05:12:53 maqm Exp $
2
#include <stdio.h>
3
#include "GaudiKernel/Algorithm.h"
4
#include "GaudiKernel/AlgFactory.h"
5
#include "GaudiKernel/IDataProviderSvc.h"
6
#include "GaudiKernel/Service.h"
7
#include "GaudiKernel/MsgStream.h"
8
#include "GaudiKernel/SmartDataPtr.h"
9
#include "
CalibData/Emc/EmcCalibData.h
"
10
#include "
CalibData/CalibModel.h
"
11
#include "GaudiKernel/DataSvc.h"
12
#include "
CalibDataSvc/ICalibRootSvc.h
"
13
#include "GaudiKernel/MsgStream.h"
14
#include "
CalibData/CalibModel.h
"
15
#include "
CalibData/CalibBase1.h
"
16
#include <time.h>
17
#include <stdio.h>
18
#include <string.h>
19
#include <mysql.h>
20
#include "TFile.h"
21
#include "TTree.h"
22
#include "TBuffer.h"
23
#include "
facilities/Util.h
"
24
#include "
facilities/Timestamp.h
"
25
#include "
rdbModel/Management/Manager.h
"
26
#include "
rdbModel/Management/XercesBuilder.h
"
27
28
#include "
rdbModel/Db/MysqlConnection.h
"
29
#include "
rdbModel/Db/MysqlResults.h
"
30
#include "
rdbModel/Rdb.h
"
31
#include "
rdbModel/RdbException.h
"
32
#include "
rdbModel/Tables/Assertion.h
"
33
#include "
rdbModel/Tables/Table.h
"
34
#include "
rdbModel/Tables/Column.h
"
35
36
/* enum eRet {
37
RETOk = 0,
38
RETBadCnfFile = 1,
39
RETBadHost = 2,
40
RETNoConnect = 3,
41
RETWrongState = 4,
42
RETBadValue = 5,
43
RETMySQLError = 6,
44
RETNoSchemaMatch = 7
45
};
46
*/
47
//#include "
48
//using namespace std;
49
/// Simple algorithm to test functioning of "the other" TDS
50
typedef
std::vector<std::string>
StringVector
;
51
class
CheckMYSQL
:
public
Algorithm {
52
53
public
:
54
CheckMYSQL
(
const
std::string& name, ISvcLocator* pSvcLocator);
55
56
StatusCode
initialize
();
57
58
StatusCode
execute
();
59
60
StatusCode
finalize
();
61
62
private
:
63
// Maybe something to say which kind of data to look up?
64
65
};
66
67
CalibBase1.h
CalibModel.h
Util.h
Assertion.h
StringVector
std::vector< std::string > StringVector
Simple algorithm to test functioning of "the other" TDS.
Definition
CheckMySQL.h:50
Column.h
EmcCalibData.h
ICalibRootSvc.h
Manager.h
MysqlConnection.h
MysqlResults.h
RdbException.h
Rdb.h
Table.h
Timestamp.h
XercesBuilder.h
CheckMYSQL
Definition
CheckMySQL.h:51
CheckMYSQL::CheckMYSQL
CheckMYSQL(const std::string &name, ISvcLocator *pSvcLocator)
Definition
CheckMySQL.cxx:4
CheckMYSQL::initialize
StatusCode initialize()
Definition
CheckMySQL.cxx:13
CheckMYSQL::finalize
StatusCode finalize()
Definition
CheckMySQL.cxx:227
CheckMYSQL::execute
StatusCode execute()
Definition
CheckMySQL.cxx:24
7.1.2
Calibration
CalibSvc
CalibROOTCnv
CalibROOTCnv-00-03-07
src
test
CheckMySQL.h
Generated by
1.12.0