Belle II Software
development
RunNumberTable.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_RunNumberTable_h
9
#define _Belle2_RunNumberTable_h
10
11
#include "daq/slc/database/RunNumber.h"
12
13
namespace
Belle2
{
19
class
DBInterface;
20
21
class
RunNumberTable
{
22
23
public
:
24
RunNumberTable
(
DBInterface
& db) : m_db(db) {}
25
~RunNumberTable
() {}
26
27
public
:
28
RunNumber
add(
const
std::string& node,
29
const
std::string& runtype,
30
int
expno,
int
runno);
31
RunNumber
add(
const
RunNumber
& info);
32
int
getRunNumber(
const
std::string& node,
int
expno);
33
int
getExpNumber(
const
std::string& node);
34
void
create();
35
36
public
:
37
RunNumberList get(
const
std::string& node,
int
expno,
int
runno_min = 0,
int
runno_max = -1);
38
RunNumberList get(
int
expno,
int
runno_min = 0,
int
runno_max = -1);
39
40
private
:
41
DBInterface
& m_db;
42
43
};
44
46
}
47
48
#endif
Belle2::DBInterface
Definition:
DBInterface.h:26
Belle2::RunNumberTable
Definition:
RunNumberTable.h:21
Belle2::RunNumber
Definition:
RunNumber.h:20
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:17
daq
slc
database
include
RunNumberTable.h
Generated on Fri Nov 8 2024 02:35:38 for Belle II Software by
1.9.6