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

SimpleCone class. More...

#include "LArThreeDSlidingConeFitResult.h"

Collaboration diagram for lar_content::SimpleCone:

Public Member Functions

 SimpleCone (const pandora::CartesianVector &coneApex, const pandora::CartesianVector &coneDirection, const float coneLength, const float coneTanHalfAngle)
 Constructor.
 
const pandora::CartesianVectorGetConeApex () const
 Get the cone apex.
 
const pandora::CartesianVectorGetConeDirection () const
 Get the cone direction.
 
float GetConeLength () const
 Get the cone length.
 
float GetConeTanHalfAngle () const
 Get the tangent of the cone half-angle.
 
float GetMeanRT (const pandora::Cluster *const pCluster) const
 Get the mean transverse distance to all hits in a cluster (whether contained or not)
 
float GetBoundedHitFraction (const pandora::Cluster *const pCluster) const
 Get the fraction of hits in a provided cluster that are bounded within the cone, using fitted cone angle and length.
 
float GetBoundedHitFraction (const pandora::Cluster *const pCluster, const float coneLength, const float coneTanHalfAngle) const
 Get the fraction of hits in a provided cluster that are bounded within the cone, using provided cone angle and length.
 

Private Attributes

pandora::CartesianVector m_coneApex
 The cone apex.
 
pandora::CartesianVector m_coneDirection
 The cone direction.
 
float m_coneLength
 The cone length.
 
float m_coneTanHalfAngle
 The tangent of the cone half-angle.
 

Detailed Description

SimpleCone class.

Definition at line 36 of file LArThreeDSlidingConeFitResult.h.

Constructor & Destructor Documentation

◆ SimpleCone()

lar_content::SimpleCone::SimpleCone ( const pandora::CartesianVector coneApex,
const pandora::CartesianVector coneDirection,
const float  coneLength,
const float  coneTanHalfAngle 
)
inline

Constructor.

Parameters
coneApex
coneDirection
coneLength
coneTanHalfAngle

Definition at line 173 of file LArThreeDSlidingConeFitResult.h.

Member Function Documentation

◆ GetBoundedHitFraction() [1/2]

float lar_content::SimpleCone::GetBoundedHitFraction ( const pandora::Cluster *const  pCluster) const
inline

Get the fraction of hits in a provided cluster that are bounded within the cone, using fitted cone angle and length.

Parameters
pClusterthe address of the cluster
Returns
the bounded hit fraction

Definition at line 212 of file LArThreeDSlidingConeFitResult.h.

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

◆ GetBoundedHitFraction() [2/2]

float lar_content::SimpleCone::GetBoundedHitFraction ( const pandora::Cluster *const  pCluster,
const float  coneLength,
const float  coneTanHalfAngle 
) const

Get the fraction of hits in a provided cluster that are bounded within the cone, using provided cone angle and length.

Parameters
pClusterthe address of the cluster
coneLengththe provided cone length
coneTanHalfAnglethe provided tangent of the cone half-angle
Returns
the bounded hit fraction

Definition at line 42 of file LArThreeDSlidingConeFitResult.cc.

Here is the call graph for this function:

◆ GetConeApex()

const pandora::CartesianVector & lar_content::SimpleCone::GetConeApex ( ) const
inline

Get the cone apex.

Returns
the cone apex

Definition at line 184 of file LArThreeDSlidingConeFitResult.h.

Here is the caller graph for this function:

◆ GetConeDirection()

const pandora::CartesianVector & lar_content::SimpleCone::GetConeDirection ( ) const
inline

Get the cone direction.

Returns
the cone direction

Definition at line 191 of file LArThreeDSlidingConeFitResult.h.

◆ GetConeLength()

float lar_content::SimpleCone::GetConeLength ( ) const
inline

Get the cone length.

Returns
the cone length

Definition at line 198 of file LArThreeDSlidingConeFitResult.h.

Here is the caller graph for this function:

◆ GetConeTanHalfAngle()

float lar_content::SimpleCone::GetConeTanHalfAngle ( ) const
inline

Get the tangent of the cone half-angle.

Returns
the tangent of the cone half-angle

Definition at line 205 of file LArThreeDSlidingConeFitResult.h.

Here is the caller graph for this function:

◆ GetMeanRT()

float lar_content::SimpleCone::GetMeanRT ( const pandora::Cluster *const  pCluster) const

Get the mean transverse distance to all hits in a cluster (whether contained or not)

Parameters
pClusterthe address of the cluster
Returns
the mean transverse distance to all hits (whether contained or not)

Definition at line 22 of file LArThreeDSlidingConeFitResult.cc.

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

Member Data Documentation

◆ m_coneApex

pandora::CartesianVector lar_content::SimpleCone::m_coneApex
private

The cone apex.

Definition at line 107 of file LArThreeDSlidingConeFitResult.h.

◆ m_coneDirection

pandora::CartesianVector lar_content::SimpleCone::m_coneDirection
private

The cone direction.

Definition at line 108 of file LArThreeDSlidingConeFitResult.h.

◆ m_coneLength

float lar_content::SimpleCone::m_coneLength
private

The cone length.

Definition at line 109 of file LArThreeDSlidingConeFitResult.h.

◆ m_coneTanHalfAngle

float lar_content::SimpleCone::m_coneTanHalfAngle
private

The tangent of the cone half-angle.

Definition at line 110 of file LArThreeDSlidingConeFitResult.h.


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