CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::IsoDeposit::Sum2Algo Class Reference

#include <IsoDeposit.h>

List of all members.

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.

: sum2_(0) {}

Member Function Documentation

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

Definition at line 180 of file IsoDeposit.h.

References sum2_.

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

Definition at line 181 of file IsoDeposit.h.

References sum2_.

{ return sum2_; }

Member Data Documentation

Definition at line 183 of file IsoDeposit.h.

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