ATLAS Offline Software
Loading...
Searching...
No Matches
GbtsConnectionTableReader.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef ACTSTRK_GBTSCONNECTIONTABLEREADER_H
6#define ACTSTRK_GBTSCONNECTIONTABLEREADER_H
7
8#include <cstdint>
9#include <iosfwd>
10#include <vector>
11
13
15struct Connection {
16 std::uint32_t stage{};
17 std::uint32_t src{};
18 std::uint32_t dst{};
19};
20
22struct ReadResult {
24 float etaBinWidth{};
26 std::vector<Connection> connections;
27};
28
38ReadResult read(std::istream& inputStream);
39
40} // namespace ActsTrk::GbtsConnectionTable
41
42#endif
ReadResult read(std::istream &inputStream)
Read the GBTS layer connection table.
One row of the table: the two layers it connects, and the stage it is in.
std::vector< Connection > connections
The connections, in file order.
float etaBinWidth
The eta bin width the table was made for.