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

Classes

class  Factory
 Factory class for instantiating algorithm tool. More...
 

Public Member Functions

 ~ConnectorCleaningTool ()
 Destructor.
 
pandora::StatusCode Process (const pandora::Algorithm &algorithm, const pandora::CaloHitList *const pCaloHitList=nullptr)
 Clean the connectors of the calo hit list. More...
 
pandora::StatusCode ReadSettings (const pandora::TiXmlHandle xmlHandle)
 Read settings from the xml handle. More...
 
- Public Member Functions inherited from april_content::ConnectorAlgorithmTool
virtual ~ConnectorAlgorithmTool ()
 Destructor.
 

Private Types

typedef std::map< const
april_content::CaloHit
*, pandora::CaloHitList > 
CaloHitCleaningMap
 

Private Member Functions

pandora::CartesianVector GetReferenceVector (const april_content::CaloHit *const pCaloHit) const
 Get the order parameter of the connector in the backward direction. More...
 
pandora::StatusCode CleanCaloHits (const pandora::CaloHitList *const pCaloHitList) const
 Clean the connectors of the calo hits, ending with a tree structure. More...
 
pandora::StatusCode CleanCaloHits (const pandora::OrderedCaloHitList &orderedCaloHitList) const
 Clean the connectors of the ordered calo hit list, ending with a tree structure. More...
 

Private Attributes

unsigned int m_strategy
 
float m_backwardConnectorWeight
 
float m_forwardConnectorWeight
 
unsigned int m_backwardReferenceDirectionDepth
 
unsigned int m_forwardReferenceDirectionDepth
 
float m_orderParameterAnglePower
 
float m_orderParameterDistancePower
 

Member Function Documentation

pandora::StatusCode april_content::ConnectorCleaningTool::CleanCaloHits ( const pandora::CaloHitList *const  pCaloHitList) const
private

Clean the connectors of the calo hits, ending with a tree structure.

Parameters
pCaloHitListthe calo hit list to clean
pandora::StatusCode april_content::ConnectorCleaningTool::CleanCaloHits ( const pandora::OrderedCaloHitList &  orderedCaloHitList) const
private

Clean the connectors of the ordered calo hit list, ending with a tree structure.

Parameters
orderedCaloHitListthe ordered calo hit list to clean
pandora::CartesianVector april_content::ConnectorCleaningTool::GetReferenceVector ( const april_content::CaloHit *const  pCaloHit) const
private

Get the order parameter of the connector in the backward direction.

Parameters
pConnectorthe connector to compute the order parameter
referenceDirectionthe reference direction to compare with the connector
Returns
the order parameter Get the reference vector of the calo hit. The vector is oriented backwardly.
Parameters
pCaloHitthe calo hit to evaluate the reference vector
Returns
the reference vector
pandora::StatusCode april_content::ConnectorCleaningTool::Process ( const pandora::Algorithm &  algorithm,
const pandora::CaloHitList *const  pCaloHitList = nullptr 
)
virtual

Clean the connectors of the calo hit list.

Parameters
algorithmthe parent algorithm to access pandora content
pCaloHitListthe calo hit list to process

Implements april_content::ConnectorAlgorithmTool.

pandora::StatusCode april_content::ConnectorCleaningTool::ReadSettings ( const pandora::TiXmlHandle  xmlHandle)

Read settings from the xml handle.

Parameters
xmlHandlethe xml handle to settings

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