9#include <mva/utility/Utility.h>
10#include <framework/utilities/TestHelpers.h>
11#include <framework/database/Configuration.h>
12#include <framework/database/Database.h>
18 TEST(AvailableTest, Available)
23 conf.overrideGlobalTags();
24 conf.prependTestingPayloadLocation(
"localdb/database.txt");
static Configuration & getInstance()
Get a reference to the instance which will be used when the Database is initialized.
static bool available(const std::string &filename, int experiment=0, int run=0, int event=0)
Convenience function which checks if an experise is available.
The Weightfile class serializes all information about a training into an xml tree.
static void save(Weightfile &weightfile, const std::string &filename, const Belle2::IntervalOfValidity &iov=Belle2::IntervalOfValidity(0, 0, -1, -1))
Static function which saves a Weightfile to a file.
changes working directory into a newly created directory, and removes it (and contents) on destructio...
static void reset(bool keepConfig=false)
Reset the database instance.
Abstract base class for different kinds of events.