Public Member Functions | Private Attributes | List of all members
lar_content::LayerFitResult Class Reference

class LayerFitResult More...

#include <LArTwoDSlidingFitObjects.h>

Public Member Functions

 LayerFitResult (const double l, const double fitT, const double gradient, const double rms)
 Constructor. More...
 
double GetL () const
 Get the l coordinate. More...
 
double GetFitT () const
 Get the fitted t coordinate. More...
 
double GetGradient () const
 Get the fitted gradient dt/dz. More...
 
double GetRms () const
 Get the rms of the fit residuals. More...
 

Private Attributes

double m_l
 The l coordinate. More...
 
double m_fitT
 The fitted t coordinate. More...
 
double m_gradient
 The fitted gradient dt/dl. More...
 
double m_rms
 The rms of the fit residuals. More...
 

Detailed Description

class LayerFitResult

Definition at line 36 of file LArTwoDSlidingFitObjects.h.

Constructor & Destructor Documentation

lar_content::LayerFitResult::LayerFitResult ( const double  l,
const double  fitT,
const double  gradient,
const double  rms 
)
inline

Constructor.

Parameters
lthe l coordinate
fitTthe fitted t coordinate
gradientthe fitted gradient dt/dl
rmsthe rms of the fit residuals

Definition at line 295 of file LArTwoDSlidingFitObjects.h.

295  :
296  m_l(l),
297  m_fitT(fitT),
298  m_gradient(gradient),
299  m_rms(rms)
300 {
301 }
double rms(sqlite3 *db, std::string const &table_name, std::string const &column_name)
Definition: statistics.cc:40
static QStrList * l
Definition: config.cpp:1044
double m_rms
The rms of the fit residuals.
double m_gradient
The fitted gradient dt/dl.
double m_fitT
The fitted t coordinate.

Member Function Documentation

double lar_content::LayerFitResult::GetFitT ( ) const
inline

Get the fitted t coordinate.

Returns
the fitted t coordinate

Definition at line 312 of file LArTwoDSlidingFitObjects.h.

313 {
314  return m_fitT;
315 }
double m_fitT
The fitted t coordinate.
double lar_content::LayerFitResult::GetGradient ( ) const
inline

Get the fitted gradient dt/dz.

Returns
the fitted gradient dt/dl

Definition at line 319 of file LArTwoDSlidingFitObjects.h.

320 {
321  return m_gradient;
322 }
double m_gradient
The fitted gradient dt/dl.
double lar_content::LayerFitResult::GetL ( ) const
inline

Get the l coordinate.

Returns
the l coordinate

Definition at line 305 of file LArTwoDSlidingFitObjects.h.

306 {
307  return m_l;
308 }
double lar_content::LayerFitResult::GetRms ( ) const
inline

Get the rms of the fit residuals.

Returns
the rms of the fit residuals

Definition at line 326 of file LArTwoDSlidingFitObjects.h.

327 {
328  return m_rms;
329 }
double m_rms
The rms of the fit residuals.

Member Data Documentation

double lar_content::LayerFitResult::m_fitT
private

The fitted t coordinate.

Definition at line 79 of file LArTwoDSlidingFitObjects.h.

double lar_content::LayerFitResult::m_gradient
private

The fitted gradient dt/dl.

Definition at line 80 of file LArTwoDSlidingFitObjects.h.

double lar_content::LayerFitResult::m_l
private

The l coordinate.

Definition at line 78 of file LArTwoDSlidingFitObjects.h.

double lar_content::LayerFitResult::m_rms
private

The rms of the fit residuals.

Definition at line 81 of file LArTwoDSlidingFitObjects.h.


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