8#include <tracking/trackFindingCDC/topology/CDCGeometryLoader.h>
10#include <cdc/geometry/CDCGeometryPar.h>
12#include <framework/database/Database.h>
13#include <framework/database/DBStore.h>
14#include <framework/datastore/StoreObjPtr.h>
15#include <framework/datastore/DataStore.h>
16#include <framework/dataobjects/EventMetaData.h>
19using namespace TrackFindingCDC;
39 B2FATAL(
"No CDC configuration can be loaded!");
41 B2INFO(
"CDC Geometry loaded from DB");
static CDCGeometryPar & Instance(const CDCGeometry *=nullptr)
Static method to get a reference to the CDCGeometryPar instance.
Class for accessing objects in the database.
static DataStore & Instance()
Instance of singleton Store.
void setInitializeActive(bool active)
Setter for m_initializeActive.
void reset(EDurability durability)
Frees memory occupied by data store items and removes all objects from the map.
bool registerInDataStore(DataStore::EStoreFlags storeFlags=DataStore::c_WriteOut)
Register the object/array in the DataStore.
Type-safe access to single objects in the data store.
bool construct(Args &&... params)
Construct an object of type T in this StoreObjPtr, using the provided constructor arguments.
static void closeDatabase()
Helper function to close and reset the database - only for tests offside the standard event processin...
static void loadDatabase()
Helper function to open the database - only for tests offside the standard event processing.
static DBStore & Instance()
Instance of a singleton DBStore.
void update()
Updates all objects that are outside their interval of validity.
static void reset(bool keepConfig=false)
Reset the database instance.
Abstract base class for different kinds of events.