CbmRoot
comparePixelHit.h
Go to the documentation of this file.
1 #ifndef COMPAREPIXELHIT_H
2 #define COMPAREPIXELHIT_H 1
3 
4 #include "CbmMatch.h"
5 #include "CbmPixelHit.h"
6 
7 #include "compareHit.h"
8 
10  HitType type,
11  Double_t z,
12  Double_t dz,
13  Int_t refid,
14  Int_t address,
15  CbmMatch* match,
16  Double_t time,
17  Double_t errortime,
18  Double_t x,
19  Double_t dx,
20  Double_t y,
21  Double_t dy,
22  Double_t dxy) {
23 
25  test, type, z, dz, refid, address, match, time, errortime);
26 
27  Float_t retValFloat {-111.};
28 
29  retValFloat = test.GetX();
30  EXPECT_FLOAT_EQ(x, retValFloat);
31 
32  retValFloat = test.GetDx();
33  EXPECT_FLOAT_EQ(dx, retValFloat);
34 
35  retValFloat = test.GetY();
36  EXPECT_FLOAT_EQ(y, retValFloat);
37 
38  retValFloat = test.GetDy();
39  EXPECT_FLOAT_EQ(dy, retValFloat);
40 
41  retValFloat = test.GetDxy();
42  EXPECT_FLOAT_EQ(dxy, retValFloat);
43 }
44 
45 
46 #endif // COMPAREPIXELHIT_H
CbmMatch
Definition: CbmMatch.h:22
CbmPixelHit::GetDxy
Double_t GetDxy() const
Definition: CbmPixelHit.h:87
CbmPixelHit::GetX
Double_t GetX() const
Definition: CbmPixelHit.h:83
CbmPixelHit::GetY
Double_t GetY() const
Definition: CbmPixelHit.h:84
CbmPixelHit::GetDx
Double_t GetDx() const
Definition: CbmPixelHit.h:85
compareHitDataMembers
void compareHitDataMembers(CbmHit &test, HitType type, Double_t z, Double_t dz, Int_t refid, Int_t address, CbmMatch *match, Double_t time, Double_t errortime)
Definition: compareHit.h:9
compareHit.h
CbmMatch.h
CbmPixelHit::GetDy
Double_t GetDy() const
Definition: CbmPixelHit.h:86
comparePixelHitDataMembers
void comparePixelHitDataMembers(CbmPixelHit &test, HitType type, Double_t z, Double_t dz, Int_t refid, Int_t address, CbmMatch *match, Double_t time, Double_t errortime, Double_t x, Double_t dx, Double_t y, Double_t dy, Double_t dxy)
Definition: comparePixelHit.h:9
HitType
HitType
Definition: CbmHit.h:16
CbmPixelHit.h
x
Double_t x
Definition: CbmMvdSensorDigiToHitTask.cxx:68
y
Double_t y
Definition: CbmMvdSensorDigiToHitTask.cxx:68
CbmPixelHit
Definition: CbmPixelHit.h:21