ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::Experimental::GbtsLayerConnectionTool Class Reference

Builds the GBTS layer connection table from observed track hits. More...

#include <Acts/Seeding/GbtsLayerConnectionTool.hpp>

Classes

struct  Config
 Configuration for the layer connection tool. More...
struct  HitCoordinates
 Container for track layer hit information. More...
struct  LayerDescription
 Struct to hold r and z bounds for a given detector layer. More...
struct  LayerIdPairHash
 Hash id used for unordered sets and maps. More...

Public Types

using LayerIdPair = std::pair<GbtsExperimentLayerId, GbtsExperimentLayerId>
 pair of layer transitions
using LayerIdPairMap
 Map of layer pair transitions, quantifying the amount of times they occur.
using LayerIdPairs = std::unordered_set<LayerIdPair, LayerIdPairHash>
 Container of pairs of layer transitions.

Public Member Functions

 GbtsLayerConnectionTool (const Config &config, std::unique_ptr< const Logger > logger=getDefaultLogger("GbtsLayerConnectionTool", Logging::Level::INFO))
void addTrack (std::span< const HitCoordinates > track)
 converts layer hits to layer transitions
GbtsLayerConnectionTool::LayerIdPairs createConnectionTable () const
 Creates the connection table.

Detailed Description

Builds the GBTS layer connection table from observed track hits.

Member Typedef Documentation

◆ LayerIdPairMap

Initial value:
std::unordered_map<LayerIdPair, std::uint32_t, LayerIdPairHash>

Map of layer pair transitions, quantifying the amount of times they occur.

Constructor & Destructor Documentation

◆ GbtsLayerConnectionTool()

Acts::Experimental::GbtsLayerConnectionTool::GbtsLayerConnectionTool ( const Config & config,
std::unique_ptr< const Logger > logger = getDefaultLogger("GbtsLayerConnectionTool", Logging::Level::INFO) )
explicit
Parameters
configTool configuration
loggerThe Acts logger

Member Function Documentation

◆ addTrack()

void Acts::Experimental::GbtsLayerConnectionTool::addTrack ( std::span< const HitCoordinates > track)

converts layer hits to layer transitions

Parameters
trackthe layer hits of a particle

◆ createConnectionTable()

GbtsLayerConnectionTool::LayerIdPairs Acts::Experimental::GbtsLayerConnectionTool::createConnectionTable ( ) const

Creates the connection table.

Returns
layer pairs