CbmRoot
|
#include "CbmDefs.h"
#include "CbmEvent.h"
#include "CbmMatch.h"
#include "CbmVertex.h"
#include <TMatrixTSym.h>
#include <vector>
#include <gtest/gtest-spi.h>
#include <gtest/gtest.h>
#include "compareVertex.h"
Go to the source code of this file.
Functions | |
void | compareEventDataMembers (CbmEvent &test, int32_t evnumber, double starttime, double endtime, int32_t numobjects, CbmMatch *match, CbmVertex *vertex) |
void | compareEventMap (CbmEvent &test, int32_t numobjects, int32_t numobjectstype, ECbmDataType type, std::vector< uint32_t > indices) |
TEST (_GTestCbmEvent, CheckDefaultConstructor) | |
TEST (_GTestCbmEvent, CheckStandardConstructor) | |
TEST (_GTestCbmEvent, CheckSettersAndGetters) | |
TEST (_GTestCbmEvent, CheckAddData) | |
TEST (_GTestCbmEvent, CheckSetVertex) | |
void compareEventDataMembers | ( | CbmEvent & | test, |
int32_t | evnumber, | ||
double | starttime, | ||
double | endtime, | ||
int32_t | numobjects, | ||
CbmMatch * | match, | ||
CbmVertex * | vertex ) |
Definition at line 19 of file _GTestCbmEvent.cxx.
References compareVertexDataMembers(), CbmVertex::GetChi2(), CbmVertex::GetCovariance(), CbmEvent::GetEndTime(), CbmEvent::GetMatch(), CbmVertex::GetNDF(), CbmEvent::GetNofData(), CbmVertex::GetNTracks(), CbmEvent::GetNumber(), CbmEvent::GetStartTime(), CbmEvent::GetVertex(), CbmVertex::GetX(), CbmVertex::GetY(), and CbmVertex::GetZ().
void compareEventMap | ( | CbmEvent & | test, |
int32_t | numobjects, | ||
int32_t | numobjectstype, | ||
ECbmDataType | type, | ||
std::vector< uint32_t > | indices ) |
Definition at line 51 of file _GTestCbmEvent.cxx.
References CbmEvent::GetIndex(), and CbmEvent::GetNofData().
Referenced by TEST().
TEST | ( | _GTestCbmEvent | , |
CheckAddData | ) |
Definition at line 118 of file _GTestCbmEvent.cxx.
References compareEventDataMembers(), compareEventMap(), kMCTrack, kStsCluster, kStsDigi, kStsHit, kStsPoint, and kStsTrack.
TEST | ( | _GTestCbmEvent | , |
CheckDefaultConstructor | ) |
Definition at line 72 of file _GTestCbmEvent.cxx.
TEST | ( | _GTestCbmEvent | , |
CheckSettersAndGetters | ) |
Definition at line 90 of file _GTestCbmEvent.cxx.
References compareEventDataMembers(), and CbmEvent::SetStartTime().
TEST | ( | _GTestCbmEvent | , |
CheckSetVertex | ) |
Definition at line 281 of file _GTestCbmEvent.cxx.
References compareEventDataMembers(), and CbmEvent::SetVertex().
TEST | ( | _GTestCbmEvent | , |
CheckStandardConstructor | ) |
Definition at line 80 of file _GTestCbmEvent.cxx.
References compareEventDataMembers().