ATLAS Offline Software
Namespaces | Classes | Functions
TrigVSI Namespace Reference

Namespaces

 AlgConsts
 Namespace for constants.
 
 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...
 
class  IWrkVrt
 Interface for vertex classes processed in VtxMap. More...
 
class  KDPoint
 Class for k-dimensional point. More...
 
class  KDTree
 KDTree. More...
 
struct  PairHash
 
class  TrigVrtSecInclusive
 
class  VtxMap
 The vertex map class to be used to find multi-track vertices. More...
 
class  VtxPack
 Base class of local vertex container in VtxMap. 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  }

◆ 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  }

◆ 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 }
beamspotman.r
def r
Definition: beamspotman.py:676
python.SystemOfUnits.m
int m
Definition: SystemOfUnits.py:91
python.PerfMonSerializer.p
def p
Definition: PerfMonSerializer.py:743
TrigVSI::HashCombineImpl
void HashCombineImpl(size_t &h, size_t k) noexcept
Definition: HashTools.h:17
athena.value
value
Definition: athena.py:122
xAOD::uint64_t
uint64_t
Definition: EventInfo_v1.cxx:123
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77
h
fitman.k
k
Definition: fitman.py:528