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 &point, const pandora::CartesianVector &direction) 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... | |
double | m_d |
Parameter defining a plane. More... | |
Plane class.
Definition at line 56 of file BdtBeamParticleIdTool.h.
lar_content::BdtBeamParticleIdTool::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 347 of file BdtBeamParticleIdTool.cc.
References m_unitNormal.
CartesianVector lar_content::BdtBeamParticleIdTool::Plane::GetLineIntersection | ( | const pandora::CartesianVector & | point, |
const pandora::CartesianVector & | direction | ||
) | const |
Return the intersection between the plane and a line.
point | a point on the line |
direction | vector pointing along the line |
Definition at line 365 of file BdtBeamParticleIdTool.cc.
References m_d, m_unitNormal, and max.
|
private |
Parameter defining a plane.
Definition at line 78 of file BdtBeamParticleIdTool.h.
Referenced by GetLineIntersection().
|
private |
A point on the plane.
Definition at line 77 of file BdtBeamParticleIdTool.h.
|
private |
Unit normal to plane.
Definition at line 76 of file BdtBeamParticleIdTool.h.
Referenced by GetLineIntersection(), and Plane().