LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 81 of file GeneratedEventTimestamp_plugin.cc.

Member Typedef Documentation

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

Definition at line 82 of file GeneratedEventTimestamp_plugin.cc.

Member Function Documentation

template<typename T>
void evgen::details::Average< T >::clear ( void  )
inline
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 87 of file GeneratedEventTimestamp_plugin.cc.

87 { return fN; }

Member Data Documentation

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

Definition at line 91 of file GeneratedEventTimestamp_plugin.cc.

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

Definition at line 92 of file GeneratedEventTimestamp_plugin.cc.


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