CbmRoot
Loading...
Searching...
No Matches
_GTestCbmEvent.cxx File Reference
#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"
Include dependency graph for _GTestCbmEvent.cxx:

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)
 

Function Documentation

◆ compareEventDataMembers()

◆ compareEventMap()

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() [1/5]

TEST ( _GTestCbmEvent ,
CheckAddData  )

◆ TEST() [2/5]

TEST ( _GTestCbmEvent ,
CheckDefaultConstructor  )

Definition at line 72 of file _GTestCbmEvent.cxx.

◆ TEST() [3/5]

TEST ( _GTestCbmEvent ,
CheckSettersAndGetters  )

Definition at line 90 of file _GTestCbmEvent.cxx.

References compareEventDataMembers(), and CbmEvent::SetStartTime().

◆ TEST() [4/5]

TEST ( _GTestCbmEvent ,
CheckSetVertex  )

Definition at line 281 of file _GTestCbmEvent.cxx.

References compareEventDataMembers(), and CbmEvent::SetVertex().

◆ TEST() [5/5]

TEST ( _GTestCbmEvent ,
CheckStandardConstructor  )

Definition at line 80 of file _GTestCbmEvent.cxx.

References compareEventDataMembers().