19#define BMN_TEST_HIT_COLOR kRed
24 Double_t fX, fY, fZ, fWx, fWy;
33 , fWx((pHit->GetDx() <
BMN_CLOSE_TO_ZERO) ? MAX_WEIGHT : 1.0 / (pHit->GetDx() * pHit->GetDx()))
34 , fWy((pHit->GetDy() <
BMN_CLOSE_TO_ZERO) ? MAX_WEIGHT : 1.0 / (pHit->GetDy() * pHit->GetDy()))
36 BmnHitRecord(Double_t x, Double_t y, Double_t z, Double_t dx, Double_t dy, Int_t detectorId)
42 , fDetectorID(detectorId) {};
43 Double_t
GetX() const noexcept {
return fX; }
44 Double_t
GetY() const noexcept {
return fY; }
45 Double_t
GetZ() const noexcept {
return fZ; }
46 Double_t
GetWx() const noexcept {
return fWx; }
47 Double_t
GetWy() const noexcept {
return fWy; }
#define BMN_CLOSE_TO_ZERO
Double_t GetWy() const noexcept
Double_t GetY() const noexcept
Double_t GetX() const noexcept
BmnHitRecord(const CbmStsHit *pHit, const BmnDetectorModel &detModel)
Int_t GetDetectorID() const noexcept
BmnHitRecord(Double_t x, Double_t y, Double_t z, Double_t dx, Double_t dy, Int_t detectorId)
Double_t GetWx() const noexcept
Double_t GetZ() const noexcept