ATLAS Offline Software
Public Types | Public Member Functions | Private Attributes | List of all members
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 ()
 
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/3]

TBTrack::TBTrack ( )
inline

Definition at line 29 of file TBTrack.h.

29  : m_hitNumberU(0), m_hitNumberV(0)
30  {};

◆ TBTrack() [2/3]

TBTrack::TBTrack ( int  hitNumberX,
int  hitNumberY 
)

Definition at line 7 of file TBTrack.cxx.

7  {
8  m_hitNumberU = hitNumberU;
9  m_hitNumberV = hitNumberV;
10  m_residualu.resize(m_hitNumberU);
11  m_residualv.resize(m_hitNumberV);
12 }

◆ TBTrack() [3/3]

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()

TBTrack::~TBTrack ( )

Definition at line 23 of file TBTrack.cxx.

23 {}

Member Function Documentation

◆ getAngle()

double TBTrack::getAngle ( ) const
inline

Definition at line 51 of file TBTrack.h.

51 { return m_angle; }

◆ getChi2_global()

double TBTrack::getChi2_global ( ) const
inline

Definition at line 48 of file TBTrack.h.

48 { return m_chi2; }

◆ getChi2_u()

double TBTrack::getChi2_u ( ) const
inline

Definition at line 49 of file TBTrack.h.

49 { return m_chi2u; }

◆ getChi2_v()

double TBTrack::getChi2_v ( ) const
inline

Definition at line 50 of file TBTrack.h.

50 { return m_chi2v; }

◆ getCryoHitu()

double TBTrack::getCryoHitu ( ) const
inline

Definition at line 66 of file TBTrack.h.

66 {return m_cryou;}

◆ getCryoHitv()

double TBTrack::getCryoHitv ( ) const
inline

Definition at line 67 of file TBTrack.h.

67 {return m_cryov;}

◆ getCryoHitw()

double TBTrack::getCryoHitw ( ) const
inline

Definition at line 68 of file TBTrack.h.

68 {return m_cryow;}

◆ getHitNumberU()

int TBTrack::getHitNumberU ( ) const
inline

Definition at line 45 of file TBTrack.h.

45 { return m_hitNumberU; }

◆ getHitNumberV()

int TBTrack::getHitNumberV ( ) const
inline

Definition at line 46 of file TBTrack.h.

46 { return m_hitNumberV; }

◆ getResidualu() [1/2]

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

Definition at line 63 of file TBTrack.h.

63 { return m_residualu; }

◆ getResidualu() [2/2]

double TBTrack::getResidualu ( int  ind) const
inline

Definition at line 57 of file TBTrack.h.

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

◆ getResidualv() [1/2]

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

Definition at line 64 of file TBTrack.h.

64 { return m_residualv; }

◆ getResidualv() [2/2]

double TBTrack::getResidualv ( int  ind) const
inline

Definition at line 60 of file TBTrack.h.

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

◆ getUintercept()

double TBTrack::getUintercept ( ) const
inline

Definition at line 54 of file TBTrack.h.

54 { return m_uintercept; }

◆ getUslope()

double TBTrack::getUslope ( ) const
inline

Definition at line 52 of file TBTrack.h.

52 { return m_uslope; }

◆ getVintercept()

double TBTrack::getVintercept ( ) const
inline

Definition at line 55 of file TBTrack.h.

55 { return m_vintercept; }

◆ getVslope()

double TBTrack::getVslope ( ) const
inline

Definition at line 53 of file TBTrack.h.

53 { return m_vslope; }

◆ setAngle()

void TBTrack::setAngle ( double  angle)
inline

Definition at line 75 of file TBTrack.h.

75 { m_angle=angle; }

◆ setChi2()

void TBTrack::setChi2 ( double  chi2)
inline

Definition at line 72 of file TBTrack.h.

72 { m_chi2=chi2; }

◆ setChi2_u()

void TBTrack::setChi2_u ( double  chi2u)
inline

Definition at line 73 of file TBTrack.h.

73 { m_chi2u = chi2u; }

◆ setChi2_v()

void TBTrack::setChi2_v ( double  chi2v)
inline

Definition at line 74 of file TBTrack.h.

74 { m_chi2v = chi2v; }

◆ setCryoHitu()

void TBTrack::setCryoHitu ( float  cryou)
inline

Definition at line 84 of file TBTrack.h.

84 { m_cryou=cryou;}

◆ setCryoHitv()

void TBTrack::setCryoHitv ( float  cryov)
inline

Definition at line 85 of file TBTrack.h.

