CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::IsoDeposit::CountAlgo Class Reference

#include <IsoDeposit.h>

List of all members.

Public Member Functions

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

Private Attributes

size_t count_

Detailed Description

Definition at line 169 of file IsoDeposit.h.


Constructor & Destructor Documentation

reco::IsoDeposit::CountAlgo::CountAlgo ( ) [inline]

Definition at line 171 of file IsoDeposit.h.

: count_(0) {}

Member Function Documentation

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

Definition at line 172 of file IsoDeposit.h.

References count_.

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

Definition at line 173 of file IsoDeposit.h.

References count_.

{ return count_; }

Member Data Documentation

Definition at line 175 of file IsoDeposit.h.

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