Belle II Software development
DBRepresentationOfSoftwareTriggerCutTest Class Reference

Class to test the db representation of the cuts. More...

Inheritance diagram for DBRepresentationOfSoftwareTriggerCutTest:

Private Member Functions

void SetUp ()
 Setup the local DB and the datastore with the event meta data.
 
void TearDown ()
 Destroy the DB and the DataStore.
 

Private Attributes

TestHelpers::TempDirCreator tmp_dir
 Do everything in a temporary dir.
 

Detailed Description

Class to test the db representation of the cuts.

Definition at line 27 of file dbRepresentationOfSoftwareTriggerCut.cc.

Member Function Documentation

◆ SetUp()

void SetUp ( )
inlineprivate

Setup the local DB and the datastore with the event meta data.

Definition at line 33 of file dbRepresentationOfSoftwareTriggerCut.cc.

34 {
35 StoreObjPtr<EventMetaData> evtPtr;
37 evtPtr.registerInDataStore();
39 evtPtr.construct(0, 0, 0);
40 }
static DataStore & Instance()
Instance of singleton Store.
Definition: DataStore.cc:54
void setInitializeActive(bool active)
Setter for m_initializeActive.
Definition: DataStore.cc:94

◆ TearDown()

void TearDown ( )
inlineprivate

Destroy the DB and the DataStore.

Definition at line 43 of file dbRepresentationOfSoftwareTriggerCut.cc.

44 {
45 std::filesystem::remove_all("testPayloads");
47 }
void reset(EDurability durability)
Frees memory occupied by data store items and removes all objects from the map.
Definition: DataStore.cc:86

Member Data Documentation

◆ tmp_dir

TestHelpers::TempDirCreator tmp_dir
private

Do everything in a temporary dir.

Definition at line 30 of file dbRepresentationOfSoftwareTriggerCut.cc.


The documentation for this class was generated from the following file: