8#include <mdst/dataobjects/V0.h>
9#include <mdst/dataobjects/TrackFitResult.h>
10#include <mdst/dataobjects/Track.h>
12#include <framework/datastore/StoreArray.h>
16#include <gtest/gtest.h>
27 class V0Test :
public ::testing::Test {
34 tracks.registerInDataStore();
66 EXPECT_ANY_THROW(std::get<0>(myV0.
getTracks()));
67 EXPECT_ANY_THROW(std::get<1>(myV0.
getTracks()));
static DataStore & Instance()
Instance of singleton Store.
void setInitializeActive(bool active)
Setter for m_initializeActive.
void reset(EDurability durability)
Frees memory occupied by data store items and removes all objects from the map.
bool registerInDataStore(DataStore::EStoreFlags storeFlags=DataStore::c_WriteOut)
Register the object/array in the DataStore.
Accessor to arrays stored in the data store.
Set up a few arrays and objects in the datastore.
short m_default_index
Default index in constructor if no tracks/tfrs are given.
virtual void TearDown()
clear datastore
virtual void SetUp()
register Particle array
Object holding information for V0s.
std::pair< short, short > getTrackFitResultIndices() const
Get indices of the TrackFitResults, that are part of the V0 particle.
std::pair< Track *, Track * > getTracks() const
Get pair of yhe Tracks, that are part of the V0 particle.
std::pair< short, short > getTrackIndices() const
Get indices of the Tracks, that are part of the V0 particle.
std::pair< TrackFitResult *, TrackFitResult * > getTrackFitResults() const
Get pair of the TrackFitResults, that are part of the V0 particle.
Abstract base class for different kinds of events.