The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic > Struct Template Reference

small class used as InputType for weighted Histograms only a pair of the InnerType and the weight. More...

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

Inheritance diagram for Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >:
Collaboration diagram for Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >:

Public Types

using ValueType = typename HistoInputType<ArithmeticTuple, NIndex>::ValueType

Public Member Functions

template<class... AxisType>
requires ( sizeof...( AxisType ) == NIndex )
unsigned int computeIndex (std::tuple< AxisType... > const &axis) const
auto forInternalCounter () const
template<class... AxisType>
requires ( sizeof...( AxisType ) == NIndex )
bool inAcceptance (std::tuple< AxisType... > const &axis) const

Static Public Member Functions

template<class... AxisType>
requires ( sizeof...( AxisType ) == NIndex )
static unsigned int computeTotNBins (std::tuple< AxisType... > const &axis)

Detailed Description

template<typename ArithmeticTuple, unsigned int NIndex, typename WArithmetic>
struct Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >

small class used as InputType for weighted Histograms only a pair of the InnerType and the weight.

See description of HistoInputType for more details

Definition at line 415 of file StaticHistogram.h.

Member Typedef Documentation

◆ ValueType

template<typename ArithmeticTuple, unsigned int NIndex, typename WArithmetic>
using Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >::ValueType = typename HistoInputType<ArithmeticTuple, NIndex>::ValueType

Definition at line 416 of file StaticHistogram.h.

Member Function Documentation

◆ computeIndex()

template<typename ArithmeticTuple, unsigned int NIndex, typename WArithmetic>
template<class... AxisType>
requires ( sizeof...( AxisType ) == NIndex )
unsigned int Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >::computeIndex ( std::tuple< AxisType... > const & axis) const
inline

Definition at line 420 of file StaticHistogram.h.

420 {
421 return this->first.computeIndex( axis );
422 }
small class used as InputType for weighted Histograms only a pair of the InnerType and the weight.
unsigned int computeIndex(std::tuple< AxisType... > const &axis) const

◆ computeTotNBins()

template<typename ArithmeticTuple, unsigned int NIndex, typename WArithmetic>
template<class... AxisType>
requires ( sizeof...( AxisType ) == NIndex )
unsigned int Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >::computeTotNBins ( std::tuple< AxisType... > const & axis)
inlinestatic

Definition at line 425 of file StaticHistogram.h.

◆ forInternalCounter()

template<typename ArithmeticTuple, unsigned int NIndex, typename WArithmetic>
auto Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >::forInternalCounter ( ) const
inline

Definition at line 428 of file StaticHistogram.h.

428{ return std::pair( this->first.forInternalCounter(), this->second ); }

◆ inAcceptance()

template<typename ArithmeticTuple, unsigned int NIndex, typename WArithmetic>
template<class... AxisType>
requires ( sizeof...( AxisType ) == NIndex )
bool Gaudi::Accumulators::WeightedHistoInputType< ArithmeticTuple, NIndex, WArithmetic >::inAcceptance ( std::tuple< AxisType... > const & axis) const
inline

Definition at line 431 of file StaticHistogram.h.

431 {
432 return this->first.inAcceptance( axis );
433 }
bool inAcceptance(std::tuple< AxisType... > const &axis) const

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