All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
lar_dl_content::DlVertexingAlgorithm::VertexTuple Class Reference

Public Member Functions

 VertexTuple (const pandora::Pandora &pandora, const pandora::CartesianVector &vertexU, const pandora::CartesianVector &vertexV, const pandora::CartesianVector &vertexW)
 
 VertexTuple (const pandora::Pandora &pandora, const pandora::CartesianVector &vertex1, const pandora::CartesianVector &vertex2, const pandora::HitType view1, const pandora::HitType view2)
 
const pandora::CartesianVector & GetPosition () const
 
float GetChi2 () const
 
std::string ToString () const
 

Private Attributes

pandora::CartesianVector m_pos
 Calculated 3D position. More...
 
float m_chi2
 Chi squared of calculated position. More...
 

Detailed Description

Definition at line 40 of file DlVertexingAlgorithm.h.

Constructor & Destructor Documentation

lar_dl_content::DlVertexingAlgorithm::VertexTuple::VertexTuple ( const pandora::Pandora &  pandora,
const pandora::CartesianVector &  vertexU,
const pandora::CartesianVector &  vertexV,
const pandora::CartesianVector &  vertexW 
)
lar_dl_content::DlVertexingAlgorithm::VertexTuple::VertexTuple ( const pandora::Pandora &  pandora,
const pandora::CartesianVector &  vertex1,
const pandora::CartesianVector &  vertex2,
const pandora::HitType  view1,
const pandora::HitType  view2 
)

Member Function Documentation

float lar_dl_content::DlVertexingAlgorithm::VertexTuple::GetChi2 ( ) const

Definition at line 909 of file DlVertexingAlgorithm.cc.

910 {
911  return m_chi2;
912 }
float m_chi2
Chi squared of calculated position.
const CartesianVector & lar_dl_content::DlVertexingAlgorithm::VertexTuple::GetPosition ( ) const

Definition at line 902 of file DlVertexingAlgorithm.cc.

903 {
904  return m_pos;
905 }
pandora::CartesianVector m_pos
Calculated 3D position.
std::string lar_dl_content::DlVertexingAlgorithm::VertexTuple::ToString ( ) const

Definition at line 916 of file DlVertexingAlgorithm.cc.

917 {
918  const float x{m_pos.GetX()}, y{m_pos.GetY()}, z{m_pos.GetZ()};
919  return "3D pos: (" + std::to_string(x) + ", " + std::to_string(y) + ", " + std::to_string(z) + ") X2 = " + std::to_string(m_chi2);
920 }
pandora::CartesianVector m_pos
Calculated 3D position.
process_name opflash particleana ie ie ie z
process_name opflash particleana ie x
process_name opflash particleana ie ie y
std::string to_string(WindowPattern const &pattern)
float m_chi2
Chi squared of calculated position.

Member Data Documentation

float lar_dl_content::DlVertexingAlgorithm::VertexTuple::m_chi2
private

Chi squared of calculated position.

Definition at line 55 of file DlVertexingAlgorithm.h.

pandora::CartesianVector lar_dl_content::DlVertexingAlgorithm::VertexTuple::m_pos
private

Calculated 3D position.

Definition at line 54 of file DlVertexingAlgorithm.h.


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