Belle II Software
release-05-01-25
LocalDatabase.h
1
/**************************************************************************
2
* BASF2 (Belle Analysis Framework 2) *
3
* Copyright(C) 2015-2018 - Belle II Collaboration *
4
* *
5
* Author: The Belle II Collaboration *
6
* Contributors: Thomas Kuhr, Martin Ritter *
7
* *
8
* This software is provided "as is" without any warranty. *
9
**************************************************************************/
10
#pragma once
11
12
#include <framework/logging/LogConfig.h>
13
#include <framework/database/Database.h>
14
15
#include <string>
16
17
namespace
Belle2
{
26
class
[[deprecated("Please use the Conditions::Configuration object")]] LocalDatabase {
27
public
:
28
41
static
void
createInstance(
const
std::string& fileName =
"database.txt"
,
const
std::string& payloadDir =
""
,
42
bool
readOnly =
false
,
LogConfig::ELogLevel
logLevel =
LogConfig::c_Warning
,
43
bool
invertLogging =
false
);
44
46
static
void
reset() {
Database::reset
(); }
47
};
49
}
// namespace Belle2
Belle2::LogConfig::ELogLevel
ELogLevel
Definition of the supported log levels.
Definition:
LogConfig.h:36
Belle2::Database::reset
static void reset(bool keepConfig=false)
Reset the database instance.
Definition:
Database.cc:62
Belle2
Abstract base class for different kinds of events.
Definition:
MillepedeAlgorithm.h:19
Belle2::LogConfig::c_Warning
@ c_Warning
Warning: for potential problems that the user should pay attention to.
Definition:
LogConfig.h:39
framework
database
include
LocalDatabase.h
Generated on Fri Nov 5 2021 03:51:57 for Belle II Software by
1.8.17