test
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+= (DepIterator deposit)
 
void operator+= (double deposit)
 
double result () const
 
 Sum2Algo ()
 

Private Attributes

double sum2_
 

Detailed Description

Definition at line 184 of file IsoDeposit.h.

Constructor & Destructor Documentation

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

Definition at line 186 of file IsoDeposit.h.

186 : sum2_(0) {}

Member Function Documentation

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

Definition at line 187 of file IsoDeposit.h.

References sum2_.

187 { sum2_ += deposit->second*deposit->second; }
void reco::IsoDeposit::Sum2Algo::operator+= ( double  deposit)
inline

Definition at line 188 of file IsoDeposit.h.

References sum2_.

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

Definition at line 189 of file IsoDeposit.h.

References sum2_.

189 { return sum2_; }

Member Data Documentation

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

Definition at line 191 of file IsoDeposit.h.

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