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

#include <TGCDQAUtils.h>

Collaboration diagram for LinearTrack:

Public Member Functions

 LinearTrack ()
 ~LinearTrack ()
 LinearTrack (double a, double b, double chi2, int ndf, int nLayer, int nStation)
double a ()
double b ()
double chi2 ()
int ndf ()
int nLayer ()
int nStation ()
double chi2OverNdf ()
double y (double x)
double x (double y)
void a (double a)
void b (double b)
void chi2 (double chi2)
void ndf (int ndf)
void nLayer (int nLayer)
void nStation (int nStation)

Private Attributes

double m_a
double m_b
double m_chi2
int m_ndf
int m_nLayer
int m_nStation

Detailed Description

Definition at line 18 of file TGCDQAUtils.h.

Constructor & Destructor Documentation

◆ LinearTrack() [1/2]

LinearTrack::LinearTrack ( )
inline

Definition at line 30 of file TGCDQAUtils.h.

30 {
31 m_a=m_b=m_chi2=0.;
33 }
double m_chi2
Definition TGCDQAUtils.h:24

◆ ~LinearTrack()

LinearTrack::~LinearTrack ( )
inline

Definition at line 34 of file TGCDQAUtils.h.

34{;}

◆ LinearTrack() [2/2]

LinearTrack::LinearTrack ( double a,
double b,
double chi2,
int ndf,
int nLayer,
int nStation )
inline

Definition at line 35 of file TGCDQAUtils.h.

41 :m_a(a),
42 m_b(b),
43 m_chi2(chi2),
44 m_ndf(ndf),
47 {
48 }
int nStation()
Definition TGCDQAUtils.h:55
double chi2()
Definition TGCDQAUtils.h:52
double b()
Definition TGCDQAUtils.h:51
double a()
Definition TGCDQAUtils.h:50

Member Function Documentation

◆ a() [1/2]

double LinearTrack::a ( )
inline

Definition at line 50 of file TGCDQAUtils.h.

50{return m_a;}

◆ a() [2/2]

void LinearTrack::a ( double a)
inline

Definition at line 61 of file TGCDQAUtils.h.

61{m_a=a;}

◆ b() [1/2]

double LinearTrack::b ( )
inline

Definition at line 51 of file TGCDQAUtils.h.

51{return m_b;}

◆ b() [2/2]

void LinearTrack::b ( double b)
inline

Definition at line 62 of file TGCDQAUtils.h.

62{m_b=b;}

◆ chi2() [1/2]

double LinearTrack::chi2 ( )
inline

Definition at line 52 of file TGCDQAUtils.h.

52{return m_chi2;}

◆ chi2() [2/2]

void LinearTrack::chi2 ( double chi2)
inline

Definition at line 63 of file TGCDQAUtils.h.

63{m_chi2=chi2;}

◆ chi2OverNdf()

double LinearTrack::chi2OverNdf ( )
inline

Definition at line 57 of file TGCDQAUtils.h.

57{return m_chi2/m_ndf;}

◆ ndf() [1/2]

int LinearTrack::ndf ( )
inline

Definition at line 53 of file TGCDQAUtils.h.

53{return m_ndf;}

◆ ndf() [2/2]

void LinearTrack::ndf ( int ndf)
inline

Definition at line 64 of file TGCDQAUtils.h.

64{m_ndf=ndf;}

◆ nLayer() [1/2]

int LinearTrack::nLayer ( )
inline

Definition at line 54 of file TGCDQAUtils.h.

54{return m_nLayer;}

◆ nLayer() [2/2]

void LinearTrack::nLayer ( int nLayer)
inline

Definition at line 65 of file TGCDQAUtils.h.

◆ nStation() [1/2]

int LinearTrack::nStation ( )
inline

Definition at line 55 of file TGCDQAUtils.h.

55{return m_nStation;}

◆ nStation() [2/2]

void LinearTrack::nStation ( int nStation)
inline

Definition at line 66 of file TGCDQAUtils.h.

◆ x()

double LinearTrack::x ( double y)
inline

Definition at line 59 of file TGCDQAUtils.h.

59{return (y-m_b)/m_a;}
double y(double x)
Definition TGCDQAUtils.h:58

◆ y()

double LinearTrack::y ( double x)
inline

Definition at line 58 of file TGCDQAUtils.h.

58{return m_a*x+m_b;}
double x(double y)
Definition TGCDQAUtils.h:59

Member Data Documentation

◆ m_a

double LinearTrack::m_a
private

Definition at line 22 of file TGCDQAUtils.h.

◆ m_b

double LinearTrack::m_b
private

Definition at line 23 of file TGCDQAUtils.h.

◆ m_chi2

double LinearTrack::m_chi2
private

Definition at line 24 of file TGCDQAUtils.h.

◆ m_ndf

int LinearTrack::m_ndf
private

Definition at line 25 of file TGCDQAUtils.h.

◆ m_nLayer

int LinearTrack::m_nLayer
private

Definition at line 26 of file TGCDQAUtils.h.

◆ m_nStation

int LinearTrack::m_nStation
private

Definition at line 27 of file TGCDQAUtils.h.


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