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

Particle class. More...

#include <CosmicRayBaseMatchingAlgorithm.h>

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 31 of file CosmicRayBaseMatchingAlgorithm.h.

Constructor & Destructor Documentation

lar_content::CosmicRayBaseMatchingAlgorithm::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 286 of file CosmicRayBaseMatchingAlgorithm.cc.

286  :
287  m_pClusterU(pClusterU),
288  m_pClusterV(pClusterV),
289  m_pClusterW(pClusterW)
290 {
291  if (NULL == m_pClusterU && NULL == m_pClusterV && NULL == m_pClusterW)
292  throw StatusCodeException(STATUS_CODE_FAILURE);
293 
294  const HitType hitTypeU(NULL == m_pClusterU ? TPC_VIEW_U : LArClusterHelper::GetClusterHitType(m_pClusterU));
295  const HitType hitTypeV(NULL == m_pClusterV ? TPC_VIEW_V : LArClusterHelper::GetClusterHitType(m_pClusterV));
296  const HitType hitTypeW(NULL == m_pClusterW ? TPC_VIEW_W : LArClusterHelper::GetClusterHitType(m_pClusterW));
297 
298  if (!(TPC_VIEW_U == hitTypeU && TPC_VIEW_V == hitTypeV && TPC_VIEW_W == hitTypeW))
299  throw StatusCodeException(STATUS_CODE_FAILURE);
300 }
enum cvn::HType HitType
const pandora::Cluster * m_pClusterV
Address of cluster in V view.
static pandora::HitType GetClusterHitType(const pandora::Cluster *const pCluster)
Get the hit type associated with a two dimensional cluster.
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::CosmicRayBaseMatchingAlgorithm::Particle::m_pClusterU

Address of cluster in U view.

Definition at line 43 of file CosmicRayBaseMatchingAlgorithm.h.

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

Address of cluster in V view.

Definition at line 44 of file CosmicRayBaseMatchingAlgorithm.h.

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

Address of cluster in W view.

Definition at line 45 of file CosmicRayBaseMatchingAlgorithm.h.


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