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

A 2D point used in statistics and fit. More...

#include <Fit2D.h>

Collaboration diagram for Muon::Fit2D::Point:

Public Member Functions

 Point ()
 Default constructor. More...
 
 Point (int nIdx, double fX, double fY, double fW=1.0, const void *pData=nullptr)
 Constructor. More...
 

Public Attributes

int nIdx
 Index of the point in the original list. More...
 
double fX
 The X coordinate. More...
 
double fY
 The Y coordinate. More...
 
double fW
 Weight. More...
 
double fChi2
 Contribution to the Chi2. More...
 
bool bExclude
 If set, exclude the point from all calculations. More...
 
const void * pData
 Any external data provided by the caller. More...
 

Detailed Description

A 2D point used in statistics and fit.

Definition at line 34 of file Fit2D.h.

Constructor & Destructor Documentation

◆ Point() [1/2]

Muon::Fit2D::Point::Point ( )
inline

Default constructor.

Definition at line 139 of file Fit2D.h.

139  :
140  nIdx(0), fX(0.0), fY(0.0), fW(1.0), fChi2(0.0), bExclude(false), pData(NULL)
141  {
142  }

◆ Point() [2/2]

Muon::Fit2D::Point::Point ( int  nIdx,
double  fX,
double  fY,
double  fW = 1.0,
const void *  pData = nullptr 
)
inline

Constructor.

Parameters
nIdxThe original index of the point
fXThe X coordinate
fYThe Y coordinate
fWThe weight

Definition at line 144 of file Fit2D.h.

144  :
145  nIdx(nIdx), fX(fX), fY(fY), fW(fW), fChi2(0.0), bExclude(false), pData(pData)
146  {
147  }

Member Data Documentation

◆ bExclude

bool Muon::Fit2D::Point::bExclude

If set, exclude the point from all calculations.

Definition at line 41 of file Fit2D.h.

◆ fChi2

double Muon::Fit2D::Point::fChi2

Contribution to the Chi2.

Definition at line 40 of file Fit2D.h.

◆ fW

double Muon::Fit2D::Point::fW

Weight.

Definition at line 39 of file Fit2D.h.

◆ fX

double Muon::Fit2D::Point::fX

The X coordinate.

Definition at line 37 of file Fit2D.h.

◆ fY

double Muon::Fit2D::Point::fY

The Y coordinate.

Definition at line 38 of file Fit2D.h.

◆ nIdx

int Muon::Fit2D::Point::nIdx

Index of the point in the original list.

Definition at line 36 of file Fit2D.h.

◆ pData

const void* Muon::Fit2D::Point::pData

Any external data provided by the caller.

Definition at line 42 of file Fit2D.h.


The documentation for this struct was generated from the following file:
Muon::Fit2D::Point::fW
double fW
Weight.
Definition: Fit2D.h:39
Muon::Fit2D::Point::nIdx
int nIdx
Index of the point in the original list.
Definition: Fit2D.h:36
Muon::Fit2D::Point::fY
double fY
The Y coordinate.
Definition: Fit2D.h:38
Muon::Fit2D::Point::fChi2
double fChi2
Contribution to the Chi2.
Definition: Fit2D.h:40
Muon::Fit2D::Point::pData
const void * pData
Any external data provided by the caller.
Definition: Fit2D.h:42
Muon::Fit2D::Point::bExclude
bool bExclude
If set, exclude the point from all calculations.
Definition: Fit2D.h:41
Muon::Fit2D::Point::fX
double fX
The X coordinate.
Definition: Fit2D.h:37