LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
Plane (const pandora::CartesianVector &normal, const pandora::CartesianVector &point) | |
Constructor, using equation of plane: m_a*x + m_b*y + m_c*z + m_d = 0. More... | |
pandora::CartesianVector | GetLineIntersection (const pandora::CartesianVector &a0, const pandora::CartesianVector &a) const |
Return the intersection between the plane and a line. More... | |
Private Attributes | |
pandora::CartesianVector | m_unitNormal |
Unit normal to plane. More... | |
pandora::CartesianVector | m_point |
A point on the plane. More... | |
float | m_d |
Parameter defining a plane. More... | |
Plane class.
Definition at line 35 of file BeamParticleIdTool.h.
lar_content::BeamParticleIdTool::Plane::Plane | ( | const pandora::CartesianVector & | normal, |
const pandora::CartesianVector & | point | ||
) |
Constructor, using equation of plane: m_a*x + m_b*y + m_c*z + m_d = 0.
normal | a Cartesian vector that points in a direction that is normal to the plane |
point | a Cartesian vector that corresponds to any point on the plane |
Definition at line 257 of file BeamParticleIdTool.cc.
CartesianVector lar_content::BeamParticleIdTool::Plane::GetLineIntersection | ( | const pandora::CartesianVector & | a0, |
const pandora::CartesianVector & | a | ||
) | const |
Return the intersection between the plane and a line.
a0 | point on the line |
a | vector pointing along the line |
Definition at line 266 of file BeamParticleIdTool.cc.
References f, m_d, and m_unitNormal.
|
private |
Parameter defining a plane.
Definition at line 57 of file BeamParticleIdTool.h.
Referenced by GetLineIntersection().
|
private |
A point on the plane.
Definition at line 56 of file BeamParticleIdTool.h.
|
private |
Unit normal to plane.
Definition at line 55 of file BeamParticleIdTool.h.
Referenced by GetLineIntersection().