ATLAS Offline Software
Loading...
Searching...
No Matches
SourceLinkHash.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 ACTSCALIBRATORS_SOURCELINKHASH_H
6#define ACTSCALIBRATORS_SOURCELINKHASH_H
7
10#include "Acts/EventData/SourceLink.hpp"
11
13namespace ActsTrk::detail{
16 std::size_t sourceLinkHash(const Acts::SourceLink& sl);
18 bool sourceLinkEquality(const Acts::SourceLink&a, const Acts::SourceLink& b);
19}
20
21
22
23#endif
static Double_t a
Hash functions to pack the source link into unordered_maps / unordered_sets.
bool sourceLinkEquality(const Acts::SourceLink &a, const Acts::SourceLink &b)
Returns whether two source links are equal.
std::size_t sourceLinkHash(const Acts::SourceLink &sl)
Calculates the source link hash which is evaluated to be the identifier of the underlying sourcelink.