CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
lhef::LHERunInfo::Counter Struct Reference

#include <LHERunInfo.h>

Public Member Functions

void add (double weight)
 
 Counter ()
 
 Counter (unsigned int n1, double sum1, double sum21)
 
unsigned int n () const
 
double sum () const
 
double sum2 () const
 

Private Attributes

unsigned int n_
 
double sum2_
 
double sum_
 

Detailed Description

Definition at line 91 of file LHERunInfo.h.

Constructor & Destructor Documentation

lhef::LHERunInfo::Counter::Counter ( )
inline

Definition at line 93 of file LHERunInfo.h.

93 : n_(0), sum_(0.0), sum2_(0.0) {}
lhef::LHERunInfo::Counter::Counter ( unsigned int  n1,
double  sum1,
double  sum21 
)
inline

Definition at line 94 of file LHERunInfo.h.

95  :n_(n1), sum_(sum1), sum2_(sum21) {}

Member Function Documentation

void lhef::LHERunInfo::Counter::add ( double  weight)
inline
unsigned int lhef::LHERunInfo::Counter::n ( void  ) const
inline

Definition at line 102 of file LHERunInfo.h.

References n_.

Referenced by edm::HadronizerFilter< HAD, DEC >::endLuminosityBlockProduce().

102 {return n_;}
double lhef::LHERunInfo::Counter::sum ( ) const
inline

Definition at line 103 of file LHERunInfo.h.

References sum_.

Referenced by edm::HadronizerFilter< HAD, DEC >::endLuminosityBlockProduce().

103 {return sum_;}
double lhef::LHERunInfo::Counter::sum2 ( ) const
inline

Definition at line 104 of file LHERunInfo.h.

References sum2_.

Referenced by edm::HadronizerFilter< HAD, DEC >::endLuminosityBlockProduce().

104 {return sum2_;}

Member Data Documentation

unsigned int lhef::LHERunInfo::Counter::n_
private

Definition at line 106 of file LHERunInfo.h.

Referenced by add(), and n().

double lhef::LHERunInfo::Counter::sum2_
private

Definition at line 108 of file LHERunInfo.h.

Referenced by add(), and sum2().

double lhef::LHERunInfo::Counter::sum_
private

Definition at line 107 of file LHERunInfo.h.

Referenced by add(), and sum().