Geant4  9.6.p02
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
G4StatDouble Class Reference

#include <G4StatDouble.hh>

Public Member Functions

 G4StatDouble ()
 
virtual ~G4StatDouble ()
 
void reset ()
 
void fill (G4double x, G4double weight=1.)
 
void scale (G4double)
 
G4double mean () const
 
G4double rms ()
 
G4double mean (G4double ext_sum_w) const
 
G4double rms (G4double ext_sum_w, G4int ext_n)
 
G4int n () const
 
G4double sum_w () const
 
G4double sum_w2 () const
 
G4double sum_wx () const
 
G4double sum_wx2 () const
 

Protected Member Functions

G4double rms (G4double sum_wx, G4double sum_wx2, G4double sum_w, G4int n)
 

Protected Attributes

G4double m_sum_wx
 
G4double m_sum_wx2
 
G4int m_n
 
G4double m_sum_w
 
G4double m_sum_w2
 
G4double m_scale
 

Detailed Description

Definition at line 46 of file G4StatDouble.hh.

Constructor & Destructor Documentation

G4StatDouble::G4StatDouble ( )

Definition at line 40 of file G4StatDouble.cc.

Here is the call graph for this function:

G4StatDouble::~G4StatDouble ( )
virtual

Definition at line 55 of file G4StatDouble.cc.

Member Function Documentation

void G4StatDouble::fill ( G4double  x,
G4double  weight = 1. 
)

Definition at line 58 of file G4StatDouble.cc.

G4double G4StatDouble::mean ( ) const

Definition at line 78 of file G4StatDouble.cc.

Here is the caller graph for this function:

G4double G4StatDouble::mean ( G4double  ext_sum_w) const

Definition at line 88 of file G4StatDouble.cc.

Here is the call graph for this function:

G4int G4StatDouble::n ( ) const
inline

Definition at line 70 of file G4StatDouble.hh.

void G4StatDouble::reset ( )

Definition at line 45 of file G4StatDouble.cc.

Here is the caller graph for this function:

G4double G4StatDouble::rms ( )

Definition at line 145 of file G4StatDouble.cc.

Here is the caller graph for this function:

G4double G4StatDouble::rms ( G4double  ext_sum_w,
G4int  ext_n 
)

Definition at line 153 of file G4StatDouble.cc.

Here is the call graph for this function:

G4double G4StatDouble::rms ( G4double  sum_wx,
G4double  sum_wx2,
G4double  sum_w,
G4int  n 
)
protected

Definition at line 103 of file G4StatDouble.cc.

void G4StatDouble::scale ( G4double  value)

Definition at line 73 of file G4StatDouble.cc.

G4double G4StatDouble::sum_w ( ) const
inline

Definition at line 71 of file G4StatDouble.hh.

G4double G4StatDouble::sum_w2 ( ) const
inline

Definition at line 72 of file G4StatDouble.hh.

G4double G4StatDouble::sum_wx ( ) const
inline

Definition at line 73 of file G4StatDouble.hh.

G4double G4StatDouble::sum_wx2 ( ) const
inline

Definition at line 74 of file G4StatDouble.hh.

Member Data Documentation

G4int G4StatDouble::m_n
protected

Definition at line 84 of file G4StatDouble.hh.

G4double G4StatDouble::m_scale
protected

Definition at line 87 of file G4StatDouble.hh.

G4double G4StatDouble::m_sum_w
protected

Definition at line 85 of file G4StatDouble.hh.

G4double G4StatDouble::m_sum_w2
protected

Definition at line 86 of file G4StatDouble.hh.

G4double G4StatDouble::m_sum_wx
protected

Definition at line 82 of file G4StatDouble.hh.

G4double G4StatDouble::m_sum_wx2
protected

Definition at line 83 of file G4StatDouble.hh.


The documentation for this class was generated from the following files: