BOSS
6.6.4.p01
BESIII Offline Software System
Loading...
Searching...
No Matches
ReadRuntripFromDb.h
Go to the documentation of this file.
1
#ifndef MdcTripSvc_ReadRuntripFromDb_H
2
#define MdcTripSvc_ReadRuntripFromDb_H
3
4
#include <mysql/mysql.h>
5
#include <string>
6
#include <vector>
7
#include <stdio.h>
8
#include <iostream>
9
10
using namespace
std
;
11
12
class
ReadRuntripFromDb
{
13
14
public
:
15
16
ReadRuntripFromDb
();
17
~ReadRuntripFromDb
();
18
19
string
gettimest
(
int
i);
20
string
gettimend
(
int
i);
21
int
getstSize
();
22
int
getndSize
();
23
void
ReadDb
(
int
run);
24
bool
isRunTripped
();
25
26
private
:
27
MYSQL
* OpenDb()
const
;
28
void
CloseDb(
MYSQL
* mysql)
const
;
29
30
bool
m_isTrip;
31
vector<string> timest;
32
vector<string> timend;
33
};
34
#endif
MYSQL
struct st_mysql MYSQL
Definition:
MysqlConnection.h:11
ReadRuntripFromDb
Definition:
ReadRuntripFromDb.h:12
ReadRuntripFromDb::~ReadRuntripFromDb
~ReadRuntripFromDb()
Definition:
ReadRuntripFromDb.cxx:10
ReadRuntripFromDb::getstSize
int getstSize()
Definition:
ReadRuntripFromDb.cxx:107
ReadRuntripFromDb::gettimend
string gettimend(int i)
Definition:
ReadRuntripFromDb.cxx:102
ReadRuntripFromDb::ReadDb
void ReadDb(int run)
Definition:
ReadRuntripFromDb.cxx:41
ReadRuntripFromDb::isRunTripped
bool isRunTripped()
Definition:
ReadRuntripFromDb.cxx:93
ReadRuntripFromDb::gettimest
string gettimest(int i)
Definition:
ReadRuntripFromDb.cxx:98
ReadRuntripFromDb::getndSize
int getndSize()
Definition:
ReadRuntripFromDb.cxx:112
ReadRuntripFromDb::ReadRuntripFromDb
ReadRuntripFromDb()
Definition:
ReadRuntripFromDb.cxx:6
std
Definition:
RootEventData_rootcint.cxx:15
source
Mdc
MdcTripSvc
MdcTripSvc-00-00-06
MdcTripSvc
ReadRuntripFromDb.h
Generated by
1.9.6