CbmRoot
compareErrorMessage.h
Go to the documentation of this file.
1
#ifndef COMPAREERRORMESSAGE_H
2
#define COMPAREERRORMESSAGE_H 1
3
4
#include "
CbmErrorMessage.h
"
5
6
void
compareErrorMessageDataMembers
(
CbmErrorMessage
& test,
7
ECbmModuleId
sysId,
8
Double_t dTime,
9
UInt_t uAddress,
10
UInt_t uFlags,
11
UInt_t uPayload) {
12
EXPECT_EQ(sysId, test.
GetSystemId
());
13
EXPECT_EQ(uAddress, test.
GetAddress
());
14
EXPECT_EQ(uFlags, test.
GetFlags
());
15
EXPECT_EQ(uPayload, test.
GetPayload
());
16
EXPECT_DOUBLE_EQ(dTime, test.
GetTime
());
17
}
18
19
20
#endif // COMPAREERRORMESSAGE_H
CbmErrorMessage::GetAddress
UInt_t GetAddress() const
Origin address
Definition:
CbmErrorMessage.h:79
ECbmModuleId
ECbmModuleId
Definition:
CbmDefs.h:33
CbmErrorMessage::GetTime
Double_t GetTime() const
Absolute time [ns]
Definition:
CbmErrorMessage.h:75
CbmErrorMessage::GetFlags
UInt_t GetFlags() const
Flags (bitfield)
Definition:
CbmErrorMessage.h:83
CbmErrorMessage.h
CbmErrorMessage::GetPayload
UInt_t GetPayload() const
Payload (optional)
Definition:
CbmErrorMessage.h:87
CbmErrorMessage
CbmRoot (+externals) headers.
Definition:
CbmErrorMessage.h:39
CbmErrorMessage::GetSystemId
ECbmModuleId GetSystemId() const
System (enum DetectorId)
Definition:
CbmErrorMessage.h:71
compareErrorMessageDataMembers
void compareErrorMessageDataMembers(CbmErrorMessage &test, ECbmModuleId sysId, Double_t dTime, UInt_t uAddress, UInt_t uFlags, UInt_t uPayload)
Definition:
compareErrorMessage.h:6
core
data
test
compareErrorMessage.h
Generated on Wed Oct 28 2020 15:11:49 for CbmRoot by
1.8.18