Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::LayerFitContribution Class Reference

LayerFitContribution class. More...

#include "LArTwoDSlidingFitObjects.h"

Public Member Functions

 LayerFitContribution ()
 Default constructor.
 
void AddPoint (const float l, const float t)
 Add point to layer fit.
 
double GetSumT () const
 Get the sum t.
 
double GetSumL () const
 Get the sum l.
 
double GetSumTT () const
 Get the sum t * t.
 
double GetSumLT () const
 Get the sum l * t.
 
double GetSumLL () const
 Get the sum l * l.
 
unsigned int GetNPoints () const
 Get the number of points used.
 

Private Attributes

double m_sumT
 The sum t.
 
double m_sumL
 The sum l.
 
double m_sumTT
 The sum t * t.
 
double m_sumLT
 The sum l * t.
 
double m_sumLL
 The sum l * l.
 
unsigned int m_nPoints
 The number of points used.
 

Detailed Description

LayerFitContribution class.

Definition at line 91 of file LArTwoDSlidingFitObjects.h.

Constructor & Destructor Documentation

◆ LayerFitContribution()

lar_content::LayerFitContribution::LayerFitContribution ( )
inline

Default constructor.

Definition at line 334 of file LArTwoDSlidingFitObjects.h.

Member Function Documentation

◆ AddPoint()

void lar_content::LayerFitContribution::AddPoint ( const float  l,
const float  t 
)
inline

Add point to layer fit.

Parameters
lthe longitudinal coordinate
tthe transverse coordinate

Definition at line 340 of file LArTwoDSlidingFitObjects.h.

◆ GetNPoints()

unsigned int lar_content::LayerFitContribution::GetNPoints ( ) const
inline

Get the number of points used.

Returns
the number of points used

Definition at line 390 of file LArTwoDSlidingFitObjects.h.

◆ GetSumL()

double lar_content::LayerFitContribution::GetSumL ( ) const
inline

Get the sum l.

Returns
the sum l

Definition at line 362 of file LArTwoDSlidingFitObjects.h.

◆ GetSumLL()

double lar_content::LayerFitContribution::GetSumLL ( ) const
inline

Get the sum l * l.

Returns
the sum z * z

Definition at line 376 of file LArTwoDSlidingFitObjects.h.

◆ GetSumLT()

double lar_content::LayerFitContribution::GetSumLT ( ) const
inline

Get the sum l * t.

Returns
the sum l * t

Definition at line 369 of file LArTwoDSlidingFitObjects.h.

◆ GetSumT()

double lar_content::LayerFitContribution::GetSumT ( ) const
inline

Get the sum t.

Returns
the sum t

Definition at line 355 of file LArTwoDSlidingFitObjects.h.

◆ GetSumTT()

double lar_content::LayerFitContribution::GetSumTT ( ) const
inline

Get the sum t * t.

Returns
the sum t * t

Definition at line 383 of file LArTwoDSlidingFitObjects.h.

Member Data Documentation

◆ m_nPoints

unsigned int lar_content::LayerFitContribution::m_nPoints
private

The number of points used.

Definition at line 155 of file LArTwoDSlidingFitObjects.h.

◆ m_sumL

double lar_content::LayerFitContribution::m_sumL
private

The sum l.

Definition at line 151 of file LArTwoDSlidingFitObjects.h.

◆ m_sumLL

double lar_content::LayerFitContribution::m_sumLL
private

The sum l * l.

Definition at line 154 of file LArTwoDSlidingFitObjects.h.

◆ m_sumLT

double lar_content::LayerFitContribution::m_sumLT
private

The sum l * t.

Definition at line 153 of file LArTwoDSlidingFitObjects.h.

◆ m_sumT

double lar_content::LayerFitContribution::m_sumT
private

The sum t.

Definition at line 150 of file LArTwoDSlidingFitObjects.h.

◆ m_sumTT

double lar_content::LayerFitContribution::m_sumTT
private

The sum t * t.

Definition at line 152 of file LArTwoDSlidingFitObjects.h.


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