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

#include <IsoDeposit.h>

Public Member Functions

 CountAlgo ()
 
void operator+= (DepIterator deposit)
 
void operator+= (double deposit)
 
double result () const
 

Private Attributes

size_t count_
 

Detailed Description

Definition at line 175 of file IsoDeposit.h.

Constructor & Destructor Documentation

reco::IsoDeposit::CountAlgo::CountAlgo ( )
inline

Definition at line 177 of file IsoDeposit.h.

177 : count_(0) {}

Member Function Documentation

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

Definition at line 178 of file IsoDeposit.h.

References count_.

178 { count_++; }
void reco::IsoDeposit::CountAlgo::operator+= ( double  deposit)
inline

Definition at line 179 of file IsoDeposit.h.

References count_.

179 { count_ ++; }
double reco::IsoDeposit::CountAlgo::result ( ) const
inline

Definition at line 180 of file IsoDeposit.h.

References count_.

180 { return count_; }

Member Data Documentation

size_t reco::IsoDeposit::CountAlgo::count_
private

Definition at line 182 of file IsoDeposit.h.

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