CbmRoot
|
Triplet class represents a short 3-hits track segment called a "triplet". More...
#include <CaTriplet.h>
Public Member Functions | |
Triplet ()=default | |
Default constructor. | |
Triplet (ca::HitIndex_t iHitL, ca::HitIndex_t iHitM, ca::HitIndex_t iHitR, unsigned int iStaL, unsigned int iStaM, unsigned int iStaR, unsigned char Level, unsigned int firstNeighbour, char nNeighbours, fscal Chi2, fscal Qp, fscal Cqp, fscal tx, fscal Ctx, fscal ty, fscal Cty, bool isMomentumFitted) | |
Constructor. | |
void | SetLevel (unsigned char Level) |
Setters and getters. | |
unsigned char | GetLevel () const |
ca::HitIndex_t | GetLHit () const |
ca::HitIndex_t | GetMHit () const |
ca::HitIndex_t | GetRHit () const |
void | SetNNeighbours (int n) |
int | GetNNeighbours () const |
void | SetFNeighbour (unsigned int n) |
unsigned int | GetFNeighbour () const |
fscal | GetQp () const |
fscal | GetChi2 () const |
fscal | GetTime () const |
int | GetLSta () const |
int | GetMSta () const |
int | GetRSta () const |
fscal | GetCqp () const |
fscal | GetTx () const |
fscal | GetCtx () const |
fscal | GetTy () const |
fscal | GetCty () const |
bool | IsMomentumFitted () const |
void | SetIsMomentumFitted (bool val) |
std::string | ToString (int indentLevel=0) const |
Private Attributes | |
fscal | fChi2 {0.} |
chi^2 | |
fscal | fQp {0.} |
q/p | |
fscal | fCqp {0.} |
RMS^2 of q/p. | |
fscal | fTx {0.} |
tx at the left hit | |
fscal | fCtx {0.} |
RMS^2 of tx. | |
fscal | fTy {0.} |
ty at the left hit | |
fscal | fCty {0.} |
RMS^2 of ty. | |
unsigned int | fFirstNeighbour {0} |
ID of the first neighbouring triplet. | |
ca::HitIndex_t | fHitL {0} |
left hit index (16b) in vHits array | |
ca::HitIndex_t | fHitM {0} |
middle hit index (16b) | |
ca::HitIndex_t | fHitR {0} |
right hit index (16b) | |
int | fNneighbours {0} |
n of neighbouring triplets | |
unsigned char | fLevel {0} |
unsigned short | fSta {0} |
packed station numbers: staL (12b), staM-1-staL (2b), staR-2-staL (2b) | |
bool | fIsMomentumFitted {0} |
if the triplet momentum is fitted | |
Triplet class represents a short 3-hits track segment called a "triplet".
Definition at line 22 of file CaTriplet.h.
|
default |
Default constructor.
|
inline |
Constructor.
Definition at line 28 of file CaTriplet.h.
|
inline |
Definition at line 65 of file CaTriplet.h.
References fChi2.
|
inline |
Definition at line 72 of file CaTriplet.h.
References fCqp.
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 74 of file CaTriplet.h.
References fCtx.
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 76 of file CaTriplet.h.
References fCty.
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 62 of file CaTriplet.h.
References fFirstNeighbour.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack().
|
inline |
Definition at line 52 of file CaTriplet.h.
References fLevel.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack(), and cbm::algo::ca::TrackFinderWindow::SearchNeighbors().
|
inline |
Definition at line 54 of file CaTriplet.h.
References fHitL.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack(), and cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 68 of file CaTriplet.h.
References fSta.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack(), cbm::algo::ca::TrackFinderWindow::checkTripletMatch(), GetMSta(), GetRSta(), and ToString().
|
inline |
Definition at line 55 of file CaTriplet.h.
References fHitM.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack(), and cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 69 of file CaTriplet.h.
References fSta, and GetLSta().
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack(), cbm::algo::ca::TrackFinderWindow::checkTripletMatch(), and ToString().
|
inline |
Definition at line 59 of file CaTriplet.h.
References fNneighbours.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack().
|
inline |
Definition at line 64 of file CaTriplet.h.
References fQp.
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 56 of file CaTriplet.h.
References fHitR.
Referenced by cbm::algo::ca::TrackFinderWindow::CAFindTrack(), and cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 70 of file CaTriplet.h.
References fSta, and GetLSta().
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch(), and ToString().
|
inline |
Definition at line 66 of file CaTriplet.h.
|
inline |
Definition at line 73 of file CaTriplet.h.
References fTx.
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 75 of file CaTriplet.h.
References fTy.
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 78 of file CaTriplet.h.
References fIsMomentumFitted.
Referenced by cbm::algo::ca::TrackFinderWindow::checkTripletMatch().
|
inline |
Definition at line 61 of file CaTriplet.h.
References fFirstNeighbour.
|
inline |
Definition at line 79 of file CaTriplet.h.
References fIsMomentumFitted.
|
inline |
|
inline |
Definition at line 58 of file CaTriplet.h.
References fNneighbours.
Referenced by cbm::algo::ca::TrackFinderWindow::SearchNeighbors().
std::string cbm::algo::ca::Triplet::ToString | ( | int | indentLevel = 0 | ) | const |
String representation of class contents
indentLevel | number of indent characters in the output |
print the triplet parameters
Definition at line 10 of file CaTriplet.cxx.
References fChi2, fCqp, fCtx, fCty, fFirstNeighbour, fHitL, fHitM, fHitR, fLevel, fNneighbours, fQp, fTx, fTy, GetLSta(), GetMSta(), and GetRSta().
|
private |
chi^2
Data members
Definition at line 89 of file CaTriplet.h.
Referenced by GetChi2(), and ToString().
|
private |
|
private |
|
private |
|
private |
ID of the first neighbouring triplet.
Definition at line 97 of file CaTriplet.h.
Referenced by GetFNeighbour(), SetFNeighbour(), and ToString().
|
private |
left hit index (16b) in vHits array
Definition at line 98 of file CaTriplet.h.
Referenced by GetLHit(), and ToString().
|
private |
middle hit index (16b)
Definition at line 99 of file CaTriplet.h.
Referenced by GetMHit(), and ToString().
|
private |
right hit index (16b)
Definition at line 100 of file CaTriplet.h.
Referenced by GetRHit(), and ToString().
|
private |
if the triplet momentum is fitted
Definition at line 109 of file CaTriplet.h.
Referenced by IsMomentumFitted(), and SetIsMomentumFitted().
|
private |
Triplet level - its possible position on the longest track candidate it belongs to. level 0 = rightmost triplet of a track candidate level k = k-ths triplet along the track counting upstream, from right to left.
Definition at line 106 of file CaTriplet.h.
Referenced by GetLevel(), SetLevel(), and ToString().
|
private |
n of neighbouring triplets
Definition at line 101 of file CaTriplet.h.
Referenced by GetNNeighbours(), SetNNeighbours(), and ToString().
|
private |
|
private |
packed station numbers: staL (12b), staM-1-staL (2b), staR-2-staL (2b)
Definition at line 108 of file CaTriplet.h.
|
private |
tx at the left hit
Definition at line 92 of file CaTriplet.h.
Referenced by GetTx(), and ToString().
|
private |
ty at the left hit
Definition at line 94 of file CaTriplet.h.
Referenced by GetTy(), and ToString().