Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
pandora::ClusterFitPoint Class Reference

ClusterFitPoint class. More...

#include "ClusterFitHelper.h"

Collaboration diagram for pandora::ClusterFitPoint:

Public Member Functions

 ClusterFitPoint (const CaloHit *const pCaloHit)
 Constructor.
 
 ClusterFitPoint (const CartesianVector &position, const CartesianVector &cellNormalVector, const float cellSize, const float energy, const unsigned int pseudoLayer)
 Constructor.
 
const CartesianVectorGetPosition () const
 Get the position vector of the fit point.
 
const CartesianVectorGetCellNormalVector () const
 Get the unit normal vector to the cell in which the point was recorded.
 
float GetCellSize () const
 Get the size of the cell in which the point was recorded.
 
float GetEnergy () const
 Get the energy deposited in the cell in which the point was recorded.
 
unsigned int GetPseudoLayer () const
 Get the pseudolayer in which the point was recorded.
 
bool operator< (const ClusterFitPoint &rhs) const
 operator< to define an ordering for cluster fit points
 

Private Attributes

CartesianVector m_position
 The position vector of the fit point.
 
CartesianVector m_cellNormalVector
 The unit normal vector to the cell in which the point was recorded.
 
float m_cellSize
 The size of the cell in which the point was recorded.
 
float m_energy
 The energy deposited in the cell in which the point was recorded.
 
unsigned int m_pseudoLayer
 The pseudolayer in which the point was recorded.
 

Detailed Description

ClusterFitPoint class.

Definition at line 20 of file ClusterFitHelper.h.

Constructor & Destructor Documentation

◆ ClusterFitPoint() [1/2]

pandora::ClusterFitPoint::ClusterFitPoint ( const CaloHit *const  pCaloHit)

Constructor.

Parameters
pCaloHitaddress of a calo hit on which to base the cluster fit point

Definition at line 373 of file ClusterFitHelper.cc.

◆ ClusterFitPoint() [2/2]

pandora::ClusterFitPoint::ClusterFitPoint ( const CartesianVector position,
const CartesianVector cellNormalVector,
const float  cellSize,
const float  energy,
const unsigned int  pseudoLayer 
)

Constructor.

Parameters
positionthe position vector of the fit point
cellNormalVectorthe unit normal vector to the cell in which the point was recorded
cellSizethe size of the cell in which the point was recorded
energythe energy deposited in the cell in which the point was recorded
pseudoLayerthe pseudolayer in which the point was recorded

Definition at line 386 of file ClusterFitHelper.cc.

Member Function Documentation

◆ GetCellNormalVector()

const CartesianVector & pandora::ClusterFitPoint::GetCellNormalVector ( ) const
inline

Get the unit normal vector to the cell in which the point was recorded.

Returns
the unit normal vector to the cell in which the point was recorded

Definition at line 296 of file ClusterFitHelper.h.

◆ GetCellSize()

float pandora::ClusterFitPoint::GetCellSize ( ) const
inline

Get the size of the cell in which the point was recorded.

Returns
the size of the cell in which the point was recorded

Definition at line 303 of file ClusterFitHelper.h.

◆ GetEnergy()

float pandora::ClusterFitPoint::GetEnergy ( ) const
inline

Get the energy deposited in the cell in which the point was recorded.

Returns
energy deposited in the cell in which the point was recorded

Definition at line 310 of file ClusterFitHelper.h.

Here is the caller graph for this function:

◆ GetPosition()

const CartesianVector & pandora::ClusterFitPoint::GetPosition ( ) const
inline

Get the position vector of the fit point.

Returns
the position vector of the fit point

Definition at line 289 of file ClusterFitHelper.h.

Here is the caller graph for this function:

◆ GetPseudoLayer()

unsigned int pandora::ClusterFitPoint::GetPseudoLayer ( ) const
inline

Get the pseudolayer in which the point was recorded.

Returns
the pseudolayer in which the point was recorded

Definition at line 317 of file ClusterFitHelper.h.

◆ operator<()

bool pandora::ClusterFitPoint::operator< ( const ClusterFitPoint rhs) const

operator< to define an ordering for cluster fit points

Parameters
rhsthe cluster fit point for comparison
Returns
boolean

Definition at line 400 of file ClusterFitHelper.cc.

Here is the call graph for this function:

Member Data Documentation

◆ m_cellNormalVector

CartesianVector pandora::ClusterFitPoint::m_cellNormalVector
private

The unit normal vector to the cell in which the point was recorded.

Definition at line 88 of file ClusterFitHelper.h.

◆ m_cellSize

float pandora::ClusterFitPoint::m_cellSize
private

The size of the cell in which the point was recorded.

Definition at line 89 of file ClusterFitHelper.h.

◆ m_energy

float pandora::ClusterFitPoint::m_energy
private

The energy deposited in the cell in which the point was recorded.

Definition at line 90 of file ClusterFitHelper.h.

◆ m_position

CartesianVector pandora::ClusterFitPoint::m_position
private

The position vector of the fit point.

Definition at line 87 of file ClusterFitHelper.h.

◆ m_pseudoLayer

unsigned int pandora::ClusterFitPoint::m_pseudoLayer
private

The pseudolayer in which the point was recorded.

Definition at line 91 of file ClusterFitHelper.h.


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