All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Public Member Functions | Private Attributes | List of all members
lar_content::LArHitWidthHelper::ConstituentHit Class Reference

ConstituentHit class. More...

#include <LArHitWidthHelper.h>

Classes

class  SortByDistanceToPoint
 SortByDistanceToPoint class. More...
 

Public Member Functions

 ConstituentHit (const pandora::CartesianVector &positionVector, const float hitWidth, const pandora::Cluster *const pParentClusterAddress)
 Constructor. More...
 
const pandora::CartesianVector & GetPositionVector () const
 Returns the constituent hit central position. More...
 
float GetHitWidth () const
 Returns the constituent hit width. More...
 
const pandora::Cluster * GetParentClusterAddress () const
 Returns the address of the parent cluster. More...
 

Private Attributes

pandora::CartesianVector m_positionVector
 The central position of the consituent hit. More...
 
float m_hitWidth
 The width of the constituent hit. More...
 
const pandora::Cluster * m_pParentClusterAddress
 The address of the cluster the constituent hit belongs to. More...
 

Detailed Description

ConstituentHit class.

Definition at line 25 of file LArHitWidthHelper.h.

Constructor & Destructor Documentation

lar_content::LArHitWidthHelper::ConstituentHit::ConstituentHit ( const pandora::CartesianVector &  positionVector,
const float  hitWidth,
const pandora::Cluster *const  pParentClusterAddress 
)

Constructor.

Parameters
positionVectorthe central position of the constituent hit
hitWidththe hit width of the constituent hit
pParentClusterAddressthe address of the original, unbroken hit to which it belongs

Definition at line 16 of file LArHitWidthHelper.cc.

16  :
17  m_positionVector(positionVector),
18  m_hitWidth(hitWidth),
19  m_pParentClusterAddress(pParentClusterAddress)
20 {
21 }
float m_hitWidth
The width of the constituent hit.
pandora::CartesianVector m_positionVector
The central position of the consituent hit.
const pandora::Cluster * m_pParentClusterAddress
The address of the cluster the constituent hit belongs to.

Member Function Documentation

float lar_content::LArHitWidthHelper::ConstituentHit::GetHitWidth ( ) const
inline

Returns the constituent hit width.

Definition at line 325 of file LArHitWidthHelper.h.

326 {
327  return m_hitWidth;
328 }
float m_hitWidth
The width of the constituent hit.
const pandora::Cluster * lar_content::LArHitWidthHelper::ConstituentHit::GetParentClusterAddress ( ) const
inline

Returns the address of the parent cluster.

Definition at line 332 of file LArHitWidthHelper.h.

333 {
335 }
const pandora::Cluster * m_pParentClusterAddress
The address of the cluster the constituent hit belongs to.
const pandora::CartesianVector & lar_content::LArHitWidthHelper::ConstituentHit::GetPositionVector ( ) const
inline

Returns the constituent hit central position.

Definition at line 318 of file LArHitWidthHelper.h.

319 {
320  return m_positionVector;
321 }
pandora::CartesianVector m_positionVector
The central position of the consituent hit.

Member Data Documentation

float lar_content::LArHitWidthHelper::ConstituentHit::m_hitWidth
private

The width of the constituent hit.

Definition at line 83 of file LArHitWidthHelper.h.

pandora::CartesianVector lar_content::LArHitWidthHelper::ConstituentHit::m_positionVector
private

The central position of the consituent hit.

Definition at line 82 of file LArHitWidthHelper.h.

const pandora::Cluster* lar_content::LArHitWidthHelper::ConstituentHit::m_pParentClusterAddress
private

The address of the cluster the constituent hit belongs to.

Definition at line 84 of file LArHitWidthHelper.h.


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