Belle II Software
release-05-02-19
MonitorDB.h
1
#ifndef _Belle2_MonitorDB_h
2
#define _Belle2_MonitorDB_h
3
4
#include <daq/slc/base/Date.h>
5
6
#include <daq/slc/nsm/NSMVar.h>
7
8
#include <daq/slc/database/DBInterface.h>
9
10
namespace
Belle2
{
16
class
MonitorDB
{
17
18
public
:
19
static
void
add(
DBInterface
& db,
const
std::string& tablename,
20
const
std::string& vname,
int
val);
21
static
void
add(
DBInterface
& db,
const
std::string& tablename,
22
const
std::string& vname,
float
val);
23
static
void
add(
DBInterface
& db,
const
std::string& tablename,
24
const
std::string& vname,
const
std::string& val);
25
static
NSMVarList get(
DBInterface
& db,
26
const
std::string& tablename,
27
const
std::string& vname);
28
static
NSMVarList get(
DBInterface
& db,
29
const
std::string& tablename,
30
const
std::string& vname,
int
max);
31
static
NSMVarList get(
DBInterface
& db,
32
const
std::string& tablename,
33
const
std::string& vname,
const
Date
& start,
34
const
Date
& end);
35
static
NSMVarList get(
DBInterface
& db,
36
const
std::string& tablename,
37
const
std::string& vname,
int
max,
38
const
Date
& start,
const
Date
& end);
39
private
:
40
static
NSMVarList readTable(
DBInterface
& db,
const
std::string& vname);
41
static
void
createTable(
DBInterface
& db,
const
std::string& tablename);
42
43
};
44
46
}
47
48
#endif
Belle2::MonitorDB
Definition:
MonitorDB.h:16
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::Date
Definition:
Date.h:12
Belle2::DBInterface
Definition:
DBInterface.h:19
daq
slc
database
include
MonitorDB.h
Generated on Tue Jan 4 2022 02:54:19 for Belle II Software by
1.8.17