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

Connector class. More...

#include <Connector.h>

Public Member Functions

const april_content::CaloHitGetFrom () const
 Get the 'from' calo hit.
 
const april_content::CaloHitGetTo () const
 Get the 'to' calo hit.
 
const april_content::CaloHitGet (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 CaloHitm_pFromCaloHit
 The 'from' calo hit of this connector.
 
const CaloHitm_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
 

Detailed Description

Connector class.


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