1 #ifndef COMPARETRDPOINT_H
2 #define COMPARETRDPOINT_H 1
18 FairMCPoint test1 =
static_cast<FairMCPoint
>(test);
20 test1, trackID, detID, posin, momin, tof, length, eLoss, eventid);
22 Int_t retValInt {-222};
23 Double_t retValDouble {-222.};
26 EXPECT_EQ(detID, retValInt);
28 retValDouble = test.
GetXIn();
29 EXPECT_EQ(posin.X(), retValDouble);
32 EXPECT_EQ(posout.X(), retValDouble);
35 EXPECT_EQ(momin.Px(), retValDouble);
38 EXPECT_EQ(momout.Px(), retValDouble);
40 retValDouble = test.
GetYIn();
41 EXPECT_EQ(posin.Y(), retValDouble);
44 EXPECT_EQ(posout.Y(), retValDouble);
47 EXPECT_EQ(momin.Py(), retValDouble);
50 EXPECT_EQ(momout.Py(), retValDouble);
52 retValDouble = test.
GetZIn();
53 EXPECT_EQ(posin.Z(), retValDouble);
56 EXPECT_EQ(posout.Z(), retValDouble);
59 EXPECT_EQ(momin.Pz(), retValDouble);
62 EXPECT_EQ(momout.Pz(), retValDouble);
65 #endif // COMPARETRDDIGI_H