23#ifndef ALICEO2_TRKFT3_BUILDTOPOLOGYDICTIONARY_H
24#define ALICEO2_TRKFT3_BUILDTOPOLOGYDICTIONARY_H
29#include <unordered_map>
73 std::unordered_map<std::string, uint32_t> patternIndex;
74 std::vector<std::string> patterns;
75 std::vector<Crossing> crossings;
78 [[nodiscard]]
float measureDepth(
int layer,
const LayerInput& input)
const;
79 void makeEntries(
int layer,
const LayerInput& input, LayerDictionary&
data)
const;
82 std::vector<LayerInput> mInput;
Positions and errors of TRK and FT3 clusters per layer and pixel pattern.
configStandalone Reconstruction settings
void build()
Builds every layer; throws std::runtime_error for a layer with too few residuals.
typename Dictionary::ClusterType ClusterType
void setApplyOffsets(bool apply) noexcept
const Dictionary & getDictionary() const noexcept
TopologyDictionary< DetID > Dictionary
void accountCluster(const ClusterType &cluster, const unsigned char *pattern, const math_utils::Point3D< float > &start, const math_utils::Point3D< float > &end)
A cluster and its particle's crossing of the chip, in O2's local frame [cm].
void saveDictionaryRoot(const std::string &fileName) const
Writes the dictionary as "ccdb_object".
GLenum GLuint GLint GLint layer
GLuint GLfloat GLfloat y0
int nThreads
for the depth scan
uint32_t minCount
residuals for an entry of its own: the width to 10 %
std::array< uint16_t, 5 > pattern