Belle II Software
development
DAQLogDB.h
1
/**************************************************************************
2
* basf2 (Belle II Analysis Software Framework) *
3
* Author: The Belle II Collaboration *
4
* *
5
* See git log for contributors and copyright holders. *
6
* This file is licensed under LGPL-3.0, see LICENSE.md. *
7
**************************************************************************/
8
#ifndef _Belle2_DAQLogDB_h
9
#define _Belle2_DAQLogDB_h
10
11
#include <daq/slc/database/DAQLogMessage.h>
12
#include <daq/slc/database/DBInterface.h>
13
14
#include <vector>
15
16
namespace
Belle2
{
21
22
typedef
std::vector<DAQLogMessage> DAQLogMessageList;
23
24
class
DAQLogDB
{
25
26
public
:
27
static
bool
createLog(
DBInterface
& db,
28
const
std::string& tablename,
29
const
DAQLogMessage
& log);
30
static
DAQLogMessageList getLogs(
DBInterface
& db,
31
const
std::string& tablename,
32
const
std::string& nodename =
""
,
33
int
max = 0);
34
static
DAQLogMessageList getLogs(
DBInterface
& db,
35
const
std::string& tablename,
36
const
std::string& nodename,
37
const
std::string& begin_date,
38
const
std::string& end_date,
39
int
max,
int
priority);
40
};
41
43
}
44
45
#endif
Belle2::DAQLogDB
Definition
DAQLogDB.h:24
Belle2::DAQLogMessage
Definition
DAQLogMessage.h:23
Belle2::DBInterface
Definition
DBInterface.h:26
Belle2
Abstract base class for different kinds of events.
Definition
MillepedeAlgorithm.h:17
daq
slc
database
include
DAQLogDB.h
Generated on Mon Sep 1 2025 02:49:17 for Belle II Software by
1.13.2