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

LArPointingCluster class. More...

#include "LArPointingCluster.h"

Collaboration diagram for lar_content::LArPointingCluster:

Classes

class  Vertex
 Vertex class. More...
 

Public Member Functions

 LArPointingCluster (const pandora::Cluster *const pCluster, const unsigned int fitHalfLayerWindow=10, const float fitLayerPitch=0.3f)
 Constructor.
 
 LArPointingCluster (const TwoDSlidingFitResult &slidingFitResult)
 Constructor.
 
 LArPointingCluster (const ThreeDSlidingFitResult &slidingFitResult)
 Constructor.
 
const pandora::ClusterGetCluster () const
 Get the address of the cluster.
 
const VertexGetInnerVertex () const
 Get the inner vertex.
 
const VertexGetOuterVertex () const
 Get the outer vertex.
 
float GetLengthSquared () const
 Get length squared of pointing cluster.
 
float GetLength () const
 Get length of pointing cluster.
 

Private Member Functions

void BuildPointingCluster (const TwoDSlidingFitResult &slidingFitResult)
 Build the pointing cluster object from the sliding fit result.
 
void BuildPointingCluster (const ThreeDSlidingFitResult &slidingFitResult)
 Build the pointing cluster object from the sliding fit result.
 

Private Attributes

const pandora::Clusterm_pCluster
 The address of the cluster.
 
Vertex m_innerVertex
 The inner vertex.
 
Vertex m_outerVertex
 The outer vertex.
 

Detailed Description

LArPointingCluster class.

Definition at line 20 of file LArPointingCluster.h.

Constructor & Destructor Documentation

◆ LArPointingCluster() [1/3]

lar_content::LArPointingCluster::LArPointingCluster ( const pandora::Cluster *const  pCluster,
const unsigned int  fitHalfLayerWindow = 10,
const float  fitLayerPitch = 0.3f 
)

Constructor.

Parameters
pClusteraddress of the cluster
fitHalfLayerWindowthe fit layer half window
fitLayerPitchthe fit layer pitch, units cm

Definition at line 17 of file LArPointingCluster.cc.

Here is the call graph for this function:

◆ LArPointingCluster() [2/3]

lar_content::LArPointingCluster::LArPointingCluster ( const TwoDSlidingFitResult slidingFitResult)

Constructor.

Parameters
slidingFitResultthe input sliding fit result

Definition at line 34 of file LArPointingCluster.cc.

Here is the call graph for this function:

◆ LArPointingCluster() [3/3]

lar_content::LArPointingCluster::LArPointingCluster ( const ThreeDSlidingFitResult slidingFitResult)

Constructor.

Parameters
slidingFitResultthe input sliding fit result

Definition at line 41 of file LArPointingCluster.cc.

Here is the call graph for this function:

Member Function Documentation

◆ BuildPointingCluster() [1/2]

void lar_content::LArPointingCluster::BuildPointingCluster ( const ThreeDSlidingFitResult slidingFitResult)
private

Build the pointing cluster object from the sliding fit result.

Parameters
slidingFitResultthe input sliding fit result

Definition at line 73 of file LArPointingCluster.cc.

Here is the call graph for this function:

◆ BuildPointingCluster() [2/2]

void lar_content::LArPointingCluster::BuildPointingCluster ( const TwoDSlidingFitResult slidingFitResult)
private

Build the pointing cluster object from the sliding fit result.

Parameters
slidingFitResultthe input sliding fit result

Definition at line 48 of file LArPointingCluster.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCluster()

const pandora::Cluster * lar_content::LArPointingCluster::GetCluster ( ) const
inline

Get the address of the cluster.

Returns
the address of the cluster

Definition at line 201 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ GetInnerVertex()

const LArPointingCluster::Vertex & lar_content::LArPointingCluster::GetInnerVertex ( ) const
inline

Get the inner vertex.

Returns
the inner vertex

Definition at line 208 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ GetLength()

float lar_content::LArPointingCluster::GetLength ( ) const
inline

Get length of pointing cluster.

Returns
the length

Definition at line 229 of file LArPointingCluster.h.

Here is the call graph for this function:

◆ GetLengthSquared()

float lar_content::LArPointingCluster::GetLengthSquared ( ) const
inline

Get length squared of pointing cluster.

Returns
the length squared

Definition at line 222 of file LArPointingCluster.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetOuterVertex()

const LArPointingCluster::Vertex & lar_content::LArPointingCluster::GetOuterVertex ( ) const
inline

Get the outer vertex.

Returns
the outer vertex

Definition at line 215 of file LArPointingCluster.h.

Here is the caller graph for this function:

Member Data Documentation

◆ m_innerVertex

Vertex lar_content::LArPointingCluster::m_innerVertex
private

The inner vertex.

Definition at line 191 of file LArPointingCluster.h.

◆ m_outerVertex

Vertex lar_content::LArPointingCluster::m_outerVertex
private

The outer vertex.

Definition at line 192 of file LArPointingCluster.h.

◆ m_pCluster

const pandora::Cluster* lar_content::LArPointingCluster::m_pCluster
private

The address of the cluster.

Definition at line 190 of file LArPointingCluster.h.


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