CbmRoot
|
#include "CbmEvent.h"
#include "CbmDefs.h"
#include "CbmMatch.h"
#include "CbmVertex.h"
#include <TMatrixTSym.h>
#include <gtest/gtest-spi.h>
#include <gtest/gtest.h>
#include <vector>
#include "compareVertex.h"
Go to the source code of this file.
Functions | |
void | compareEventDataMembers (CbmEvent &test, Int_t evnumber, Double_t starttime, Double_t endtime, Int_t numobjects, CbmMatch *match, CbmVertex *vertex) |
void | compareEventMap (CbmEvent &test, Int_t numobjects, Int_t numobjectstype, ECbmDataType type, std::vector< UInt_t > indices) |
TEST (_GTestCbmEvent, CheckDefaultConstructor) | |
TEST (_GTestCbmEvent, CheckStandardConstructor) | |
TEST (_GTestCbmEvent, CheckSettersAndGetters) | |
TEST (_GTestCbmEvent, CheckAddData) | |
TEST (_GTestCbmEvent, CheckSetVertex) | |
void compareEventDataMembers | ( | CbmEvent & | test, |
Int_t | evnumber, | ||
Double_t | starttime, | ||
Double_t | endtime, | ||
Int_t | numobjects, | ||
CbmMatch * | match, | ||
CbmVertex * | vertex | ||
) |
Definition at line 16 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().
Referenced by TEST().
void compareEventMap | ( | CbmEvent & | test, |
Int_t | numobjects, | ||
Int_t | numobjectstype, | ||
ECbmDataType | type, | ||
std::vector< UInt_t > | indices | ||
) |
Definition at line 61 of file _GTestCbmEvent.cxx.
References CbmEvent::GetIndex(), CbmEvent::GetNofData(), and i.
Referenced by TEST().
TEST | ( | _GTestCbmEvent | , |
CheckAddData | |||
) |
Definition at line 125 of file _GTestCbmEvent.cxx.
References compareEventDataMembers(), compareEventMap(), kMCTrack, kStsCluster, kStsDigi, kStsHit, kStsPoint, and kStsTrack.
TEST | ( | _GTestCbmEvent | , |
CheckDefaultConstructor | |||
) |
Definition at line 84 of file _GTestCbmEvent.cxx.
TEST | ( | _GTestCbmEvent | , |
CheckSettersAndGetters | |||
) |
Definition at line 98 of file _GTestCbmEvent.cxx.
References compareEventDataMembers().
TEST | ( | _GTestCbmEvent | , |
CheckSetVertex | |||
) |
Definition at line 287 of file _GTestCbmEvent.cxx.
References compareEventDataMembers(), and CbmEvent::SetVertex().
TEST | ( | _GTestCbmEvent | , |
CheckStandardConstructor | |||
) |
Definition at line 89 of file _GTestCbmEvent.cxx.
References compareEventDataMembers().