12 TVector3 posout, TVector3 momout,
double tof,
double length,
double eLoss,
16 FairMCPoint test1 =
static_cast<FairMCPoint
>(test);
19 int32_t retValInt {-222};
20 double retValDouble {-222.};
23 EXPECT_EQ(detID, retValInt);
25 retValDouble = test.
GetXIn();
26 EXPECT_EQ(posin.X(), retValDouble);
29 EXPECT_EQ(posout.X(), retValDouble);
32 EXPECT_EQ(momin.Px(), retValDouble);
35 EXPECT_EQ(momout.Px(), retValDouble);
37 retValDouble = test.
GetYIn();
38 EXPECT_EQ(posin.Y(), retValDouble);
41 EXPECT_EQ(posout.Y(), retValDouble);
44 EXPECT_EQ(momin.Py(), retValDouble);
47 EXPECT_EQ(momout.Py(), retValDouble);
49 retValDouble = test.
GetZIn();
50 EXPECT_EQ(posin.Z(), retValDouble);
53 EXPECT_EQ(posout.Z(), retValDouble);
56 EXPECT_EQ(momin.Pz(), retValDouble);
59 EXPECT_EQ(momout.Pz(), retValDouble);
void compareFairMCPointDataMembers(FairMCPoint &test, int32_t trackID, int32_t detID, TVector3 pos, TVector3 mom, double tof, double length, double eloss, int32_t eventid)
void compareTrdPointDataMembers(CbmTrdPoint &test, int32_t trackID, int32_t detID, TVector3 posin, TVector3 momin, TVector3 posout, TVector3 momout, double tof, double length, double eLoss, int32_t eventid)