LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "LArGraph.h"
Public Member Functions | |
Edge (const pandora::CaloHit *const pVertex0, const pandora::CaloHit *const pVertex1) | |
Constructor. More... | |
float | LengthSquared () const |
Compute the square of the length of this edge. More... | |
bool | operator== (const Edge &other) const |
Check if another edge shares the same calo hit end points. More... | |
Public Attributes | |
const pandora::CaloHit *const | m_v0 |
An endpoint of the edge. More... | |
const pandora::CaloHit *const | m_v1 |
An endpoint of the edge. More... | |
Definition at line 24 of file LArGraph.h.
lar_content::LArGraph::Edge::Edge | ( | const pandora::CaloHit *const | pVertex0, |
const pandora::CaloHit *const | pVertex1 | ||
) |
Constructor.
vertex0 | An endpoint of the edge |
vertex1 | An endpoint of the edge |
Definition at line 242 of file LArGraph.cc.
References m_v1.
float lar_content::LArGraph::Edge::LengthSquared | ( | ) | const |
Compute the square of the length of this edge.
Definition at line 250 of file LArGraph.cc.
|
inline |
Check if another edge shares the same calo hit end points.
other | The edge to compare to this edge |
Definition at line 49 of file LArGraph.h.
const pandora::CaloHit* const lar_content::LArGraph::Edge::m_v0 |
An endpoint of the edge.
Definition at line 52 of file LArGraph.h.
Referenced by LengthSquared(), and operator==().
const pandora::CaloHit* const lar_content::LArGraph::Edge::m_v1 |
An endpoint of the edge.
Definition at line 55 of file LArGraph.h.
Referenced by Edge(), LengthSquared(), and operator==().