#include <LArPointingCluster.h>
Public Member Functions | |
Vertex () | |
Default constructor. More... | |
Vertex (const pandora::Cluster *const pCluster, const pandora::CartesianVector &position, const pandora::CartesianVector &direction, const float rms, const bool isInner) | |
Constructor. More... | |
Vertex (const Vertex &rhs) | |
Copy constructor. More... | |
~Vertex () | |
Destructor. More... | |
const pandora::Cluster * | GetCluster () const |
Get the address of the cluster. More... | |
const pandora::CartesianVector & | GetPosition () const |
Get the vertex position. More... | |
const pandora::CartesianVector & | GetDirection () const |
Get the vertex direction. More... | |
float | GetRms () const |
Get rms from vertex fit. More... | |
bool | IsInnerVertex () const |
Is this the inner vertex. More... | |
bool | IsInitialized () const |
Whether the vertex has been initialized. More... | |
Vertex & | operator= (const Vertex &rhs) |
Vertex assigment operator. More... | |
Private Attributes | |
const pandora::Cluster * | m_pCluster |
The address of the cluster. More... | |
pandora::CartesianVector | m_position |
The vertex position. More... | |
pandora::CartesianVector | m_direction |
The vertex direction. More... | |
float | m_rms |
Rms from vertex fit. More... | |
bool | m_isInner |
Whether this is the inner vertex. More... | |
bool | m_isInitialized |
Whether the vertex has been initialized. More... | |
Vertex class.
Definition at line 26 of file LArPointingCluster.h.
lar_content::LArPointingCluster::Vertex::Vertex | ( | void | ) |
Default constructor.
Definition at line 97 of file LArPointingCluster.cc.
lar_content::LArPointingCluster::Vertex::Vertex | ( | const pandora::Cluster *const | pCluster, |
const pandora::CartesianVector & | position, | ||
const pandora::CartesianVector & | direction, | ||
const float | rms, | ||
const bool | isInner | ||
) |
Constructor.
pCluster | address of the cluster |
position | the vertex position |
direction | the vertex direction |
rms | the rms from vertex fit |
isInner | whether this is a cluster inner or outer vertex |
lar_content::LArPointingCluster::Vertex::Vertex | ( | const Vertex & | rhs | ) |
Copy constructor.
rhs | the vertex instance to copy |
Definition at line 122 of file LArPointingCluster.cc.
lar_content::LArPointingCluster::Vertex::~Vertex | ( | ) |
|
inline |
Get the address of the cluster.
Definition at line 237 of file LArPointingCluster.h.
|
inline |
Get the vertex direction.
Definition at line 257 of file LArPointingCluster.h.
|
inline |
Get the vertex position.
Definition at line 247 of file LArPointingCluster.h.
|
inline |
Get rms from vertex fit.
Definition at line 267 of file LArPointingCluster.h.
|
inline |
Whether the vertex has been initialized.
Definition at line 287 of file LArPointingCluster.h.
|
inline |
Is this the inner vertex.
Definition at line 277 of file LArPointingCluster.h.
LArPointingCluster::Vertex & lar_content::LArPointingCluster::Vertex::operator= | ( | const Vertex & | rhs | ) |
Vertex assigment operator.
rhs | the vertex to assign |
Definition at line 140 of file LArPointingCluster.cc.
|
private |
The vertex direction.
Definition at line 111 of file LArPointingCluster.h.
|
private |
Whether the vertex has been initialized.
Definition at line 114 of file LArPointingCluster.h.
|
private |
Whether this is the inner vertex.
Definition at line 113 of file LArPointingCluster.h.
|
private |
The address of the cluster.
Definition at line 109 of file LArPointingCluster.h.
|
private |
The vertex position.
Definition at line 110 of file LArPointingCluster.h.
|
private |
Rms from vertex fit.
Definition at line 112 of file LArPointingCluster.h.