85 { m_cryov=cryov;}

◆ setCryoHitw()

void TBTrack::setCryoHitw ( float  cryow)
inline

Definition at line 86 of file TBTrack.h.

86 { m_cryow=cryow;}

◆ setResidualu()

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

Definition at line 81 of file TBTrack.h.

81 { m_residualu[ind] = residualu;}

◆ setResidualv()

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

Definition at line 82 of file TBTrack.h.

82 { m_residualv[ind] = residualv;}

◆ setUintercept()

void TBTrack::setUintercept ( double  uintercept)
inline

Definition at line 78 of file TBTrack.h.

78 { m_uintercept = uintercept; }

◆ setUslope()

void TBTrack::setUslope ( double  uslope)
inline

Definition at line 76 of file TBTrack.h.

76 { m_uslope=uslope; }

◆ setVintercept()

void TBTrack::setVintercept ( double  vintercept)
inline

Definition at line 79 of file TBTrack.h.

79 { m_vintercept = vintercept; }

◆ setVslope()

void TBTrack::setVslope ( double  vslope)
inline

Definition at line 77 of file TBTrack.h.

77 { m_vslope=vslope; }

Member Data Documentation

◆ m_angle

double TBTrack::m_angle = 0
private

Definition at line 103 of file TBTrack.h.

◆ m_chi2

double TBTrack::m_chi2 = 0
private

Definition at line 102 of file TBTrack.h.

◆ m_chi2u

double TBTrack::m_chi2u = 0
private

Definition at line 102 of file TBTrack.h.

◆ m_chi2v

double TBTrack::m_chi2v = 0
private

Definition at line 102 of file TBTrack.h.

◆ m_cryou

double TBTrack::m_cryou = 0
private

Definition at line 108 of file TBTrack.h.

◆ m_cryov

double TBTrack::m_cryov = 0
private

Definition at line 108 of file TBTrack.h.

◆ m_cryow

double TBTrack::m_cryow = 0
private

Definition at line 108 of file TBTrack.h.

◆ m_hitNumberU

int TBTrack::m_hitNumberU
private

Definition at line 95 of file TBTrack.h.

◆ m_hitNumberV

int TBTrack::m_hitNumberV
private

Definition at line 95 of file TBTrack.h.

◆ m_residualu

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

Definition at line 98 of file TBTrack.h.

◆ m_residualv

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

Definition at line 98 of file TBTrack.h.

◆ m_uintercept

double TBTrack::m_uintercept = 0
private

Definition at line 105 of file TBTrack.h.

◆ m_uslope

double TBTrack::m_uslope = 0
private

Definition at line 104 of file TBTrack.h.

◆ m_vintercept

double TBTrack::m_vintercept = 0
private

Definition at line 105 of file TBTrack.h.

◆ m_vslope

double TBTrack::m_vslope = 0
private

Definition at line 104 of file TBTrack.h.


The documentation for this class was generated from the following files:
TBTrack::m_cryov
double m_cryov
Definition: TBTrack.h:108
TBTrack::m_angle
double m_angle
Definition: TBTrack.h:103
TBTrack::m_residualu
std::vector< double > m_residualu
Definition: TBTrack.h:98
TBTrack::m_chi2v
double m_chi2v
Definition: TBTrack.h:102
TBTrack::m_vintercept
double m_vintercept
Definition: TBTrack.h:105
TBTrack::m_chi2u
double m_chi2u
Definition: TBTrack.h:102
TBTrack::m_vslope
double m_vslope
Definition: TBTrack.h:104
angle
double angle(const GeoTrf::Vector2D &a, const GeoTrf::Vector2D &b)
Definition: TRTDetectorFactory_Full.cxx:73
chi2
double chi2(TH1 *h0, TH1 *h1)
Definition: comparitor.cxx:522
TBTrack::m_uslope
double m_uslope
Definition: TBTrack.h:104
TBTrack::m_chi2
double m_chi2
Definition: TBTrack.h:102
TBTrack::m_hitNumberV
int m_hitNumberV
Definition: TBTrack.h:95
TBTrack::m_residualv
std::vector< double > m_residualv
Definition: TBTrack.h:98
TBTrack::m_cryow
double m_cryow
Definition: TBTrack.h:108
TBTrack::m_hitNumberU
int m_hitNumberU
Definition: TBTrack.h:95
checkFileSG.ind
list ind
Definition: checkFileSG.py:118
TBTrack::m_cryou
double m_cryou
Definition: TBTrack.h:108
TBTrack::m_uintercept
double m_uintercept
Definition: TBTrack.h:105