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

LayerInterpolation class. More...

#include <LArTwoDSlidingFitObjects.h>

Public Member Functions

 LayerInterpolation ()
 Default constructor. More...
 
 LayerInterpolation (const LayerFitResultMap::const_iterator &firstLayerIter, const LayerFitResultMap::const_iterator &secondLayerIter, const double firstWeight, const double secondWeight)
 Constructor. More...
 
bool IsInitialized () const
 Whether the object is initialized. More...
 
LayerFitResultMap::const_iterator GetStartLayerIter () const
 Get the start layer iterator. More...
 
LayerFitResultMap::const_iterator GetEndLayerIter () const
 Get the end layer iterator. More...
 
double GetStartLayerWeight () const
 Get the start layer weight. More...
 
double GetEndLayerWeight () const
 Get the end layer weight. More...
 

Private Attributes

bool m_isInitialized
 Whether the object is initialized. More...
 
LayerFitResultMap::const_iterator m_startLayerIter
 The start layer iterator. More...
 
LayerFitResultMap::const_iterator m_endLayerIter
 The end layer iterator. More...
 
double m_startLayerWeight
 The start layer weight. More...
 
double m_endLayerWeight
 The end layer weight. More...
 

Detailed Description

LayerInterpolation class.

Definition at line 165 of file LArTwoDSlidingFitObjects.h.

Constructor & Destructor Documentation

lar_content::LayerInterpolation::LayerInterpolation ( )
inline

Default constructor.

Definition at line 398 of file LArTwoDSlidingFitObjects.h.

399 {
400 }
bool m_isInitialized
Whether the object is initialized.
double m_startLayerWeight
The start layer weight.
double m_endLayerWeight
The end layer weight.
lar_content::LayerInterpolation::LayerInterpolation ( const LayerFitResultMap::const_iterator firstLayerIter,
const LayerFitResultMap::const_iterator secondLayerIter,
const double  firstWeight,
const double  secondWeight 
)
inline

Constructor.

Parameters
firstayerIterthe iterator for the upstream layer
secondLayerIterthe iterator for the downstream layer
firstWeightthe weight to be applied to the upstream layer
secondWeightthe weight to be applied to the downstream layer

Definition at line 404 of file LArTwoDSlidingFitObjects.h.

405  :
406  m_isInitialized(true),
407  m_startLayerIter(startLayerIter),
408  m_endLayerIter(endLayerIter),
409  m_startLayerWeight(startLayerWeight),
410  m_endLayerWeight(endLayerWeight)
411 {
412 }
LayerFitResultMap::const_iterator m_startLayerIter
The start layer iterator.
bool m_isInitialized
Whether the object is initialized.
double m_startLayerWeight
The start layer weight.
LayerFitResultMap::const_iterator m_endLayerIter
The end layer iterator.
double m_endLayerWeight
The end layer weight.

Member Function Documentation

LayerFitResultMap::const_iterator lar_content::LayerInterpolation::GetEndLayerIter ( ) const
inline

Get the end layer iterator.

Returns
the iterator for the end layer

Definition at line 433 of file LArTwoDSlidingFitObjects.h.

434 {
435  if (!m_isInitialized)
436  throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
437 
438  return m_endLayerIter;
439 }
bool m_isInitialized
Whether the object is initialized.
LayerFitResultMap::const_iterator m_endLayerIter
The end layer iterator.
double lar_content::LayerInterpolation::GetEndLayerWeight ( ) const
inline

Get the end layer weight.

Returns
the weight for the end layer

Definition at line 453 of file LArTwoDSlidingFitObjects.h.

454 {
455  if (!m_isInitialized)
456  throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
457 
458  return m_endLayerWeight;
459 }
bool m_isInitialized
Whether the object is initialized.
double m_endLayerWeight
The end layer weight.
LayerFitResultMap::const_iterator lar_content::LayerInterpolation::GetStartLayerIter ( ) const
inline

Get the start layer iterator.

Returns
the iterator for the start layer

Definition at line 423 of file LArTwoDSlidingFitObjects.h.

424 {
425  if (!m_isInitialized)
426  throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
427 
428  return m_startLayerIter;
429 }
LayerFitResultMap::const_iterator m_startLayerIter
The start layer iterator.
bool m_isInitialized
Whether the object is initialized.
double lar_content::LayerInterpolation::GetStartLayerWeight ( ) const
inline

Get the start layer weight.

Returns
the weight for the start layer

Definition at line 443 of file LArTwoDSlidingFitObjects.h.

444 {
445  if (!m_isInitialized)
446  throw pandora::StatusCodeException(pandora::STATUS_CODE_NOT_INITIALIZED);
447 
448  return m_startLayerWeight;
449 }
bool m_isInitialized
Whether the object is initialized.
double m_startLayerWeight
The start layer weight.
bool lar_content::LayerInterpolation::IsInitialized ( ) const
inline

Whether the object is initialized.

Returns
boolean

Definition at line 416 of file LArTwoDSlidingFitObjects.h.

417 {
418  return m_isInitialized;
419 }
bool m_isInitialized
Whether the object is initialized.

Member Data Documentation

LayerFitResultMap::const_iterator lar_content::LayerInterpolation::m_endLayerIter
private

The end layer iterator.

Definition at line 222 of file LArTwoDSlidingFitObjects.h.

double lar_content::LayerInterpolation::m_endLayerWeight
private

The end layer weight.

Definition at line 224 of file LArTwoDSlidingFitObjects.h.

bool lar_content::LayerInterpolation::m_isInitialized
private

Whether the object is initialized.

Definition at line 220 of file LArTwoDSlidingFitObjects.h.

LayerFitResultMap::const_iterator lar_content::LayerInterpolation::m_startLayerIter
private

The start layer iterator.

Definition at line 221 of file LArTwoDSlidingFitObjects.h.

double lar_content::LayerInterpolation::m_startLayerWeight
private

The start layer weight.

Definition at line 223 of file LArTwoDSlidingFitObjects.h.


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