Belle II Software light-2406-ragdoll
V0Test Class Reference

Set up a few arrays and objects in the datastore. More...

Inheritance diagram for V0Test:
Collaboration diagram for V0Test:

Protected Member Functions

virtual void SetUp ()
 register Particle array
 
virtual void TearDown ()
 clear datastore
 

Protected Attributes

short m_default_index = -1
 Default index in constructor if no tracks/tfrs are given.
 

Detailed Description

Set up a few arrays and objects in the datastore.

Definition at line 27 of file v0.cc.

Member Function Documentation

◆ SetUp()

virtual void SetUp ( )
inlineprotectedvirtual

register Particle array

Definition at line 30 of file v0.cc.

31 {
33 StoreArray<Track> tracks;
34 tracks.registerInDataStore();
35 StoreArray<TrackFitResult> trackFitResults;
36 trackFitResults.registerInDataStore();
38 }
static DataStore & Instance()
Instance of singleton Store.
Definition: DataStore.cc:54
void setInitializeActive(bool active)
Setter for m_initializeActive.
Definition: DataStore.cc:94

◆ TearDown()

virtual void TearDown ( )
inlineprotectedvirtual

clear datastore

Definition at line 41 of file v0.cc.

42 {
44 }
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

◆ m_default_index

short m_default_index = -1
protected

Default index in constructor if no tracks/tfrs are given.

Definition at line 47 of file v0.cc.


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