Pandora
Pandora source code navigator
Loading...
Searching...
No Matches
lar_content::LArPointingCluster::Vertex Class Reference

Vertex class. More...

#include "LArPointingCluster.h"

Collaboration diagram for lar_content::LArPointingCluster::Vertex:

Public Member Functions

 Vertex ()
 Default constructor.
 
 Vertex (const pandora::Cluster *const pCluster, const pandora::CartesianVector &position, const pandora::CartesianVector &direction, const float rms, const bool isInner)
 Constructor.
 
 Vertex (const Vertex &rhs)
 Copy constructor.
 
 ~Vertex ()
 Destructor.
 
const pandora::ClusterGetCluster () const
 Get the address of the cluster.
 
const pandora::CartesianVectorGetPosition () const
 Get the vertex position.
 
const pandora::CartesianVectorGetDirection () const
 Get the vertex direction.
 
float GetRms () const
 Get rms from vertex fit.
 
bool IsInnerVertex () const
 Is this the inner vertex.
 
bool IsInitialized () const
 Whether the vertex has been initialized.
 
Vertexoperator= (const Vertex &rhs)
 Vertex assigment operator.
 

Private Attributes

const pandora::Clusterm_pCluster
 The address of the cluster.
 
pandora::CartesianVector m_position
 The vertex position.
 
pandora::CartesianVector m_direction
 The vertex direction.
 
float m_rms
 Rms from vertex fit.
 
bool m_isInner
 Whether this is the inner vertex.
 
bool m_isInitialized
 Whether the vertex has been initialized.
 

Detailed Description

Vertex class.

Definition at line 26 of file LArPointingCluster.h.

Constructor & Destructor Documentation

◆ Vertex() [1/3]

lar_content::LArPointingCluster::Vertex::Vertex ( )

Default constructor.

Definition at line 97 of file LArPointingCluster.cc.

◆ Vertex() [2/3]

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.

Parameters
pClusteraddress of the cluster
positionthe vertex position
directionthe vertex direction
rmsthe rms from vertex fit
isInnerwhether this is a cluster inner or outer vertex

Definition at line 109 of file LArPointingCluster.cc.

◆ Vertex() [3/3]

lar_content::LArPointingCluster::Vertex::Vertex ( const Vertex rhs)

Copy constructor.

Parameters
rhsthe vertex instance to copy

Definition at line 122 of file LArPointingCluster.cc.

◆ ~Vertex()

lar_content::LArPointingCluster::Vertex::~Vertex ( )

Destructor.

Definition at line 134 of file LArPointingCluster.cc.

Member Function Documentation

◆ GetCluster()

const pandora::Cluster * lar_content::LArPointingCluster::Vertex::GetCluster ( ) const
inline

Get the address of the cluster.

Returns
the address of the cluster

Definition at line 237 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ GetDirection()

const pandora::CartesianVector & lar_content::LArPointingCluster::Vertex::GetDirection ( ) const
inline

Get the vertex direction.

Returns
the vertex direction

Definition at line 257 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ GetPosition()

const pandora::CartesianVector & lar_content::LArPointingCluster::Vertex::GetPosition ( ) const
inline

Get the vertex position.

Returns
the vertex position

Definition at line 247 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ GetRms()

float lar_content::LArPointingCluster::Vertex::GetRms ( ) const
inline

Get rms from vertex fit.

Returns
the rms

Definition at line 267 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ IsInitialized()

bool lar_content::LArPointingCluster::Vertex::IsInitialized ( ) const
inline

Whether the vertex has been initialized.

Returns
boolean

Definition at line 287 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ IsInnerVertex()

bool lar_content::LArPointingCluster::Vertex::IsInnerVertex ( ) const
inline

Is this the inner vertex.

Returns
boolean

Definition at line 277 of file LArPointingCluster.h.

Here is the caller graph for this function:

◆ operator=()

LArPointingCluster::Vertex & lar_content::LArPointingCluster::Vertex::operator= ( const Vertex rhs)

Vertex assigment operator.

Parameters
rhsthe vertex to assign

Definition at line 140 of file LArPointingCluster.cc.

Member Data Documentation

◆ m_direction

pandora::CartesianVector lar_content::LArPointingCluster::Vertex::m_direction
private

The vertex direction.

Definition at line 111 of file LArPointingCluster.h.

◆ m_isInitialized

bool lar_content::LArPointingCluster::Vertex::m_isInitialized
private

Whether the vertex has been initialized.

Definition at line 114 of file LArPointingCluster.h.

◆ m_isInner

bool lar_content::LArPointingCluster::Vertex::m_isInner
private

Whether this is the inner vertex.

Definition at line 113 of file LArPointingCluster.h.

◆ m_pCluster

const pandora::Cluster* lar_content::LArPointingCluster::Vertex::m_pCluster
private

The address of the cluster.

Definition at line 109 of file LArPointingCluster.h.

◆ m_position

pandora::CartesianVector lar_content::LArPointingCluster::Vertex::m_position
private

The vertex position.

Definition at line 110 of file LArPointingCluster.h.

◆ m_rms

float lar_content::LArPointingCluster::Vertex::m_rms
private

Rms from vertex fit.

Definition at line 112 of file LArPointingCluster.h.


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