ATLAS Offline Software
Loading...
Searching...
No Matches
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.
 Point (int nIdx, double fX, double fY, double fW=1.0, const void *pData=nullptr)
 Constructor.

Public Attributes

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

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 }
bool bExclude
If set, exclude the point from all calculations.
Definition Fit2D.h:41
const void * pData
Any external data provided by the caller.
Definition Fit2D.h:42
double fW
Weight.
Definition Fit2D.h:39
double fX
The X coordinate.
Definition Fit2D.h:37
double fChi2
Contribution to the Chi2.
Definition Fit2D.h:40
int nIdx
Index of the point in the original list.
Definition Fit2D.h:36
double fY
The Y coordinate.
Definition Fit2D.h:38

◆ 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: