Belle II Software
release-05-01-25
ConditionsDatabase.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
#include <string>
15
16
namespace
Belle2
{
24
class
[[deprecated("Please use the Conditions::Configuration object")]] ConditionsDatabase {
25
public
:
26
34
static
void
createDefaultInstance(
const
std::string& globalTag,
LogConfig::ELogLevel
logLevel =
LogConfig::c_Warning
,
35
const
std::string& payloadDir =
"centraldb"
);
36
50
static
void
createInstance(
const
std::string& globalTag,
const
std::string& restBaseName,
const
std::string& fileBaseName,
51
const
std::string& fileBaseLocal,
LogConfig::ELogLevel
logLevel =
LogConfig::c_Warning
,
52
bool
invertLogging =
false
);
53
55
static
void
reset() {
Database::reset
(); }
56
};
58
}
// 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
ConditionsDatabase.h
Generated on Fri Nov 5 2021 03:51:55 for Belle II Software by
1.8.17