ATLAS Offline Software
Loading...
Searching...
No Matches
TBTrack Class Reference

#include <TBTrack.h>

Collaboration diagram for TBTrack:

Public Types

typedef double signal_type

Public Member Functions

 TBTrack ()
 TBTrack (int hitNumberX, int hitNumberY)
 TBTrack (const std::vector< double > &residualU, const std::vector< double > &residualV)
 TBTrack (const TBTrack &)=default
 TBTrack (TBTrack &&)=default
TBTrackoperator= (const TBTrack &)=default
TBTrackoperator= (TBTrack &&)=default
 ~TBTrack ()
int getHitNumberU () const
int getHitNumberV () const
double getChi2_global () const
double getChi2_u () const
double getChi2_v () const
double getAngle () const
double getUslope () const
double getVslope () const
double getUintercept () const
double getVintercept () const
double getResidualu (int ind) const
double getResidualv (int ind) const
const std::vector< double > & getResidualu () const
const std::vector< double > & getResidualv () const
double getCryoHitu () const
double getCryoHitv () const
double getCryoHitw () const
void setChi2 (double chi2)
void setChi2_u (double chi2u)
void setChi2_v (double chi2v)
void setAngle (double angle)
void setUslope (double uslope)
void setVslope (double vslope)
void setUintercept (double uintercept)
void setVintercept (double vintercept)
void setResidualu (int ind, double residualu)
void setResidualv (int ind, double residualv)
void setCryoHitu (float cryou)
void setCryoHitv (float cryov)
void setCryoHitw (float cryow)

Private Attributes

int m_hitNumberU
int m_hitNumberV
std::vector< double > m_residualu
std::vector< double > m_residualv
double m_chi2 = 0
double m_chi2u = 0
double m_chi2v = 0
double m_angle = 0
double m_uslope = 0
double m_vslope = 0
double m_uintercept = 0
double m_vintercept = 0
double m_cryou = 0
double m_cryov = 0
double m_cryow = 0

Detailed Description

Definition at line 19 of file TBTrack.h.

Member Typedef Documentation

◆ signal_type

typedef double TBTrack::signal_type

Definition at line 23 of file TBTrack.h.

Constructor & Destructor Documentation

◆ TBTrack() [1/5]

TBTrack::TBTrack ( )
inline

Definition at line 29 of file TBTrack.h.

30 {};
int m_hitNumberU
Definition TBTrack.h:100
int m_hitNumberV
Definition TBTrack.h:100

◆ TBTrack() [2/5]

TBTrack::TBTrack ( int hitNumberX,
int hitNumberY )

Definition at line 7 of file TBTrack.cxx.

7 {
8 m_hitNumberU = hitNumberU;
9 m_hitNumberV = hitNumberV;
12}
std::vector< double > m_residualu
Definition TBTrack.h:103
std::vector< double > m_residualv
Definition TBTrack.h:103

◆ TBTrack() [3/5]

TBTrack::TBTrack ( const std::vector< double > & residualU,
const std::vector< double > & residualV )

Definition at line 14 of file TBTrack.cxx.

16 : m_hitNumberU (residualU.size()),
17 m_hitNumberV (residualV.size()),
18 m_residualu (residualU),
19 m_residualv (residualV)
20{
21}

◆ TBTrack() [4/5]

TBTrack::TBTrack ( const TBTrack & )
default

◆ TBTrack() [5/5]

TBTrack::TBTrack ( TBTrack && )
default

◆ ~TBTrack()

TBTrack::~TBTrack ( )

Definition at line 23 of file TBTrack.cxx.

23{}

Member Function Documentation

◆ getAngle()

double TBTrack::getAngle ( ) const
inline

Definition at line 56 of file TBTrack.h.

56{ return m_angle; }
double m_angle
Definition TBTrack.h:108

◆ getChi2_global()

double TBTrack::getChi2_global ( ) const
inline

Definition at line 53 of file TBTrack.h.

53{ return m_chi2; }
double m_chi2
Definition TBTrack.h:107

◆ getChi2_u()

double TBTrack::getChi2_u ( ) const
inline

Definition at line 54 of file TBTrack.h.

54{ return m_chi2u; }
double m_chi2u
Definition TBTrack.h:107

◆ getChi2_v()

double TBTrack::getChi2_v ( ) const
inline

Definition at line 55 of file TBTrack.h.

55{ return m_chi2v; }
double m_chi2v
Definition TBTrack.h:107

◆ getCryoHitu()

double TBTrack::getCryoHitu ( ) const
inline

Definition at line 71 of file TBTrack.h.

71{return m_cryou;}
double m_cryou
Definition TBTrack.h:113

◆ getCryoHitv()

double TBTrack::getCryoHitv ( ) const
inline

Definition at line 72 of file TBTrack.h.

72{return m_cryov;}
double m_cryov
Definition TBTrack.h:113

◆ getCryoHitw()

double TBTrack::getCryoHitw ( ) const
inline

Definition at line 73 of file TBTrack.h.

73{return m_cryow;}
double m_cryow
Definition TBTrack.h:113

◆ getHitNumberU()

int TBTrack::getHitNumberU ( ) const
inline

Definition at line 50 of file TBTrack.h.

50{ return m_hitNumberU; }

◆ getHitNumberV()

int TBTrack::getHitNumberV ( ) const
inline

Definition at line 51 of file TBTrack.h.

51{ return m_hitNumberV; }

◆ getResidualu() [1/2]

const std::vector< double > & TBTrack::getResidualu ( ) const
inline

Definition at line 68 of file TBTrack.h.

68{ return m_residualu; }

◆ getResidualu() [2/2]

double TBTrack::getResidualu ( int ind) const
inline

Definition at line 62 of file TBTrack.h.

