Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

StatEntity Class Reference

a small helper class for implementation of ChronoStatSvs. More...

#include <ChronoStatSvc/StatEntity.h>

List of all members.

Public Methods

 StatEntity ()
 constructor. More...

 ~StatEntity ()
 destructor. More...

const unsigned long& nEntries () const
 getters similar to histograms :-)). More...

const IChronoStatSvc::StatFlag& flag () const
 flag statistics: accumulated "flag". More...

const IChronoStatSvc::StatFlag& flag2 () const
 accumulated "flag squared". More...

const IChronoStatSvc::StatFlag flagMean () const
 mean value of flag. More...

const IChronoStatSvc::StatFlag flagRMS () const
 r.m.s of flag. More...

const IChronoStatSvc::StatFlag flagMeanErr () const
 error in mean value of flag. More...

const IChronoStatSvc::StatFlag& flagMin () const
 minimal flag. More...

const IChronoStatSvc::StatFlag& flagMax () const
 maximal flag. More...

const IChronoStatSvc::StatWeight& weight () const
 accumulated "weight". More...

const IChronoStatSvc::StatWeight& weightMin () const
 minimal "weight". More...

const IChronoStatSvc::StatWeight& weightMax () const
 maximal "weight". More...

const IChronoStatSvc::StatWeight weightHarmonicMean () const
 "mean harmonic" weight. More...

unsigned long addFlagAndWeight ( const IChronoStatSvc::StatFlag & Flag , const IChronoStatSvc::StatWeight& Weight )
 add a flag and weight. More...

const std::string stringOutPut () const
bool operator< ( const StatEntity& se ) const
 comparison. More...

bool operator<= ( const StatEntity& se ) const
bool operator> ( const StatEntity& se ) const
bool operator>= ( const StatEntity& se ) const

Private Attributes

unsigned long m_se_nEntries
 number of calls. More...

IChronoStatSvc::StatFlag m_se_accumulatedFlag
 accumulated flag. More...

IChronoStatSvc::StatFlag m_se_minimalFlag
IChronoStatSvc::StatFlag m_se_maximalFlag
IChronoStatSvc::StatFlag m_se_accumulatedFlag2
IChronoStatSvc::StatWeight m_se_accumulatedWeight
 accumulated weight. More...

IChronoStatSvc::StatWeight m_se_minimalWeight
IChronoStatSvc::StatWeight m_se_maximalWeight


Detailed Description

a small helper class for implementation of ChronoStatSvs.

Author(s):
Vanya Belyaev
Date:
26/11/1999

Definition at line 33 of file StatEntity.h.


Constructor & Destructor Documentation

StatEntity::StatEntity ( ) [inline]
 

constructor.

Definition at line 39 of file StatEntity.h.

StatEntity::~StatEntity ( ) [inline]
 

destructor.

Definition at line 50 of file StatEntity.h.


Member Function Documentation

unsigned long StatEntity::addFlagAndWeight ( const IChronoStatSvc::StatFlag & Flag,
const IChronoStatSvc::StatWeight & Weight ) [inline]
 

add a flag and weight.

Definition at line 167 of file StatEntity.h.

Referenced by ChronoStatSvc::stat().

const IChronoStatSvc::StatFlag & StatEntity::flag ( ) const [inline]
 

flag statistics: accumulated "flag".

Definition at line 110 of file StatEntity.h.

Referenced by flagMean(), operator<(), and stringOutPut().

const IChronoStatSvc::StatFlag & StatEntity::flag2 ( ) const [inline]
 

accumulated "flag squared".

Definition at line 112 of file StatEntity.h.

Referenced by flagRMS().

const IChronoStatSvc::StatFlag & StatEntity::flagMax ( ) const [inline]
 

maximal flag.

Definition at line 128 of file StatEntity.h.

Referenced by stringOutPut().

const IChronoStatSvc::StatFlag StatEntity::flagMean ( ) const [inline]
 

mean value of flag.

Definition at line 114 of file StatEntity.h.

Referenced by flagRMS(), and stringOutPut().

const IChronoStatSvc::StatFlag StatEntity::flagMeanErr ( ) const [inline]
 

error in mean value of flag.

Definition at line 123 of file StatEntity.h.

const IChronoStatSvc::StatFlag & StatEntity::flagMin ( ) const [inline]
 

minimal flag.

Definition at line 126 of file StatEntity.h.

Referenced by stringOutPut().

const IChronoStatSvc::StatFlag StatEntity::flagRMS ( ) const [inline]
 

r.m.s of flag.

Definition at line 117 of file StatEntity.h.

Referenced by flagMeanErr(), and stringOutPut().

const unsigned long & StatEntity::nEntries ( ) const [inline]
 

getters similar to histograms :-)).

Definition at line 108 of file StatEntity.h.

Referenced by flagMean(), flagMeanErr(), flagRMS(), operator<(), stringOutPut(), and weightHarmonicMean().

bool StatEntity::operator< ( const StatEntity & se ) const [inline]
 

comparison.

Definition at line 139 of file StatEntity.h.

bool StatEntity::operator<= ( const StatEntity & se ) const [inline]
 

bool StatEntity::operator> ( const StatEntity & se ) const [inline]
 

bool StatEntity::operator>= ( const StatEntity & se ) const [inline]
 

const std::string StatEntity::stringOutPut ( ) const [inline]
 

Definition at line 181 of file StatEntity.h.

Referenced by ChronoStatSvc::finalize().

const IChronoStatSvc::StatWeight & StatEntity::weight ( ) const [inline]
 

accumulated "weight".

Definition at line 130 of file StatEntity.h.

Referenced by operator<(), stringOutPut(), and weightHarmonicMean().

const IChronoStatSvc::StatWeight StatEntity::weightHarmonicMean ( ) const [inline]
 

"mean harmonic" weight.

Definition at line 136 of file StatEntity.h.

Referenced by stringOutPut().

const IChronoStatSvc::StatWeight & StatEntity::weightMax ( ) const [inline]
 

maximal "weight".

Definition at line 134 of file StatEntity.h.

Referenced by stringOutPut().

const IChronoStatSvc::StatWeight & StatEntity::weightMin ( ) const [inline]
 

minimal "weight".

Definition at line 132 of file StatEntity.h.

Referenced by stringOutPut().


Member Data Documentation

IChronoStatSvc::StatFlag StatEntity::m_se_accumulatedFlag [private]
 

accumulated flag.

Definition at line 97 of file StatEntity.h.

IChronoStatSvc::StatFlag StatEntity::m_se_accumulatedFlag2 [private]
 

Definition at line 100 of file StatEntity.h.

IChronoStatSvc::StatWeight StatEntity::m_se_accumulatedWeight [private]
 

accumulated weight.

Definition at line 102 of file StatEntity.h.

IChronoStatSvc::StatFlag StatEntity::m_se_maximalFlag [private]
 

Definition at line 99 of file StatEntity.h.

IChronoStatSvc::StatWeight StatEntity::m_se_maximalWeight [private]
 

Definition at line 104 of file StatEntity.h.

IChronoStatSvc::StatFlag StatEntity::m_se_minimalFlag [private]
 

Definition at line 98 of file StatEntity.h.

IChronoStatSvc::StatWeight StatEntity::m_se_minimalWeight [private]
 

Definition at line 103 of file StatEntity.h.

unsigned long StatEntity::m_se_nEntries [private]
 

number of calls.

Definition at line 95 of file StatEntity.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:35 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000