LArSoft
v07_13_02
Liquid Argon Software toolkit - http://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 33 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 251 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 260 of file BeamParticleIdTool.cc.
References f, m_d, m_unitNormal, max, and min.
|
private |
Parameter defining a plane.
Definition at line 55 of file BeamParticleIdTool.h.
Referenced by GetLineIntersection().
|
private |
A point on the plane.
Definition at line 54 of file BeamParticleIdTool.h.
|
private |
Unit normal to plane.
Definition at line 53 of file BeamParticleIdTool.h.
Referenced by GetLineIntersection().