ATLAS Offline Software
Loading...
Searching...
No Matches
ActsTrk::IStripClusteringTool Class Referenceabstract

#include <IStripClusteringTool.h>

Inheritance diagram for ActsTrk::IStripClusteringTool:
Collaboration diagram for ActsTrk::IStripClusteringTool:

Public Types

using IDHelper = SCT_ID
using ClusterAuxContainer = xAOD::StripClusterAuxContainer
using RDOContainer
using RawDataCollection
using ClusterContainer
using CellContainer

Public Member Functions

 DeclareInterfaceID (IStripClusteringTool, 1, 0)
virtual std::pair< unsigned int, unsigned int > countCells (const RDOContainer &rdo_collection, const std::vector< IdentifierHash > &listOfIds, const InDetDD::SiDetectorElementCollection &detector_elements) const=0
 count the number of cells and expected number of clusters for the given RDO collection.
virtual StatusCode clusterize (const EventContext &ctx, const RawDataCollection &RDOs, const InDet::SiDetectorElementStatus &stripDetElStatus, const InDetDD::SiDetectorElement &element, CellContainer &cell_container) const=0
 clusterize the given RDOs.
virtual std::any createEventDataCache (ClusterContainer &cont, std::size_t nClusterRDOs) const=0
 Create a per event cache which can be used to speed up the construction of the final cluster collection.
virtual StatusCode makeClusters (const EventContext &ctx, const RDOContainer &rdo_container, const CellContainer &cell_container, unsigned int module_i, const InDetDD::SiDetectorElement &element, unsigned int icluster, ClusterContainer &cont, std::any &vars) const=0
 create the final cluster collection based on the temporary cluster collection.

Detailed Description

Definition at line 18 of file IStripClusteringTool.h.

Member Typedef Documentation

◆ CellContainer

using ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::CellContainer
inherited

Definition at line 30 of file ICellClusteringToolBase.h.

◆ ClusterAuxContainer

◆ ClusterContainer

using ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::ClusterContainer
inherited

Definition at line 28 of file ICellClusteringToolBase.h.

◆ IDHelper

◆ RawDataCollection

using ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::RawDataCollection
inherited

Definition at line 27 of file ICellClusteringToolBase.h.

◆ RDOContainer

using ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::RDOContainer
inherited

Definition at line 26 of file ICellClusteringToolBase.h.

Member Function Documentation

◆ clusterize()

virtual StatusCode ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::clusterize ( const EventContext & ctx,
const RawDataCollection & RDOs,
const InDet::SiDetectorElementStatus & stripDetElStatus,
const InDetDD::SiDetectorElement & element,
CellContainer & cell_container ) const
pure virtualinherited

clusterize the given RDOs.

Will cluster the given RDOs. The result will be in the provided cell container, in which cells are sorted such that clusters are consecutive groups of cells.

◆ countCells()

virtual std::pair< unsigned int, unsigned int > ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::countCells ( const RDOContainer & rdo_collection,
const std::vector< IdentifierHash > & listOfIds,
const InDetDD::SiDetectorElementCollection & detector_elements ) const
pure virtualinherited

count the number of cells and expected number of clusters for the given RDO collection.

Returns
a pair of the number of expected clusters, and the number of cells. These numbers will be used to reserve storage. Thus, too small numbers will likely introduce in-efficiencies caused by memory reallocation and copying, and too large numbers will increase temporary memory consumption.

◆ createEventDataCache()

virtual std::any ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::createEventDataCache ( ClusterContainer & cont,
std::size_t nClusterRDOs ) const
pure virtualinherited

Create a per event cache which can be used to speed up the construction of the final cluster collection.

Parameters
nClusterRDOsthe total number of all RDOs/cells of all clusters.
Returns
the cache expected by makeClusters packed in an any.

◆ DeclareInterfaceID()

ActsTrk::IStripClusteringTool::DeclareInterfaceID ( IStripClusteringTool ,
1 ,
0  )

◆ makeClusters()

virtual StatusCode ActsTrk::ICellClusteringToolBase< SCT_RDO_Container, xAOD::StripClusterContainer, NDIM, std::int16_t >::makeClusters ( const EventContext & ctx,
const RDOContainer & rdo_container,
const CellContainer & cell_container,
unsigned int module_i,
const InDetDD::SiDetectorElement & element,
unsigned int icluster,
ClusterContainer & cont,
std::any & vars ) const
pure virtualinherited

create the final cluster collection based on the temporary cluster collection.

Parameters
rdo_containerthe RDO container
cell_containerthe result of clusterize
module_ithe index of the module for which the clusters are to be created.
elementthe detector element of this module.
iclusterthe index of the cluster in the output collection.
contthe cluster container.
varsthe event data cache created by createEventDataCache Will create the final cluster collection from the clustered cell container. The Final cluster container is expected to contain the exact amount of uninitialized clusters.

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