Belle II Software  release-05-02-19
DatabaseChain.cc
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 
11 #include <framework/logging/Logger.h>
12 #include <framework/database/DatabaseChain.h>
13 
14 // we know all of this is deprecated, we don't want the warnings when compiling the service itself ...
15 #ifdef __INTEL_COMPILER
16 #pragma warning (disable:1478) //[[deprecated]]
17 #pragma warning (disable:1786) //[[deprecated("message")]]
18 #else
19 #pragma GCC diagnostic ignored "-Wdeprecated-declarations"
20 #endif
21 
22 namespace Belle2 {
29  {
30  B2WARNING("DatabaseChain is obsolete and doesn't do anything anymore");
31  }
33 } // Belle2 namespace
Belle2::DatabaseChain::createInstance
static void createInstance(bool resetIoVs=false, LogConfig::ELogLevel logLevel=LogConfig::c_Warning, bool invertLogging=false)
Method to set the database instance to a local database.
Definition: DatabaseChain.cc:36
Belle2::LogConfig::ELogLevel
ELogLevel
Definition of the supported log levels.
Definition: LogConfig.h:36
Belle2
Abstract base class for different kinds of events.
Definition: MillepedeAlgorithm.h:19