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

Sliding fit data class. More...

#include <VertexSelectionBaseAlgorithm.h>

Public Member Functions

 SlidingFitData (const pandora::Cluster *const pCluster, const int slidingFitWindow, const float slidingFitPitch)
 Constructor. More...
 
const pandora::CartesianVector & GetMinLayerDirection () const
 Get the min layer direction. More...
 
const pandora::CartesianVector & GetMaxLayerDirection () const
 Get the max layer direction. More...
 
const pandora::CartesianVector & GetMinLayerPosition () const
 Get the min layer position. More...
 
const pandora::CartesianVector & GetMaxLayerPosition () const
 Get the max layer position. More...
 
const pandora::Cluster * GetCluster () const
 Get a pointer to the corresponding cluster. More...
 

Private Attributes

pandora::CartesianVector m_minLayerDirection
 The direction of the fit at the min layer. More...
 
pandora::CartesianVector m_maxLayerDirection
 The direction of the fit at the min layer. More...
 
pandora::CartesianVector m_minLayerPosition
 The position of the fit at the max layer. More...
 
pandora::CartesianVector m_maxLayerPosition
 The position of the fit at the max layer. More...
 
const pandora::Cluster * m_pCluster
 Pointer to the corresponding cluster. More...
 

Detailed Description

Sliding fit data class.

Definition at line 120 of file VertexSelectionBaseAlgorithm.h.

Constructor & Destructor Documentation

lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::SlidingFitData ( const pandora::Cluster *const  pCluster,
const int  slidingFitWindow,
const float  slidingFitPitch 
)

Constructor.

Parameters
pClusterpointer to the cluster
slidingFitWindowthe sliding fit window
slidingFitPitchthe sliding fit pitch

Definition at line 349 of file VertexSelectionBaseAlgorithm.cc.

349  :
350  m_minLayerDirection(0.f, 0.f, 0.f),
351  m_maxLayerDirection(0.f, 0.f, 0.f),
352  m_minLayerPosition(0.f, 0.f, 0.f),
353  m_maxLayerPosition(0.f, 0.f, 0.f),
354  m_pCluster(pCluster)
355 {
356  const TwoDSlidingFitResult slidingFitResult(pCluster, slidingFitWindow, slidingFitPitch);
357  m_minLayerDirection = slidingFitResult.GetGlobalMinLayerDirection();
358  m_maxLayerDirection = slidingFitResult.GetGlobalMaxLayerDirection();
359  m_minLayerPosition = slidingFitResult.GetGlobalMinLayerPosition();
360  m_maxLayerPosition = slidingFitResult.GetGlobalMaxLayerPosition();
361 }
const pandora::Cluster * m_pCluster
Pointer to the corresponding cluster.
pandora::CartesianVector m_minLayerPosition
The position of the fit at the max layer.
pandora::CartesianVector m_maxLayerDirection
The direction of the fit at the min layer.
pandora::CartesianVector m_minLayerDirection
The direction of the fit at the min layer.
pandora::CartesianVector m_maxLayerPosition
The position of the fit at the max layer.

Member Function Documentation

const pandora::Cluster * lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::GetCluster ( ) const
inline

Get a pointer to the corresponding cluster.

Returns
pointer to the corresponding cluster

Definition at line 515 of file VertexSelectionBaseAlgorithm.h.

516 {
517  return m_pCluster;
518 }
const pandora::Cluster * m_pCluster
Pointer to the corresponding cluster.
const pandora::CartesianVector & lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::GetMaxLayerDirection ( ) const
inline

Get the max layer direction.

Returns
the max layer direction

Definition at line 494 of file VertexSelectionBaseAlgorithm.h.

495 {
496  return m_maxLayerDirection;
497 }
pandora::CartesianVector m_maxLayerDirection
The direction of the fit at the min layer.
const pandora::CartesianVector & lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::GetMaxLayerPosition ( ) const
inline

Get the max layer position.

Returns
the max layer position

Definition at line 508 of file VertexSelectionBaseAlgorithm.h.

509 {
510  return m_maxLayerPosition;
511 }
pandora::CartesianVector m_maxLayerPosition
The position of the fit at the max layer.
const pandora::CartesianVector & lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::GetMinLayerDirection ( ) const
inline

Get the min layer direction.

Returns
the min layer direction

Definition at line 487 of file VertexSelectionBaseAlgorithm.h.

488 {
489  return m_minLayerDirection;
490 }
pandora::CartesianVector m_minLayerDirection
The direction of the fit at the min layer.
const pandora::CartesianVector & lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::GetMinLayerPosition ( ) const
inline

Get the min layer position.

Returns
the min layer position

Definition at line 501 of file VertexSelectionBaseAlgorithm.h.

502 {
503  return m_minLayerPosition;
504 }
pandora::CartesianVector m_minLayerPosition
The position of the fit at the max layer.

Member Data Documentation

pandora::CartesianVector lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::m_maxLayerDirection
private

The direction of the fit at the min layer.

Definition at line 169 of file VertexSelectionBaseAlgorithm.h.

pandora::CartesianVector lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::m_maxLayerPosition
private

The position of the fit at the max layer.

Definition at line 171 of file VertexSelectionBaseAlgorithm.h.

pandora::CartesianVector lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::m_minLayerDirection
private

The direction of the fit at the min layer.

Definition at line 168 of file VertexSelectionBaseAlgorithm.h.

pandora::CartesianVector lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::m_minLayerPosition
private

The position of the fit at the max layer.

Definition at line 170 of file VertexSelectionBaseAlgorithm.h.

const pandora::Cluster* lar_content::VertexSelectionBaseAlgorithm::SlidingFitData::m_pCluster
private

Pointer to the corresponding cluster.

Definition at line 172 of file VertexSelectionBaseAlgorithm.h.


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