BmnRoot 26.10.0-210-gc52d34b0
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
BmnATestHit Class Reference

#include <BmnATestHit.h>

Inheritance diagram for BmnATestHit:
Collaboration diagram for BmnATestHit:

Public Member Functions

 BmnATestHit (const CbmStsHit *pHit, const BmnDetectorModel &detModel)
 BmnATestHit (Double_t x, Double_t y, Double_t z, Double_t dx, Double_t dy, const BmnATestDetectorPlane *pDetector)
void Draw () const
const BmnATestDetectorPlane * GetDetector () const noexcept
Public Member Functions inherited from BmnHitRecord
 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

Private Attributes

const BmnATestDetectorPlane * fpDetector {nullptr}

Additional Inherited Members

Static Public Member Functions inherited from BmnHitRecord
static constexpr Double_t Weight (Double_t error) noexcept
Static Public Attributes inherited from BmnHitRecord
static constexpr Double_t MIN_HIT_ERROR {1.0E-6}
static constexpr Double_t MAX_WEIGHT {1.0 / (MIN_HIT_ERROR * MIN_HIT_ERROR)}

Detailed Description

Definition at line 25 of file BmnATestHit.h.

Constructor & Destructor Documentation

◆ BmnATestHit() [1/2]

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

Definition at line 28 of file BmnATestHit.h.

References BmnHitRecord::BmnHitRecord().

Here is the call graph for this function:

◆ BmnATestHit() [2/2]

BmnATestHit::BmnATestHit ( Double_t x,
Double_t y,
Double_t z,
Double_t dx,
Double_t dy,
const BmnATestDetectorPlane * pDetector )
inline

Definition at line 30 of file BmnATestHit.h.

References BmnHitRecord::BmnHitRecord(), fpDetector, BmnHitRecord::GetDetectorID(), x, y, and z.

Here is the call graph for this function:

Member Function Documentation

◆ Draw()

void BmnATestHit::Draw ( ) const
inline

Definition at line 41 of file BmnATestHit.h.

References BMN_TEST_HIT_COLOR, fpDetector, BmnHitRecord::GetX(), BmnHitRecord::GetY(), and BmnHitRecord::GetZ().

Here is the call graph for this function:

◆ GetDetector()

const BmnATestDetectorPlane * BmnATestHit::GetDetector ( ) const
inlinenoexcept

Definition at line 34 of file BmnATestHit.h.

References fpDetector.

Member Data Documentation

◆ fpDetector

const BmnATestDetectorPlane* BmnATestHit::fpDetector {nullptr}
private

Definition at line 37 of file BmnATestHit.h.

Referenced by BmnATestHit(), Draw(), and GetDetector().


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