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
reco::IsoDeposit::Sum2Algo Class Reference

#include <IsoDeposit.h>

Public Member Functions

void operator+= (double deposit)
 
double result () const
 
 Sum2Algo ()
 

Private Attributes

double sum2_
 

Detailed Description

Definition at line 177 of file IsoDeposit.h.

Constructor & Destructor Documentation

reco::IsoDeposit::Sum2Algo::Sum2Algo ( )
inline

Definition at line 179 of file IsoDeposit.h.

179 : sum2_(0) {}

Member Function Documentation

void reco::IsoDeposit::Sum2Algo::operator+= ( double  deposit)
inline

Definition at line 180 of file IsoDeposit.h.

References sum2_.

180 { sum2_ += deposit*deposit; }
double reco::IsoDeposit::Sum2Algo::result ( ) const
inline

Definition at line 181 of file IsoDeposit.h.

References sum2_.

181 { return sum2_; }

Member Data Documentation

double reco::IsoDeposit::Sum2Algo::sum2_
private

Definition at line 183 of file IsoDeposit.h.

Referenced by operator+=(), and result().