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

Layer connection training tool for creating layer map for GBTS. More...

#include <Acts/Seeding/GbtsTrainingTool.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<std::int32_t, std::int32_t>
 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))
 Constructor for layer connection training tool.
void addTrack (const std::vector< HitCoordinates > &track)
 converts layer hits to layer transitions
GbtsLayerConnectionTool::LayerIdPairs createConnectionTable (const std::string &outputFileLocation) const
 Creates the connection table.

Detailed Description

Layer connection training tool for creating layer map for GBTS.

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

Constructor for layer connection training tool.

Parameters
configThe training tool config
loggerThe Acts logger

Member Function Documentation

◆ addTrack()

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

converts layer hits to layer transitions

Parameters
trackthe layer hits of a particle

◆ createConnectionTable()

GbtsLayerConnectionTool::LayerIdPairs Acts::Experimental::GbtsLayerConnectionTool::createConnectionTable ( const std::string & outputFileLocation) const

Creates the connection table.

Parameters
outputFileLocationthe location for the layer connection table
Returns
layer pairs