BmnRoot 26.10.0-233-gb9bbe585
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnHitRecord Class Reference

#include <BmnHitRecord.h>

Inheritance diagram for BmnHitRecord:

Public Member Functions

 BmnHitRecord (const CbmStsHit *pHit, const BmnDetectorModel &detModel)
 BmnHitRecord (Double_t x, Double_t y, Double_t z, Double_t dx, Double_t dy, Int_t detectorId)
Double_t GetX () const noexcept
Double_t GetY () const noexcept
Double_t GetZ () const noexcept
Double_t GetWx () const noexcept
Double_t GetWy () const noexcept
Int_t GetDetectorID () const noexcept
Bool_t IsEnabled () const noexcept
void SetEnabled (Bool_t enabled) noexcept

Static Public Member Functions

static constexpr Double_t Weight (Double_t error) noexcept

Static Public Attributes

static constexpr Double_t MIN_HIT_ERROR {1.0E-6}
static constexpr Double_t MAX_WEIGHT {1.0 / (MIN_HIT_ERROR * MIN_HIT_ERROR)}

Private Attributes

Double_t fX
Double_t fY
Double_t fZ
Double_t fWx
Double_t fWy
Int_t fDetectorID
Bool_t fEnabled {kTRUE}

Detailed Description

Definition at line 20 of file BmnHitRecord.h.

Constructor & Destructor Documentation

◆ BmnHitRecord() [1/2]

BmnHitRecord::BmnHitRecord ( const CbmStsHit * pHit,
const BmnDetectorModel & detModel )
inline

Definition at line 34 of file BmnHitRecord.h.

References fDetectorID, fWx, fWy, fX, fY, fZ, GetDetectorID(), GetX(), GetY(), GetZ(), and Weight().

Referenced by BmnATestHit::BmnATestHit(), and BmnATestHit::BmnATestHit().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ BmnHitRecord() [2/2]

BmnHitRecord::BmnHitRecord ( Double_t x,
Double_t y,
Double_t z,
Double_t dx,
Double_t dy,
Int_t detectorId )
inline

Definition at line 41 of file BmnHitRecord.h.

References fDetectorID, fWx, fWy, fX, fY, fZ, Weight(), x, y, and z.

Here is the call graph for this function:

Member Function Documentation

◆ GetDetectorID()

Int_t BmnHitRecord::GetDetectorID ( ) const
inlinenoexcept

Definition at line 54 of file BmnHitRecord.h.

References fDetectorID.

Referenced by BmnATestHit::BmnATestHit(), and BmnHitRecord().

Here is the caller graph for this function:

◆ GetWx()

Double_t BmnHitRecord::GetWx ( ) const
inlinenoexcept

Definition at line 52 of file BmnHitRecord.h.

References fEnabled, and fWx.

◆ GetWy()

Double_t BmnHitRecord::GetWy ( ) const
inlinenoexcept

Definition at line 53 of file BmnHitRecord.h.

References fEnabled, and fWy.

◆ GetX()

Double_t BmnHitRecord::GetX ( ) const
inlinenoexcept

Definition at line 48 of file BmnHitRecord.h.

References fX.

Referenced by BmnHitRecord(), BmnATestHit::Draw(), and BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

◆ GetY()

Double_t BmnHitRecord::GetY ( ) const
inlinenoexcept

Definition at line 49 of file BmnHitRecord.h.

References fY.

Referenced by BmnHitRecord(), BmnATestHit::Draw(), and BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

◆ GetZ()

Double_t BmnHitRecord::GetZ ( ) const
inlinenoexcept

Definition at line 50 of file BmnHitRecord.h.

References fZ.

Referenced by BmnHitRecord(), BmnATestHit::Draw(), and BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

◆ IsEnabled()

Bool_t BmnHitRecord::IsEnabled ( ) const
inlinenoexcept

Definition at line 55 of file BmnHitRecord.h.

References fEnabled.

Referenced by BmnAligner::ProcessTracks(), and BmnAligner::SelectVertexHits().

Here is the caller graph for this function:

◆ SetEnabled()

void BmnHitRecord::SetEnabled ( Bool_t enabled)
inlinenoexcept

Definition at line 56 of file BmnHitRecord.h.

References fEnabled.

Referenced by BmnAligner::SelectVertexHits().

Here is the caller graph for this function:

◆ Weight()

constexpr Double_t BmnHitRecord::Weight ( Double_t error)
inlinestaticconstexprnoexcept

Definition at line 29 of file BmnHitRecord.h.

References MAX_WEIGHT, and MIN_HIT_ERROR.

Referenced by BmnHitRecord(), BmnHitRecord(), BmnRootIterator::HitWx(), BmnRootIterator::HitWy(), BmnRootIterator::ScanEvent(), and vertex().

Here is the caller graph for this function:

Member Data Documentation

◆ fDetectorID

Int_t BmnHitRecord::fDetectorID
private

Definition at line 24 of file BmnHitRecord.h.

Referenced by BmnHitRecord(), BmnHitRecord(), and GetDetectorID().

◆ fEnabled

Bool_t BmnHitRecord::fEnabled {kTRUE}
private

Definition at line 25 of file BmnHitRecord.h.

Referenced by GetWx(), GetWy(), IsEnabled(), and SetEnabled().

◆ fWx

Double_t BmnHitRecord::fWx
private

Definition at line 23 of file BmnHitRecord.h.

Referenced by BmnHitRecord(), BmnHitRecord(), and GetWx().

◆ fWy

Double_t BmnHitRecord::fWy
private

Definition at line 23 of file BmnHitRecord.h.

Referenced by BmnHitRecord(), BmnHitRecord(), and GetWy().

◆ fX

Double_t BmnHitRecord::fX
private

Definition at line 23 of file BmnHitRecord.h.

Referenced by BmnHitRecord(), BmnHitRecord(), and GetX().

◆ fY

Double_t BmnHitRecord::fY
private

Definition at line 23 of file BmnHitRecord.h.

Referenced by BmnHitRecord(), BmnHitRecord(), and GetY().

◆ fZ

Double_t BmnHitRecord::fZ
private

Definition at line 23 of file BmnHitRecord.h.

Referenced by BmnHitRecord(), BmnHitRecord(), and GetZ().

◆ MAX_WEIGHT

Double_t BmnHitRecord::MAX_WEIGHT {1.0 / (MIN_HIT_ERROR * MIN_HIT_ERROR)}
staticconstexpr

Definition at line 28 of file BmnHitRecord.h.

Referenced by Weight().

◆ MIN_HIT_ERROR

Double_t BmnHitRecord::MIN_HIT_ERROR {1.0E-6}
staticconstexpr

Definition at line 27 of file BmnHitRecord.h.

Referenced by BmnAlignTestTask::Make(), and Weight().


The documentation for this class was generated from the following file: