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 389 of file VertexBasedPfoMopUpAlgorithm.cc.
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 412 of file VertexBasedPfoMopUpAlgorithm.cc.
|
private |
Get the cone cos half angle estimate.
coneAngleCentile | the cone angle centile |
Definition at line 485 of file VertexBasedPfoMopUpAlgorithm.cc.
|
private |
Get the cone direction estimate, with apex fixed at the 2d vertex position.
Definition at line 441 of file VertexBasedPfoMopUpAlgorithm.cc.
|
private |
Get the cone length (signed, by projections of hits onto initial direction estimate)
Definition at line 464 of file VertexBasedPfoMopUpAlgorithm.cc.
|
private |
The cone apex.
Definition at line 240 of file VertexBasedPfoMopUpAlgorithm.h.
|
private |
The cone cos half angle.
Definition at line 243 of file VertexBasedPfoMopUpAlgorithm.h.
|
private |
The cone length.
Definition at line 242 of file VertexBasedPfoMopUpAlgorithm.h.
|
private |
The cone direction.
Definition at line 241 of file VertexBasedPfoMopUpAlgorithm.h.
|
private |
The parent cluster.
Definition at line 239 of file VertexBasedPfoMopUpAlgorithm.h.