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 &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 58 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 353 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 371 of file BdtBeamParticleIdTool.cc.
References m_d, and m_unitNormal.
|
private |
Parameter defining a plane.
Definition at line 80 of file BdtBeamParticleIdTool.h.
Referenced by GetLineIntersection().
|
private |
A point on the plane.
Definition at line 79 of file BdtBeamParticleIdTool.h.
|
private |
Unit normal to plane.
Definition at line 78 of file BdtBeamParticleIdTool.h.
Referenced by GetLineIntersection(), and Plane().