CbmRoot
compareStripHit.h
Go to the documentation of this file.
1 #ifndef COMPARESTRIPHIT_H
2 #define COMPARESTRIPHIT_H 1
3 
4 #include "CbmMatch.h"
5 #include "CbmStripHit.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 u,
19  Double_t du,
20  Double_t phi,
21  Double_t dphi) {
22 
24  test, type, z, dz, refid, address, match, time, errortime);
25 
26  Float_t retValFloat {-111.};
27 
28  retValFloat = test.GetU();
29  EXPECT_FLOAT_EQ(u, retValFloat);
30 
31  retValFloat = test.GetDu();
32  EXPECT_FLOAT_EQ(du, retValFloat);
33 
34  retValFloat = test.GetPhi();
35  EXPECT_FLOAT_EQ(phi, retValFloat);
36 
37  retValFloat = test.GetDphi();
38  EXPECT_FLOAT_EQ(dphi, retValFloat);
39 }
40 
41 #endif // COMPARESTRIPHIT_H
CbmMatch
Definition: CbmMatch.h:22
CbmStripHit::GetPhi
Double_t GetPhi() const
Definition: CbmStripHit.h:82
CbmStripHit::GetU
Double_t GetU() const
Definition: CbmStripHit.h:81
CbmStripHit
Definition: CbmStripHit.h:22
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
CbmStripHit::GetDu
Double_t GetDu() const
Definition: CbmStripHit.h:83
compareHit.h
CbmMatch.h
HitType
HitType
Definition: CbmHit.h:16
CbmStripHit.h
compareStripHitDataMembers
void compareStripHitDataMembers(CbmStripHit &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 u, Double_t du, Double_t phi, Double_t dphi)
Definition: compareStripHit.h:9
CbmStripHit::GetDphi
Double_t GetDphi() const
Definition: CbmStripHit.h:84