LArSoft
v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
|
ConeParameters class. More...
#include "VertexBasedPfoMopUpAlgorithm.h"
Public Member Functions | |
ConeParameters (const pandora::Cluster *const pCluster, const pandora::CartesianVector &vertexPosition2D, const float coneAngleCentile, const float maxConeCosHalfAngle) | |
Constructor. More... | |
float | GetBoundedFraction (const pandora::Cluster *const pDaughterCluster, const float coneLengthMultiplier) const |
Get the fraction of hits in a candidate daughter cluster bounded by the cone. More... | |
Private Member Functions | |
pandora::CartesianVector | GetDirectionEstimate () const |
Get the cone direction estimate, with apex fixed at the 2d vertex position. More... | |
float | GetSignedConeLength () const |
Get the cone length (signed, by projections of hits onto initial direction estimate) More... | |
float | GetCosHalfAngleEstimate (const float coneAngleCentile) const |
Get the cone cos half angle estimate. More... | |
Private Attributes | |
const pandora::Cluster * | m_pCluster |
The parent cluster. More... | |
pandora::CartesianVector | m_apex |
The cone apex. More... | |
pandora::CartesianVector | m_direction |
The cone direction. More... | |
float | m_coneLength |
The cone length. More... | |
float | m_coneCosHalfAngle |
The cone cos half angle. More... | |
ConeParameters class.
Definition at line 191 of file VertexBasedPfoMopUpAlgorithm.h.
lar_content::VertexBasedPfoMopUpAlgorithm::ConeParameters::ConeParameters | ( | const pandora::Cluster *const | pCluster, |
const pandora::CartesianVector & | vertexPosition2D, | ||
const float | coneAngleCentile, | ||
const float | maxConeCosHalfAngle | ||
) |
Constructor.
pCluster | address of the cluster |
vertexPosition2D | the event 2D vertex position |
coneAngleCentile | the cone angle centile |
maxConeCosHalfAngle | the maximum value for cosine of cone half angle |
Definition at line 380 of file VertexBasedPfoMopUpAlgorithm.cc.
References GetCosHalfAngleEstimate(), GetDirectionEstimate(), GetSignedConeLength(), m_coneCosHalfAngle, m_coneLength, m_direction, and min.
float lar_content::VertexBasedPfoMopUpAlgorithm::ConeParameters::GetBoundedFraction | ( | const pandora::Cluster *const | pDaughterCluster, |
const float | coneLengthMultiplier | ||
) | const |
Get the fraction of hits in a candidate daughter cluster bounded by the cone.
pDaughterCluster | the address of the daughter cluster |
coneLengthMultiplier | cnsider hits as bound if inside cone with projected distance less than N times cone length |
Definition at line 403 of file VertexBasedPfoMopUpAlgorithm.cc.
References m_apex, m_coneCosHalfAngle, m_coneLength, and m_direction.
Referenced by lar_content::VertexBasedPfoMopUpAlgorithm::GetClusterAssociation().
|
private |
Get the cone cos half angle estimate.
coneAngleCentile | the cone angle centile |
Definition at line 476 of file VertexBasedPfoMopUpAlgorithm.cc.
References m_apex, m_direction, and m_pCluster.
Referenced by ConeParameters().
|
private |
Get the cone direction estimate, with apex fixed at the 2d vertex position.
Definition at line 432 of file VertexBasedPfoMopUpAlgorithm.cc.
References f, m_apex, and m_pCluster.
Referenced by ConeParameters().
|
private |
Get the cone length (signed, by projections of hits onto initial direction estimate)
Definition at line 455 of file VertexBasedPfoMopUpAlgorithm.cc.
References f, m_apex, m_direction, and m_pCluster.
Referenced by ConeParameters().
|
private |
The cone apex.
Definition at line 240 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by GetBoundedFraction(), GetCosHalfAngleEstimate(), GetDirectionEstimate(), and GetSignedConeLength().
|
private |
The cone cos half angle.
Definition at line 243 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by ConeParameters(), and GetBoundedFraction().
|
private |
The cone length.
Definition at line 242 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by ConeParameters(), and GetBoundedFraction().
|
private |
The cone direction.
Definition at line 241 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by ConeParameters(), GetBoundedFraction(), GetCosHalfAngleEstimate(), and GetSignedConeLength().
|
private |
The parent cluster.
Definition at line 239 of file VertexBasedPfoMopUpAlgorithm.h.
Referenced by GetCosHalfAngleEstimate(), GetDirectionEstimate(), and GetSignedConeLength().