APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations
Public Member Functions | Private Attributes | Friends | List of all members
april_content::CaloHitMetaData Class Reference

CaloHitMetaData class. More...

#include <APRILMetaData.h>

Public Member Functions

 CaloHitMetaData (april_content::CaloHit *const pCaloHit)
 Constructor. More...
 
 ~CaloHitMetaData ()
 Destructor.
 
const april_content::CaloHitGetCaloHit () const
 Get the calo hit of this connector meta data.
 
bool IsConnected (const april_content::CaloHit *const pCaloHit) const
 Whether the calo hit is connected with another one. More...
 
bool IsConnected (const april_content::CaloHit *const pCaloHit, ConnectorDirection direction) const
 Whether the calo hit is connected with another one in the given direction. More...
 
pandora::StatusCode FindConnector (const april_content::CaloHit *const pCaloHit, const Connector *&pConnector) const
 Find a connector. More...
 
pandora::StatusCode FindConnector (const april_content::CaloHit *const pCaloHit, ConnectorDirection direction, const Connector *&pConnector) const
 Find a connector in a given direction. More...
 
bool HasAnyConnection () const
 Whether the calo hit has at least one connection.
 
const ConnectorList & GetConnectorList () const
 Get the global connector list (backward and forward)
 
const ConnectorList & GetConnectorList (ConnectorDirection direction) const
 Get the connector list for a given direction. More...
 
bool IsSeed () const
 Whether the calo hit is a seed calo hit in the tree.
 
bool IsLeaf () const
 Whether the calo hit is a leaf calo hit in the tree.
 
pandora::StatusCode AddConnector (const Connector *const pConnector, ConnectorDirection direction)
 Add an available connector to meta data. More...
 
pandora::StatusCode RemoveConnector (const Connector *const pConnector)
 Remove the connection with an other calo hit. More...
 
pandora::StatusCode RemoveAllConnections ()
 Remove all connections.
 

Private Attributes

april_content::CaloHitm_pCaloHit
 The handled april calo hit.
 
ConnectorList m_allConnectorList
 All connected calo hits.
 
ConnectorList m_forwardConnectorList
 Forward connected calo hits.
 
ConnectorList m_backwardConnectorList
 Backward connected calo hits.
 
bool m_isLeaf
 Whether the calo hit is a leaf.
 
bool m_isSeed
 Whether the calo hit is a seed.
 

Friends

class CaloHit
 

Detailed Description

CaloHitMetaData class.

Constructor & Destructor Documentation

april_content::CaloHitMetaData::CaloHitMetaData ( april_content::CaloHit *const  pCaloHit)

Constructor.

Parameters
pCaloHitthe calo hit for this meta data

Member Function Documentation

pandora::StatusCode april_content::CaloHitMetaData::AddConnector ( const Connector *const  pConnector,
ConnectorDirection  direction 
)

Add an available connector to meta data.

Parameters
pConnectoran unavailable connector to add
directionthe connector direction
pandora::StatusCode april_content::CaloHitMetaData::FindConnector ( const april_content::CaloHit *const  pCaloHit,
const Connector *&  pConnector 
) const

Find a connector.

Parameters
pCaloHitan other calo hit to check for connection
pConnectorthe connector address to receive
pandora::StatusCode april_content::CaloHitMetaData::FindConnector ( const april_content::CaloHit *const  pCaloHit,
ConnectorDirection  direction,
const Connector *&  pConnector 
) const

Find a connector in a given direction.

Parameters
pCaloHitan other calo hit to check for connection
directionthe connector direction
pConnectorthe connector address to receive
const ConnectorList & april_content::CaloHitMetaData::GetConnectorList ( ConnectorDirection  direction) const

Get the connector list for a given direction.

Parameters
directionthe connector direction
bool april_content::CaloHitMetaData::IsConnected ( const april_content::CaloHit *const  pCaloHit) const

Whether the calo hit is connected with another one.

Parameters
pCaloHitan other calo hit to check for connection
bool april_content::CaloHitMetaData::IsConnected ( const april_content::CaloHit *const  pCaloHit,
ConnectorDirection  direction 
) const

Whether the calo hit is connected with another one in the given direction.

Parameters
pCaloHitan other calo hit to check for connection
directionthe connector direction
pandora::StatusCode april_content::CaloHitMetaData::RemoveConnector ( const Connector *const  pConnector)

Remove the connection with an other calo hit.

Parameters
pConnectorthe connector to remove (not deleted)

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