Load the CDC geometry from the conditions database.
More...
#include <CDCGeometryLoader.h>
|
static void | loadDatabase () |
| Helper function to open the database - only for tests offside the standard event processing.
|
|
static void | closeDatabase () |
| Helper function to close and reset the database - only for tests offside the standard event processing.
|
|
Load the CDC geometry from the conditions database.
Definition at line 18 of file CDCGeometryLoader.h.
◆ closeDatabase()
Helper function to close and reset the database - only for tests offside the standard event processing.
Definition at line 47 of file CDCGeometryLoader.cc.
48{
51}
static DataStore & Instance()
Instance of singleton Store.
void reset(EDurability durability)
Frees memory occupied by data store items and removes all objects from the map.
static void reset(bool keepConfig=false)
Reset the database instance.
◆ loadDatabase()
Helper function to open the database - only for tests offside the standard event processing.
Definition at line 21 of file CDCGeometryLoader.cc.
22{
23
24
30
32
34
36
38 if (!cdcGeometry) {
39 B2FATAL("No CDC configuration can be loaded!");
40 } else {
41 B2INFO("CDC Geometry loaded from DB");
42 }
43
45}
static CDCGeometryPar & Instance(const CDCGeometry *=nullptr)
Static method to get a reference to the CDCGeometryPar instance.
Class for accessing objects in the database.
void setInitializeActive(bool active)
Setter for m_initializeActive.
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 DBStore & Instance()
Instance of a singleton DBStore.
void update()
Updates all objects that are outside their interval of validity.
The documentation for this class was generated from the following files: