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::SumAlgo Class Reference

#include <IsoDeposit.h>

Public Member Functions

void operator+= (float deposit)
 
double result () const
 
 SumAlgo ()
 

Private Attributes

double sum_
 

Detailed Description

Definition at line 161 of file IsoDeposit.h.

Constructor & Destructor Documentation

reco::IsoDeposit::SumAlgo::SumAlgo ( )
inline

Definition at line 163 of file IsoDeposit.h.

163 : sum_(0) {}

Member Function Documentation

void reco::IsoDeposit::SumAlgo::operator+= ( float  deposit)
inline

Definition at line 164 of file IsoDeposit.h.

References sum_.

164 { sum_ += deposit; }
double reco::IsoDeposit::SumAlgo::result ( ) const
inline

Definition at line 165 of file IsoDeposit.h.

References sum_.

165 { return sum_; }

Member Data Documentation

double reco::IsoDeposit::SumAlgo::sum_
private

Definition at line 167 of file IsoDeposit.h.

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