Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::BeamParticleIdTool::Plane Class Reference

Plane class. More...

Collaboration diagram for lar_content::BeamParticleIdTool::Plane:

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.
 
pandora::CartesianVector GetLineIntersection (const pandora::CartesianVector &a0, const pandora::CartesianVector &a) const
 Return the intersection between the plane and a line.
 

Private Attributes

pandora::CartesianVector m_unitNormal
 Unit normal to plane.
 
pandora::CartesianVector m_point
 A point on the plane.
 
float m_d
 Parameter defining a plane.
 

Detailed Description

Plane class.

Definition at line 34 of file BeamParticleIdTool.h.

Constructor & Destructor Documentation

◆ Plane()

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.

Parameters
normala Cartesian vector that points in a direction that is normal to the plane
pointa Cartesian vector that corresponds to any point on the plane

Definition at line 257 of file BeamParticleIdTool.cc.

Member Function Documentation

◆ GetLineIntersection()

CartesianVector lar_content::BeamParticleIdTool::Plane::GetLineIntersection ( const pandora::CartesianVector a0,
const pandora::CartesianVector a 
) const

Return the intersection between the plane and a line.

Parameters
a0point on the line
avector pointing along the line

Definition at line 266 of file BeamParticleIdTool.cc.

Here is the call graph for this function:

Member Data Documentation

◆ m_d

float lar_content::BeamParticleIdTool::Plane::m_d
private

Parameter defining a plane.

Definition at line 56 of file BeamParticleIdTool.h.

◆ m_point

pandora::CartesianVector lar_content::BeamParticleIdTool::Plane::m_point
private

A point on the plane.

Definition at line 55 of file BeamParticleIdTool.h.

◆ m_unitNormal

pandora::CartesianVector lar_content::BeamParticleIdTool::Plane::m_unitNormal
private

Unit normal to plane.

Definition at line 54 of file BeamParticleIdTool.h.


The documentation for this class was generated from the following files: