Belle II Software development
EvtBCLFFTest Class Reference

The fixture for testing the EvtBCLFF. More...

Inheritance diagram for EvtBCLFFTest:

Static Protected Member Functions

static void SetUpTestCase ()
 sets up the test
 
static void TearDownTestCase ()
 cleans up after the test
 

Static Protected Attributes

static EvtGen * s_evtgen = nullptr
 pointer to the evtgen instance
 

Detailed Description

The fixture for testing the EvtBCLFF.

Definition at line 26 of file evtBCLFF.cc.

Member Function Documentation

◆ SetUpTestCase()

static void SetUpTestCase ( )
inlinestaticprotected

sets up the test

Definition at line 29 of file evtBCLFF.cc.

30 {
31 std::string decayFileName = FileSystem::findFile("decfiles/dec/DECAY_BELLE2.DEC");
32 s_evtgen = EvtGenInterface::createEvtGen(decayFileName, true);
33 }
static EvtGen * createEvtGen(const std::string &decayFileName, bool coherentMixing)
Create and initialize an EvtGen instance:
static std::string findFile(const std::string &path, bool silent=false)
Search for given file or directory in local or central release directory, and return absolute path if...
Definition: FileSystem.cc:151
static EvtGen * s_evtgen
pointer to the evtgen instance
Definition: evtBCLFF.cc:43

◆ TearDownTestCase()

static void TearDownTestCase ( )
inlinestaticprotected

cleans up after the test

Definition at line 36 of file evtBCLFF.cc.

37 {
38 delete s_evtgen;
39 s_evtgen = nullptr;
40 }

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