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

ConnectorAlignmentTool class. More...

#include <ConnectorAlignmentTool.h>

Inheritance diagram for april_content::ConnectorAlignmentTool:
april_content::ConnectorAlgorithmTool

Classes

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

Public Member Functions

pandora::StatusCode Process (const pandora::Algorithm &algorithm, const pandora::CaloHitList *const pCaloHitList=nullptr)
 Seed connectors from 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 Member Functions

pandora::StatusCode GetOrderedCaloHitList (const pandora::Algorithm &algorithm, const pandora::CaloHitList *const pCaloHitList, pandora::OrderedCaloHitList &orderedCaloHitList) const
 Get the ordered calo hit list. Filter on availability in specified. More...
 
pandora::StatusCode GetConnectorList (const pandora::OrderedCaloHitList &orderedCaloHitList, ConnectorList &connectorList) const
 Get the connector list to align. More...
 
pandora::StatusCode ConnectBackward (const pandora::OrderedCaloHitList &orderedCaloHitList, const Connector *const pConnector) const
 Create new connection in the forward direction of the target connector. More...
 
pandora::StatusCode ConnectForward (const pandora::OrderedCaloHitList &orderedCaloHitList, const Connector *const pConnector) const
 Create new connection in the backward direction of the target connector. More...
 

Private Attributes

bool m_connectOnlyAvailable
 Whether to connect only available hits.
 
bool m_shouldUseIsolatedHits
 Whether to use isolated hits.
 
bool m_shouldConnectOnlySameHitType
 Whether to connect only hits with same type.
 
unsigned int m_maxPseudoLayerConnection
 The maximum pseudo layer for a suitable connection.
 
float m_maxConnectionAngleFine
 The maximum angle (fine granularity) for a suitable connection.
 
float m_maxConnectionAngleCoarse
 The maximum angle (coarse granularity) for a suitable connection.
 
float m_maxConnectionDistanceFine
 The maximum distance between hits (fine granularity) for a suitable connection.
 
float m_maxConnectionDistanceCoarse
 The maximum distance between hits (coarse granularity) for a suitable connection.
 

Detailed Description

ConnectorAlignmentTool class.

Member Function Documentation

pandora::StatusCode april_content::ConnectorAlignmentTool::ConnectBackward ( const pandora::OrderedCaloHitList &  orderedCaloHitList,
const Connector *const  pConnector 
) const
private

Create new connection in the forward direction of the target connector.

Parameters
orderedCaloHitListthe input ordered calo hit list
pConnectorthe target connector
pandora::StatusCode april_content::ConnectorAlignmentTool::ConnectForward ( const pandora::OrderedCaloHitList &  orderedCaloHitList,
const Connector *const  pConnector 
) const
private

Create new connection in the backward direction of the target connector.

Parameters
orderedCaloHitListthe input ordered calo hit list
pConnectorthe target connector
pandora::StatusCode april_content::ConnectorAlignmentTool::GetConnectorList ( const pandora::OrderedCaloHitList &  orderedCaloHitList,
ConnectorList &  connectorList 
) const
private

Get the connector list to align.

Parameters
orderedCaloHitListthe input ordered calo hit list
connectorListthe connector list to receive
pandora::StatusCode april_content::ConnectorAlignmentTool::GetOrderedCaloHitList ( const pandora::Algorithm &  algorithm,
const pandora::CaloHitList *const  pCaloHitList,
pandora::OrderedCaloHitList &  orderedCaloHitList 
) const
private

Get the ordered calo hit list. Filter on availability in specified.

Parameters
pCaloHitListthe input calo hit list
orderedCaloHitListthe ordered calo hit list to receive
pandora::StatusCode april_content::ConnectorAlignmentTool::Process ( const pandora::Algorithm &  algorithm,
const pandora::CaloHitList *const  pCaloHitList = nullptr 
)
virtual

Seed connectors from 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::ConnectorAlignmentTool::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: