Public Member Functions | Public Attributes | List of all members
lar_content::TwoViewThreeDKinkTool::Particle Class Reference

Particle class. More...

Public Member Functions

 Particle (const MatrixType::Element &elementA, const MatrixType::Element &elementB)
 Constructor. More...
 

Public Attributes

const pandora::Cluster * m_pClusterA
 Address of non-shared cluster in element A. More...
 
const pandora::Cluster * m_pClusterB
 Address of non-shared cluster in element B. More...
 
const pandora::Cluster * m_pCommonCluster
 Address of the common cluster. More...
 

Detailed Description

Particle class.

Definition at line 55 of file TwoViewThreeDKinkTool.h.

Constructor & Destructor Documentation

lar_content::TwoViewThreeDKinkTool::Particle::Particle ( const MatrixType::Element &  elementA,
const MatrixType::Element &  elementB 
)

Constructor.

Parameters
elementAthe matrix element A
elementBthe matrix element B

Definition at line 407 of file TwoViewThreeDKinkTool.cc.

408 {
409  m_pClusterA = (elementA.GetCluster1() != elementB.GetCluster1()) ? elementA.GetCluster1() : elementA.GetCluster2();
410  m_pClusterB = (elementA.GetCluster1() != elementB.GetCluster1()) ? elementB.GetCluster1() : elementB.GetCluster2();
411  m_pCommonCluster = (elementA.GetCluster1() == elementB.GetCluster1()) ? elementA.GetCluster1() : elementA.GetCluster2();
412 
413  if (m_pClusterA == m_pClusterB)
414  throw StatusCodeException(STATUS_CODE_FAILURE);
415 }
const pandora::Cluster * m_pClusterB
Address of non-shared cluster in element B.
const pandora::Cluster * m_pClusterA
Address of non-shared cluster in element A.
const pandora::Cluster * m_pCommonCluster
Address of the common cluster.

Member Data Documentation

const pandora::Cluster* lar_content::TwoViewThreeDKinkTool::Particle::m_pClusterA

Address of non-shared cluster in element A.

Definition at line 66 of file TwoViewThreeDKinkTool.h.

const pandora::Cluster* lar_content::TwoViewThreeDKinkTool::Particle::m_pClusterB

Address of non-shared cluster in element B.

Definition at line 67 of file TwoViewThreeDKinkTool.h.

const pandora::Cluster* lar_content::TwoViewThreeDKinkTool::Particle::m_pCommonCluster

Address of the common cluster.

Definition at line 68 of file TwoViewThreeDKinkTool.h.


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