ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
TrigL2MuonSA::TgcFit::Point Struct Reference

#include <TgcFit.h>

Collaboration diagram for TrigL2MuonSA::TgcFit::Point:

Public Member Functions

 Point ()
 
 Point (int nIdx, int nStation, double fX, double fY, double fW=1.0)
 
void operator+= (double fD)
 
void operator+= (const Point &p)
 
void operator/= (double fD)
 

Public Attributes

int nIdx
 Index of point in original list of digits. More...
 
int nStation
 Index of station: 0-3 for TGC. More...
 
double fX
 X coordinate. More...
 
double fY
 Y coordinate. More...
 
bool bOutlier
 Indicates an outlier (excluded from all calculations). More...
 
double fW
 Weight. More...
 
double fChi2
 Chi2 contribution. More...
 

Detailed Description

Definition at line 34 of file TgcFit.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

TrigL2MuonSA::TgcFit::Point::Point ( )
inline

Definition at line 47 of file TgcFit.h.

47  : nIdx(0), nStation(0), fX(0.0), fY(0.0), bOutlier(false), fW(0.0), fChi2(0.0)
48  {}

◆ Point() [2/2]

TrigL2MuonSA::TgcFit::Point::Point ( int  nIdx,
int  nStation,
double  fX,
double  fY,
double  fW = 1.0 
)
inline

Definition at line 52 of file TgcFit.h.

52  :
53  nIdx(nIdx), nStation(nStation), fX(fX), fY(fY), bOutlier(false), fW(fW), fChi2(0.0)
54  {}

Member Function Documentation

◆ operator+=() [1/2]

void TrigL2MuonSA::TgcFit::Point::operator+= ( const Point p)
inline

Definition at line 66 of file TgcFit.h.

67  {
68  fX += p.fX;
69  fY += p.fY;
70  }

◆ operator+=() [2/2]

void TrigL2MuonSA::TgcFit::Point::operator+= ( double  fD)
inline

Definition at line 58 of file TgcFit.h.

59  {
60  fX += fD;
61  fY += fD;
62  }

◆ operator/=()

void TrigL2MuonSA::TgcFit::Point::operator/= ( double  fD)
inline

Definition at line 74 of file TgcFit.h.

75  {
76  if (fD != 0.0)
77  {
78  fX /= fD;
79  fY /= fD;
80  }
81  }

Member Data Documentation

◆ bOutlier

bool TrigL2MuonSA::TgcFit::Point::bOutlier

Indicates an outlier (excluded from all calculations).

Definition at line 40 of file TgcFit.h.

◆ fChi2

double TrigL2MuonSA::TgcFit::Point::fChi2

Chi2 contribution.

Definition at line 42 of file TgcFit.h.

◆ fW

double TrigL2MuonSA::TgcFit::Point::fW

Weight.

Definition at line 41 of file TgcFit.h.

◆ fX

double TrigL2MuonSA::TgcFit::Point::fX

X coordinate.

Definition at line 38 of file TgcFit.h.

◆ fY

double TrigL2MuonSA::TgcFit::Point::fY

Y coordinate.

Definition at line 39 of file TgcFit.h.

◆ nIdx

int TrigL2MuonSA::TgcFit::Point::nIdx

Index of point in original list of digits.

Definition at line 36 of file TgcFit.h.

◆ nStation

int TrigL2MuonSA::TgcFit::Point::nStation

Index of station: 0-3 for TGC.

Definition at line 37 of file TgcFit.h.


The documentation for this struct was generated from the following file:
TrigL2MuonSA::TgcFit::Point::bOutlier
bool bOutlier
Indicates an outlier (excluded from all calculations).
Definition: TgcFit.h:40
python.utils.AtlRunQueryDQUtils.p
p
Definition: AtlRunQueryDQUtils.py:210
TrigL2MuonSA::TgcFit::Point::fChi2
double fChi2
Chi2 contribution.
Definition: TgcFit.h:42
TrigL2MuonSA::TgcFit::Point::fW
double fW
Weight.
Definition: TgcFit.h:41
TrigL2MuonSA::TgcFit::Point::nIdx
int nIdx
Index of point in original list of digits.
Definition: TgcFit.h:36
TrigL2MuonSA::TgcFit::Point::fX
double fX
X coordinate.
Definition: TgcFit.h:38
TrigL2MuonSA::TgcFit::Point::nStation
int nStation
Index of station: 0-3 for TGC.
Definition: TgcFit.h:37
TrigL2MuonSA::TgcFit::Point::fY
double fY
Y coordinate.
Definition: TgcFit.h:39