BOSS
6.6.4.p03
BESIII Offline Software System
Loading...
Searching...
No Matches
Emc/EmcCalib/EmcBhaCalib/EmcBhaCalib-00-00-26/EmcBhaCalib/ReadBeamInfFromDb.h
Go to the documentation of this file.
1
// thanks chunlei
2
#ifndef DQADtagAlg_ReadBeamInfFromDb_H
3
#define DQADtagAlg_ReadBeamInfFromDb_H
4
5
#include <iostream>
6
#include <mysql.h>
7
8
9
class
ReadBeamInfFromDb
{
10
11
public
:
12
13
ReadBeamInfFromDb
();
14
~ReadBeamInfFromDb
() {}
15
16
bool
isRunValid
(
int
run);
17
double
getbeamE
(
int
run);
18
19
private
:
20
MYSQL
* OpenDb()
const
;
21
void
ReadDb(
int
run);
22
void
CloseDb(
MYSQL
* mysql)
const
;
23
24
25
int
m_run;
26
bool
m_isRunValid;
27
double
m_beamE;
28
29
};
30
31
32
#endif
MYSQL
struct st_mysql MYSQL
Definition:
MysqlConnection.h:11
ReadBeamInfFromDb
Definition:
DQA/DQADtagAlg/DQADtagAlg-00-00-12/DQADtagAlg/util/ReadBeamInfFromDb.h:9
ReadBeamInfFromDb::getbeamE
double getbeamE(int run)
ReadBeamInfFromDb::isRunValid
bool isRunValid(int run)
ReadBeamInfFromDb::~ReadBeamInfFromDb
~ReadBeamInfFromDb()
Definition:
Emc/EmcCalib/EmcBhaCalib/EmcBhaCalib-00-00-26/EmcBhaCalib/ReadBeamInfFromDb.h:14
ReadBeamInfFromDb::ReadBeamInfFromDb
ReadBeamInfFromDb()
source
Emc
EmcCalib
EmcBhaCalib
EmcBhaCalib-00-00-26
EmcBhaCalib
ReadBeamInfFromDb.h
Generated by
1.9.6