The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Accumulators::WeightedProfileTransform Struct Reference

An inputTransform for WeightedProfile histograms, keeping weight and replacing value by 1. More...

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

Public Member Functions

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

Detailed Description

An inputTransform for WeightedProfile histograms, keeping weight and replacing value by 1.

Definition at line 110 of file StaticHistogram.h.

Member Function Documentation

◆ operator()()

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

Definition at line 112 of file StaticHistogram.h.

112 {
113 return std::pair<unsigned int, Arithmetic>{ 1ul, v.second };
114 }

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