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

#include <BmnATestTrack.h>

Collaboration diagram for BmnATestTrack:

Public Member Functions

 BmnATestTrack ()=delete
 BmnATestTrack (SVectLC Alpha, Int_t nHits)
 BmnATestTrack (Double_t Alpha1Sigma, Double_t Alpha2Min, Double_t Alpha2Max, Int_t nHits)
 ~BmnATestTrack ()
const SVectLC & GetAlpha () const noexcept
const SVect3 & GetVertex () const noexcept
const SVect3 & GetDirection () const noexcept
void AddHit (BmnATestHit &hit)
void AddMSE (BmnAlignerClass *pAligner, Bool_t withResiduals=kFALSE) const
Double_t X (Double_t z) const noexcept
Double_t Y (Double_t z) const noexcept
void Draw (Bool_t solid=kTRUE, Double_t maxZ=BMN_TEST_TRACK_DEF_MAX_Z) const

Protected Types

typedef BmnAligner< BmnATestHit > BmnAlignerClass

Private Attributes

SVectLC fAlpha
SVect3 fVertex
SVect3 fDirection
Int_t fMaxHits
Int_t fHitsCnt {0}
BmnATestHit ** fpHits

Detailed Description

Definition at line 34 of file BmnATestTrack.h.

Member Typedef Documentation

◆ BmnAlignerClass

Definition at line 47 of file BmnATestTrack.h.

Constructor & Destructor Documentation

◆ BmnATestTrack() [1/3]

BmnATestTrack::BmnATestTrack ( )
delete

◆ BmnATestTrack() [2/3]

BmnATestTrack::BmnATestTrack ( SVectLC Alpha,
Int_t nHits )
inline

Definition at line 69 of file BmnATestTrack.h.

References fAlpha, fDirection, fMaxHits, fpHits, fVertex, i, iX0, iX1, iY0, and iY1.

◆ BmnATestTrack() [3/3]

BmnATestTrack::BmnATestTrack ( Double_t Alpha1Sigma,
Double_t Alpha2Min,
Double_t Alpha2Max,
Int_t nHits )
inline

Definition at line 81 of file BmnATestTrack.h.

References fAlpha, fDirection, fMaxHits, fpHits, fVertex, i, iX0, iX1, iY0, and iY1.

◆ ~BmnATestTrack()

BmnATestTrack::~BmnATestTrack ( )
inline

Definition at line 53 of file BmnATestTrack.h.

References fpHits.

Member Function Documentation

◆ AddHit()

void BmnATestTrack::AddHit ( BmnATestHit & hit)
inline

Definition at line 96 of file BmnATestTrack.h.

References fHitsCnt, fMaxHits, and fpHits.

Referenced by BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

◆ AddMSE()

void BmnATestTrack::AddMSE ( BmnAlignerClass * pAligner,
Bool_t withResiduals = kFALSE ) const
inline

Definition at line 103 of file BmnATestTrack.h.

References BmnAlignResult::A(), BmnAlignResult::AddValueMSE(), delta, fHitsCnt, TH1::Fill(), fpHits, i, iX, iY, iZ, BmnAlignResult::ResidualsX(), BmnAlignResult::ResidualsY(), X(), Y(), and z.

Here is the call graph for this function:

◆ Draw()

void BmnATestTrack::Draw ( Bool_t solid = kTRUE,
Double_t maxZ = BMN_TEST_TRACK_DEF_MAX_Z ) const
inline

Definition at line 130 of file BmnATestTrack.h.

References BMN_TEST_TRACK_NONSOLID_COLOR, BMN_TEST_TRACK_SOLID_COLOR, fHitsCnt, fpHits, i, X(), x, Y(), y, and z.

Referenced by BmnAlignerTest::Draw().

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

◆ GetAlpha()

const SVectLC & BmnATestTrack::GetAlpha ( ) const
inlinenoexcept

Definition at line 55 of file BmnATestTrack.h.

References fAlpha.

◆ GetDirection()

const SVect3 & BmnATestTrack::GetDirection ( ) const
inlinenoexcept

Definition at line 57 of file BmnATestTrack.h.

References fDirection.

Referenced by BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

◆ GetVertex()

const SVect3 & BmnATestTrack::GetVertex ( ) const
inlinenoexcept

Definition at line 56 of file BmnATestTrack.h.

References fVertex.

Referenced by BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

◆ X()

Double_t BmnATestTrack::X ( Double_t z) const
inlinenoexcept

Definition at line 62 of file BmnATestTrack.h.

References fAlpha, iX0, iX1, and z.

Referenced by AddMSE(), Draw(), and BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

◆ Y()

Double_t BmnATestTrack::Y ( Double_t z) const
inlinenoexcept

Definition at line 63 of file BmnATestTrack.h.

References fAlpha, iY0, iY1, and z.

Referenced by AddMSE(), Draw(), and BmnAlignerTest::PrepareData().

Here is the caller graph for this function:

Member Data Documentation

◆ fAlpha

SVectLC BmnATestTrack::fAlpha
private

Definition at line 41 of file BmnATestTrack.h.

Referenced by BmnATestTrack(), BmnATestTrack(), GetAlpha(), X(), and Y().

◆ fDirection

SVect3 BmnATestTrack::fDirection
private

Definition at line 42 of file BmnATestTrack.h.

Referenced by BmnATestTrack(), BmnATestTrack(), and GetDirection().

◆ fHitsCnt

Int_t BmnATestTrack::fHitsCnt {0}
private

Definition at line 43 of file BmnATestTrack.h.

Referenced by AddHit(), AddMSE(), and Draw().

◆ fMaxHits

Int_t BmnATestTrack::fMaxHits
private

Definition at line 43 of file BmnATestTrack.h.

Referenced by BmnATestTrack(), BmnATestTrack(), and AddHit().

◆ fpHits

BmnATestHit** BmnATestTrack::fpHits
private

Definition at line 44 of file BmnATestTrack.h.

Referenced by BmnATestTrack(), BmnATestTrack(), ~BmnATestTrack(), AddHit(), AddMSE(), and Draw().

◆ fVertex

SVect3 BmnATestTrack::fVertex
private

Definition at line 42 of file BmnATestTrack.h.

Referenced by BmnATestTrack(), BmnATestTrack(), and GetVertex().


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