LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
SimpleCone class. More...
#include "LArThreeDSlidingConeFitResult.h"
Public Member Functions | |
SimpleCone (const pandora::CartesianVector &coneApex, const pandora::CartesianVector &coneDirection, const float coneLength, const float coneTanHalfAngle) | |
Constructor. More... | |
const pandora::CartesianVector & | GetConeApex () const |
Get the cone apex. More... | |
const pandora::CartesianVector & | GetConeDirection () const |
Get the cone direction. More... | |
float | GetConeLength () const |
Get the cone length. More... | |
float | GetConeTanHalfAngle () const |
Get the tangent of the cone half-angle. More... | |
float | GetMeanRT (const pandora::Cluster *const pCluster) const |
Get the mean transverse distance to all hits in a cluster (whether contained or not) More... | |
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. More... | |
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. More... | |
Private Attributes | |
pandora::CartesianVector | m_coneApex |
The cone apex. More... | |
pandora::CartesianVector | m_coneDirection |
The cone direction. More... | |
float | m_coneLength |
The cone length. More... | |
float | m_coneTanHalfAngle |
The tangent of the cone half-angle. More... | |
SimpleCone class.
Definition at line 36 of file LArThreeDSlidingConeFitResult.h.
|
inline |
Constructor.
coneApex | |
coneDirection | |
coneLength | |
coneTanHalfAngle |
Definition at line 173 of file LArThreeDSlidingConeFitResult.h.
|
inline |
Get the fraction of hits in a provided cluster that are bounded within the cone, using fitted cone angle and length.
pCluster | the address of the cluster |
Definition at line 212 of file LArThreeDSlidingConeFitResult.h.
References GetConeLength(), and GetConeTanHalfAngle().
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.
pCluster | the address of the cluster |
coneLength | the provided cone length |
coneTanHalfAngle | the provided tangent of the cone half-angle |
|
inline |
Get the cone apex.
Definition at line 184 of file LArThreeDSlidingConeFitResult.h.
References m_coneApex.
|
inline |
Get the cone direction.
Definition at line 191 of file LArThreeDSlidingConeFitResult.h.
References m_coneDirection.
|
inline |
Get the cone length.
Definition at line 198 of file LArThreeDSlidingConeFitResult.h.
References m_coneLength.
Referenced by GetBoundedHitFraction().
|
inline |
Get the tangent of the cone half-angle.
Definition at line 205 of file LArThreeDSlidingConeFitResult.h.
References m_coneTanHalfAngle.
Referenced by GetBoundedHitFraction().
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)
pCluster | the address of the cluster |
Definition at line 22 of file LArThreeDSlidingConeFitResult.cc.
References f.
|
private |
The cone apex.
Definition at line 107 of file LArThreeDSlidingConeFitResult.h.
Referenced by GetConeApex().
|
private |
The cone direction.
Definition at line 108 of file LArThreeDSlidingConeFitResult.h.
Referenced by GetConeDirection().
|
private |
The cone length.
Definition at line 109 of file LArThreeDSlidingConeFitResult.h.
Referenced by GetConeLength().
|
private |
The tangent of the cone half-angle.
Definition at line 110 of file LArThreeDSlidingConeFitResult.h.
Referenced by GetConeTanHalfAngle().