ATLAS Offline Software
Loading...
Searching...
No Matches
TrigVSI Namespace Reference

Namespaces

namespace  AlgConsts
 Namespace for constants.
namespace  Coordinate
 Namespace for Coordinate policy used in TrigVSI::VtxMap.

Classes

class  Cluster
 Base class for clusters. More...
class  DBScan
 Class for operating DBSCAN clustering. More...
struct  PairHash
class  IWrkVrt
 Interface for vertex classes processed in VtxMap. More...
class  VtxPack
 Base class of local vertex container in VtxMap. More...
class  KDPoint
 Class for k-dimensional point. More...
class  KDTree
 KDTree. More...
class  TrigVrtSecInclusive
class  VtxMap
 The vertex map class to be used to find multi-track vertices. More...

Functions

void HashCombineImpl (size_t &h, size_t k) noexcept
template<class Type>
void HashCombine (std::size_t &h, const Type &value) noexcept
template<typename I, typename T, size_t D>
const KDPoint< T, D > operator* (const I &b, const KDPoint< T, D > &p)

Function Documentation

◆ HashCombine()

template<class Type>
void TrigVSI::HashCombine ( std::size_t & h,
const Type & value )
inlinenoexcept

Definition at line 33 of file HashTools.h.

34 {
35 HashCombineImpl(h, std::hash<Type>{}(value));
36 }
Header file for AthHistogramAlgorithm.
void HashCombineImpl(size_t &h, size_t k) noexcept
Definition HashTools.h:17

◆ HashCombineImpl()

void TrigVSI::HashCombineImpl ( size_t & h,
size_t k )
inlinenoexcept

Definition at line 17 of file HashTools.h.

18 {
19 constexpr std::uint64_t m = 0xc6a4a7935bd1e995;
20 constexpr int r = 47;
21 k *= m;
22 k ^= k >> r;
23 k *= m;
24 h ^= k;
25 h *= m;
26 // Completely arbitrary number, to prevent 0's
27 // from hashing to 0.
28 h += 0xe6546b64;
29 }
int r
Definition globals.cxx:22

◆ operator*()

template<typename I, typename T, size_t D>
const KDPoint< T, D > TrigVSI::operator* ( const I & b,
const KDPoint< T, D > & p )

Definition at line 148 of file KDPoint.h.

149{
150 return p * b;
151}