ATLAS Offline Software
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MuonCalib::SamplePoint Class Reference

#include <SamplePoint.h>

Collaboration diagram for MuonCalib::SamplePoint:

Public Member Functions

 SamplePoint (void)
 default constructor More...
 
 SamplePoint (double triplet[3])
 constructor, More...
 
 SamplePoint (const double &mx1, const double &mx2, const double &msigma)
 constructor, More...
 
double x1 (void) const
 get the x1 coordinate of the sample point More...
 
double x2 (void) const
 get the x2 coordinate of the sample point More...
 
double error (void) const
 get the error on the x2 coordinate of the sample point More...
 
void set_triplet (const double x[3])
 set the sample point, More...
 
void set_x1 (const double &mx1)
 set the x1 coordinate of the sample point to mx1 More...
 
void set_x2 (const double &mx2)
 set the x2 coordinate of the sample point to mx2 More...
 
void set_error (const double &merror)
 set the error of the x2 coordinate sample point to merror More...
 

Private Member Functions

void init (double triplet[3])
 initialization method, More...
 
void init (const double &mx1, const double &mx2, const double &msigma)
 initialization method, More...
 

Private Attributes

double m_x1
 x1 coordinate of the sample point More...
 
double m_x2
 x2 coordinate of the sample point More...
 
double m_sigma
 error of the x2 coordinate of the sample point More...
 

Detailed Description

This class provides a sample point for the BaseFunctionFitter.

Author
Olive.nosp@m.r.Ko.nosp@m.rtner.nosp@m.@cer.nosp@m.n.ch
Date
04.04.2005

Definition at line 17 of file SamplePoint.h.

Constructor & Destructor Documentation

◆ SamplePoint() [1/3]

MuonCalib::SamplePoint::SamplePoint ( void  )
inline

default constructor

Definition at line 49 of file SamplePoint.h.

◆ SamplePoint() [2/3]

MuonCalib::SamplePoint::SamplePoint ( double  triplet[3])
inline

constructor,

triplet[0] = x1 coordinate of the sample point,

triplet[1] = x2 coordinate of the sample point,

triplet[2] = error of the x2 coordinate of the sample point

Definition at line 60 of file SamplePoint.h.

60  {
61  init(triplet);
62  }

◆ SamplePoint() [3/3]

MuonCalib::SamplePoint::SamplePoint ( const double &  mx1,
const double &  mx2,
const double &  msigma 
)
inline

constructor,

mx1 = x1 coordinate of the sample point,

mx2 = x2 coordinate of the sample point,

msigma = error of the x2 coordinate of the sample point

Definition at line 72 of file SamplePoint.h.

73  {
74  init(mx1, mx2, msigma);
75  }

Member Function Documentation

◆ error()

double MuonCalib::SamplePoint::error ( void  ) const
inline

get the error on the x2 coordinate of the sample point

◆ init() [1/2]

void MuonCalib::SamplePoint::init ( const double &  mx1,
const double &  mx2,
const double &  msigma 
)
inlineprivate

initialization method,

mx1 = x1 coordinate of the sample point,

mx2 = x2 coordinate of the sample point,

msigma = error of the x2 coordinate of the sample point

◆ init() [2/2]

void MuonCalib::SamplePoint::init ( double  triplet[3])
inlineprivate

initialization method,

triplet[0] = x1 coordinate of the sample point,

triplet[1] = x2 coordinate of the sample point,

triplet[2] = error of the x2 coordinate of the sample point

◆ set_error()

void MuonCalib::SamplePoint::set_error ( const double &  merror)
inline

set the error of the x2 coordinate sample point to merror

◆ set_triplet()

void MuonCalib::SamplePoint::set_triplet ( const double  x[3])
inline

set the sample point,

x[0] = x1 coordinate of the sample point,

x[1] = x2 coordinate of the sample point,

x[2] = error of the x2 coordinate of the sample point

◆ set_x1()

void MuonCalib::SamplePoint::set_x1 ( const double &  mx1)
inline

set the x1 coordinate of the sample point to mx1

◆ set_x2()

void MuonCalib::SamplePoint::set_x2 ( const double &  mx2)
inline

set the x2 coordinate of the sample point to mx2

◆ x1()

double MuonCalib::SamplePoint::x1 ( void  ) const
inline

get the x1 coordinate of the sample point

◆ x2()

double MuonCalib::SamplePoint::x2 ( void  ) const
inline

get the x2 coordinate of the sample point

Member Data Documentation

◆ m_sigma

double MuonCalib::SamplePoint::m_sigma
private

error of the x2 coordinate of the sample point

Definition at line 23 of file SamplePoint.h.

◆ m_x1

double MuonCalib::SamplePoint::m_x1
private

x1 coordinate of the sample point

Definition at line 21 of file SamplePoint.h.

◆ m_x2

double MuonCalib::SamplePoint::m_x2
private

x2 coordinate of the sample point

Definition at line 22 of file SamplePoint.h.


The documentation for this class was generated from the following file:
MuonCalib::SamplePoint::init
void init(double triplet[3])
initialization method,
fitman.mx2
mx2
Definition: fitman.py:536