LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
evgen::details::Average< T > Struct Template Reference

Public Types

using data_t = T
 

Public Member Functions

void clear ()
 
void insert (data_t value)
 
data_t n () const
 
data_t average () const
 

Private Attributes

unsigned int fN = 0U
 
data_t fTotal = data_t(0)
 

Detailed Description

template<typename T>
struct evgen::details::Average< T >

Definition at line 77 of file GeneratedEventTimestamp_plugin.cc.

Member Typedef Documentation

template<typename T>
using evgen::details::Average< T >::data_t = T

Definition at line 78 of file GeneratedEventTimestamp_plugin.cc.

Member Function Documentation

template<typename T>
void evgen::details::Average< T >::insert ( data_t  value)
inline
template<typename T>
data_t evgen::details::Average< T >::n ( ) const
inline

Definition at line 83 of file GeneratedEventTimestamp_plugin.cc.

83 { return fN; }

Member Data Documentation

template<typename T>
unsigned int evgen::details::Average< T >::fN = 0U
private

Definition at line 87 of file GeneratedEventTimestamp_plugin.cc.

template<typename T>
data_t evgen::details::Average< T >::fTotal = data_t(0)
private

Definition at line 88 of file GeneratedEventTimestamp_plugin.cc.


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