 |
Belle II Software
release-05-01-25
|
10 #include <tracking/trackFindingCDC/topology/CDCGeometryLoader.h>
12 #include <cdc/geometry/CDCGeometryPar.h>
14 #include <framework/database/Database.h>
15 #include <framework/database/DBStore.h>
16 #include <framework/datastore/StoreObjPtr.h>
17 #include <framework/datastore/DataStore.h>
18 #include <framework/dataobjects/EventMetaData.h>
21 using namespace TrackFindingCDC;
30 evtPtr.registerInDataStore();
41 B2FATAL(
"No CDC configuration can be loaded!");
43 B2INFO(
"CDC Geometry loaded from DB");
static DataStore & Instance()
Instance of singleton Store.
void setInitializeActive(bool active)
Setter for m_initializeActive.
static void reset(bool keepConfig=false)
Reset the database instance.
Class for accessing objects in the database.
void reset(EDurability durability)
Frees memory occupied by data store items and removes all objects from the map.
bool construct(Args &&... params)
Construct an object of type T in this StoreObjPtr, using the provided constructor arguments.
static CDCGeometryPar & Instance(const CDCGeometry *=nullptr)
Static method to get a reference to the CDCGeometryPar instance.
Abstract base class for different kinds of events.
Type-safe access to single objects in the data store.
static DBStore & Instance()
Instance of a singleton DBStore.
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.
void update()
Updates all objects that are outside their interval of validity.