CbmRoot
compareMuchBeamTimeDigi.h
Go to the documentation of this file.
1
#ifndef COMPAREMUCHBEAMTIMEDIGI_H
2
#define COMPAREMUCHBEAMTIMEDIGI_H 1
3
4
#include "
compareMuchDigi.h
"
5
6
void
compareMuchBeamTimeDigiDataMembers
(
CbmMuchBeamTimeDigi
& test,
7
Int_t address,
8
ECbmModuleId
systemid,
9
ULong64_t time,
10
Int_t charge,
11
Int_t padx,
12
Int_t pady,
13
Int_t rocid,
14
Int_t nxid,
15
Int_t nxch,
16
Int_t elink) {
17
CbmMuchDigi
bla =
static_cast<
CbmMuchDigi
>
(test);
18
compareMuchDigiDataMembers
(bla, address, systemid, time, charge);
19
20
Int_t retValInt {-222};
21
22
retValInt = test.
GetPadX
();
23
EXPECT_EQ(padx, retValInt);
24
25
retValInt = test.
GetPadY
();
26
EXPECT_EQ(pady, retValInt);
27
28
retValInt = test.
GetRocId
();
29
EXPECT_EQ(rocid, retValInt);
30
31
retValInt = test.
GetNxId
();
32
EXPECT_EQ(nxid, retValInt);
33
34
retValInt = test.
GetNxCh
();
35
EXPECT_EQ(nxch, retValInt);
36
37
retValInt = test.
GetElink
();
38
EXPECT_EQ(elink, retValInt);
39
}
40
41
#endif // COMPAREMUCHBEAMTIMEDIGI_H
CbmMuchBeamTimeDigi::GetElink
Int_t GetElink() const
Definition:
CbmMuchBeamTimeDigi.h:52
CbmMuchBeamTimeDigi
Definition:
CbmMuchBeamTimeDigi.h:29
ECbmModuleId
ECbmModuleId
Definition:
CbmDefs.h:33
CbmMuchBeamTimeDigi::GetNxCh
Int_t GetNxCh() const
Definition:
CbmMuchBeamTimeDigi.h:51
CbmMuchBeamTimeDigi::GetRocId
Int_t GetRocId() const
Definition:
CbmMuchBeamTimeDigi.h:49
CbmMuchBeamTimeDigi::GetPadY
Int_t GetPadY() const
Definition:
CbmMuchBeamTimeDigi.h:48
compareMuchDigi.h
compareMuchDigiDataMembers
void compareMuchDigiDataMembers(CbmMuchDigi &test, Int_t address, ECbmModuleId systemid, ULong64_t time, Int_t charge)
Definition:
compareMuchDigi.h:4
CbmMuchDigi
Definition:
CbmMuchDigi.h:31
compareMuchBeamTimeDigiDataMembers
void compareMuchBeamTimeDigiDataMembers(CbmMuchBeamTimeDigi &test, Int_t address, ECbmModuleId systemid, ULong64_t time, Int_t charge, Int_t padx, Int_t pady, Int_t rocid, Int_t nxid, Int_t nxch, Int_t elink)
Definition:
compareMuchBeamTimeDigi.h:6
CbmMuchBeamTimeDigi::GetNxId
Int_t GetNxId() const
Definition:
CbmMuchBeamTimeDigi.h:50
CbmMuchBeamTimeDigi::GetPadX
Int_t GetPadX() const
Definition:
CbmMuchBeamTimeDigi.h:47
core
data
test
much
compareMuchBeamTimeDigi.h
Generated on Wed Oct 28 2020 15:11:49 for CbmRoot by
1.8.18