APRILContent
Algorithm of Particle Reconstruction for ILC - implementation with PandoraSDK
|
#include <Connector.h>
Public Member Functions | |
const april_content::CaloHit * | GetFrom () const |
Get the 'from' calo hit. | |
const april_content::CaloHit * | GetTo () const |
Get the 'to' calo hit. | |
const april_content::CaloHit * | Get (ConnectorDirection direction) const |
Get the 'to' or 'from' calo hit (from (to) for BACKWARD_DIRECTION (FORWARD_DIRECTION)) | |
float | GetLength () const |
Get the connector length. | |
float | GetReferenceLength () const |
Get the reference length. | |
float | GetNormalizedLength () const |
Get the normalized length. | |
pandora::CartesianVector | GetVector (ConnectorDirection direction=FORWARD_DIRECTION) const |
Get the connector vector depending on the asked direction. | |
bool | IsFrom (const april_content::CaloHit *const pCaloHit) const |
Whether the calo hit is the 'from' calo hit of this connector. | |
bool | IsTo (const april_content::CaloHit *const pCaloHit) const |
Whether the calo hit is the 'to' calo hit of this connector. | |
float | GetOpeningAngle (const Connector *const pConnector) const |
Get the opening angle with an other connector (radian) | |
unsigned int | GetCreationStage () const |
Private Member Functions | |
Connector (const april_content::CaloHit *const pFromCaloHit, const april_content::CaloHit *const pToCaloHit, float referenceLength=1.f, unsigned int creationStage=-1) | |
Constructor with two calo hits and a reference length. | |
~Connector () | |
Destructor. | |
Private Attributes | |
const CaloHit * | m_pFromCaloHit |
The 'from' calo hit of this connector. | |
const CaloHit * | m_pToCaloHit |
The 'to' calo hit of this connector. | |
float | m_referenceLength |
The reference length on connector creation. | |
unsigned int | m_creationStage |
The clustering stage of connector creation. | |
Friends | |
class | CaloHit |
class | ::APRILContentApi |
Connector class.