LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar_content::VertexBasedPfoRecoveryAlgorithm::Particle Class Reference

Particle class. More...

Public Member Functions

 Particle (const pandora::Cluster *const pClusterU, const pandora::Cluster *const pClusterV, const pandora::Cluster *const pClusterW)
 Constructor. More...
 

Public Attributes

const pandora::Cluster * m_pClusterU
 Address of cluster in U view. More...
 
const pandora::Cluster * m_pClusterV
 Address of cluster in V view. More...
 
const pandora::Cluster * m_pClusterW
 Address of cluster in W view. More...
 

Detailed Description

Particle class.

Definition at line 36 of file VertexBasedPfoRecoveryAlgorithm.h.

Constructor & Destructor Documentation

lar_content::VertexBasedPfoRecoveryAlgorithm::Particle::Particle ( const pandora::Cluster *const  pClusterU,
const pandora::Cluster *const  pClusterV,
const pandora::Cluster *const  pClusterW 
)

Constructor.

Parameters
pClusterUthe cluster in the U view
pClusterVthe cluster in the V view
pClusterWthe cluster in the W view

Definition at line 525 of file VertexBasedPfoRecoveryAlgorithm.cc.

References lar_content::LArClusterHelper::GetClusterHitType(), m_pClusterU, m_pClusterV, and m_pClusterW.

525  :
526  m_pClusterU(pClusterU),
527  m_pClusterV(pClusterV),
528  m_pClusterW(pClusterW)
529 {
530  if (NULL == m_pClusterU && NULL == m_pClusterV && NULL == m_pClusterW)
531  throw StatusCodeException(STATUS_CODE_FAILURE);
532 
533  const HitType hitTypeU(NULL == m_pClusterU ? TPC_VIEW_U : LArClusterHelper::GetClusterHitType(m_pClusterU));
534  const HitType hitTypeV(NULL == m_pClusterV ? TPC_VIEW_V : LArClusterHelper::GetClusterHitType(m_pClusterV));
535  const HitType hitTypeW(NULL == m_pClusterW ? TPC_VIEW_W : LArClusterHelper::GetClusterHitType(m_pClusterW));
536 
537  if (!(TPC_VIEW_U == hitTypeU && TPC_VIEW_V == hitTypeV && TPC_VIEW_W == hitTypeW))
538  throw StatusCodeException(STATUS_CODE_FAILURE);
539 }
static pandora::HitType GetClusterHitType(const pandora::Cluster *const pCluster)
Get the hit type associated with a two dimensional cluster.
const pandora::Cluster * m_pClusterV
Address of cluster in V view.
HitType
Definition: HitType.h:12
const pandora::Cluster * m_pClusterW
Address of cluster in W view.
const pandora::Cluster * m_pClusterU
Address of cluster in U view.

Member Data Documentation

const pandora::Cluster* lar_content::VertexBasedPfoRecoveryAlgorithm::Particle::m_pClusterU

Address of cluster in U view.

Definition at line 48 of file VertexBasedPfoRecoveryAlgorithm.h.

Referenced by lar_content::VertexBasedPfoRecoveryAlgorithm::BuildParticles(), and Particle().

const pandora::Cluster* lar_content::VertexBasedPfoRecoveryAlgorithm::Particle::m_pClusterV

Address of cluster in V view.

Definition at line 49 of file VertexBasedPfoRecoveryAlgorithm.h.

Referenced by lar_content::VertexBasedPfoRecoveryAlgorithm::BuildParticles(), and Particle().

const pandora::Cluster* lar_content::VertexBasedPfoRecoveryAlgorithm::Particle::m_pClusterW

Address of cluster in W view.

Definition at line 50 of file VertexBasedPfoRecoveryAlgorithm.h.

Referenced by lar_content::VertexBasedPfoRecoveryAlgorithm::BuildParticles(), and Particle().


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