APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
|
CaloHitMetaData class. More...
#include <APRILMetaData.h>
Public Member Functions | |
CaloHitMetaData (april_content::CaloHit *const pCaloHit) | |
Constructor. More... | |
~CaloHitMetaData () | |
Destructor. | |
const april_content::CaloHit * | GetCaloHit () 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::CaloHit * | m_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 |
CaloHitMetaData class.
april_content::CaloHitMetaData::CaloHitMetaData | ( | april_content::CaloHit *const | pCaloHit | ) |
Constructor.
pCaloHit | the calo hit for this meta data |
pandora::StatusCode april_content::CaloHitMetaData::AddConnector | ( | const Connector *const | pConnector, |
ConnectorDirection | direction | ||
) |
Add an available connector to meta data.
pConnector | an unavailable connector to add |
direction | the connector direction |
pandora::StatusCode april_content::CaloHitMetaData::FindConnector | ( | const april_content::CaloHit *const | pCaloHit, |
const Connector *& | pConnector | ||
) | const |
Find a connector.
pCaloHit | an other calo hit to check for connection |
pConnector | the 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.
pCaloHit | an other calo hit to check for connection |
direction | the connector direction |
pConnector | the connector address to receive |
const ConnectorList & april_content::CaloHitMetaData::GetConnectorList | ( | ConnectorDirection | direction | ) | const |
Get the connector list for a given direction.
direction | the connector direction |
bool april_content::CaloHitMetaData::IsConnected | ( | const april_content::CaloHit *const | pCaloHit | ) | const |
Whether the calo hit is connected with another one.
pCaloHit | an 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.
pCaloHit | an other calo hit to check for connection |
direction | the connector direction |
pandora::StatusCode april_content::CaloHitMetaData::RemoveConnector | ( | const Connector *const | pConnector | ) |
Remove the connection with an other calo hit.
pConnector | the connector to remove (not deleted) |