63 { return ind<m_hitNumberU ? m_residualu[ind]: 0; }

◆ getResidualv() [1/2]

const std::vector< double > & TBTrack::getResidualv ( ) const
inline

Definition at line 69 of file TBTrack.h.

69{ return m_residualv; }

◆ getResidualv() [2/2]

double TBTrack::getResidualv ( int ind) const
inline

Definition at line 65 of file TBTrack.h.

66 { return ind<m_hitNumberV ? m_residualv[ind]: 0; }

◆ getUintercept()

double TBTrack::getUintercept ( ) const
inline

Definition at line 59 of file TBTrack.h.

59{ return m_uintercept; }
double m_uintercept
Definition TBTrack.h:110

◆ getUslope()

double TBTrack::getUslope ( ) const
inline

Definition at line 57 of file TBTrack.h.

57{ return m_uslope; }
double m_uslope
Definition TBTrack.h:109

◆ getVintercept()

double TBTrack::getVintercept ( ) const
inline

Definition at line 60 of file TBTrack.h.

60{ return m_vintercept; }
double m_vintercept
Definition TBTrack.h:110

◆ getVslope()

double TBTrack::getVslope ( ) const
inline

Definition at line 58 of file TBTrack.h.

58{ return m_vslope; }
double m_vslope
Definition TBTrack.h:109

◆ operator=() [1/2]

TBTrack & TBTrack::operator= ( const TBTrack & )
default

◆ operator=() [2/2]

TBTrack & TBTrack::operator= ( TBTrack && )
default

◆ setAngle()

void TBTrack::setAngle ( double angle)
inline

Definition at line 80 of file TBTrack.h.

80{ m_angle=angle; }
double angle(const GeoTrf::Vector2D &a, const GeoTrf::Vector2D &b)

◆ setChi2()

void TBTrack::setChi2 ( double chi2)
inline

Definition at line 77 of file TBTrack.h.

77{ m_chi2=chi2; }
double chi2(TH1 *h0, TH1 *h1)

◆ setChi2_u()

void TBTrack::setChi2_u ( double chi2u)
inline

Definition at line 78 of file TBTrack.h.

78{ m_chi2u = chi2u; }

◆ setChi2_v()

void TBTrack::setChi2_v ( double chi2v)
inline

Definition at line 79 of file TBTrack.h.

79{ m_chi2v = chi2v; }

◆ setCryoHitu()

void TBTrack::setCryoHitu ( float cryou)
inline

Definition at line 89 of file TBTrack.h.

89{ m_cryou=cryou;}

◆ setCryoHitv()

void TBTrack::setCryoHitv ( float cryov)
inline

Definition at line 90 of file TBTrack.h.

90{ m_cryov=cryov;}

◆ setCryoHitw()

void TBTrack::setCryoHitw ( float cryow)
inline

Definition at line 91 of file TBTrack.h.

91{ m_cryow=cryow;}

◆ setResidualu()

void TBTrack::setResidualu ( int ind,
double residualu )
inline

Definition at line 86 of file TBTrack.h.

86{ m_residualu[ind] = residualu;}

◆ setResidualv()

void TBTrack::setResidualv ( int ind,
double residualv )
inline

Definition at line 87 of file TBTrack.h.

87{ m_residualv[ind] = residualv;}

◆ setUintercept()

void TBTrack::setUintercept ( double uintercept)
inline

Definition at line 83 of file TBTrack.h.

83{ m_uintercept = uintercept; }

◆ setUslope()

void TBTrack::setUslope ( double uslope)
inline

Definition at line 81 of file TBTrack.h.

81{ m_uslope=uslope; }

◆ setVintercept()

void TBTrack::setVintercept ( double vintercept)
inline

Definition at line 84 of file TBTrack.h.

84{ m_vintercept = vintercept; }

◆ setVslope()

void TBTrack::setVslope ( double vslope)
inline

Definition at line 82 of file TBTrack.h.

82{ m_vslope=vslope; }

Member Data Documentation

◆ m_angle

double TBTrack::m_angle = 0
private

Definition at line 108 of file TBTrack.h.

◆ m_chi2

double TBTrack::m_chi2 = 0
private

Definition at line 107 of file TBTrack.h.

◆ m_chi2u

double TBTrack::m_chi2u = 0
private

Definition at line 107 of file TBTrack.h.

◆ m_chi2v

double TBTrack::m_chi2v = 0
private

Definition at line 107 of file TBTrack.h.

◆ m_cryou

double TBTrack::m_cryou = 0
private

Definition at line 113 of file TBTrack.h.

◆ m_cryov

double TBTrack::m_cryov = 0
private

Definition at line 113 of file TBTrack.h.

◆ m_cryow

double TBTrack::m_cryow = 0
private

Definition at line 113 of file TBTrack.h.

◆ m_hitNumberU

int TBTrack::m_hitNumberU
private

Definition at line 100 of file TBTrack.h.

◆ m_hitNumberV

int TBTrack::m_hitNumberV
private

Definition at line 100 of file TBTrack.h.

◆ m_residualu

std::vector<double> TBTrack::m_residualu
private

Definition at line 103 of file TBTrack.h.

◆ m_residualv

std::vector<double> TBTrack::m_residualv
private

Definition at line 103 of file TBTrack.h.

◆ m_uintercept

double TBTrack::m_uintercept = 0
private

Definition at line 110 of file TBTrack.h.

◆ m_uslope

double TBTrack::m_uslope = 0
private

Definition at line 109 of file TBTrack.h.

◆ m_vintercept

double TBTrack::m_vintercept = 0
private

Definition at line 110 of file TBTrack.h.

◆ m_vslope

double TBTrack::m_vslope = 0
private

Definition at line 109 of file TBTrack.h.


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