The Gaudi Framework  master (181af51f)
Loading...
Searching...
No Matches
Gaudi::Accumulators::ExtractWeight Struct Reference

A functor to extract weight, take a pair (valueTuple, weight) as input. More...

#include </builds/gaudi/Gaudi/GaudiKernel/include/Gaudi/Accumulators/StaticHistogram.h>

Public Member Functions

template<typename Arithmetic>
constexpr decltype(auto) operator() (const std::pair< unsigned long, Arithmetic > &v) const noexcept
 

Detailed Description

A functor to extract weight, take a pair (valueTuple, weight) as input.

Definition at line 80 of file StaticHistogram.h.

Member Function Documentation

◆ operator()()

template<typename Arithmetic>
decltype(auto) Gaudi::Accumulators::ExtractWeight::operator() ( const std::pair< unsigned long, Arithmetic > & v) const
inlineconstexprnoexcept

Definition at line 82 of file StaticHistogram.h.

82 {
83 return v.second;
84 }

The documentation for this struct was generated from the following file: