CMS 3D CMS Logo

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 186 of file IsoDeposit.h.

Constructor & Destructor Documentation

◆ CountAlgo()

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

Definition at line 188 of file IsoDeposit.h.

188 : count_(0) {}

Member Function Documentation

◆ operator+=() [1/2]

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

Definition at line 189 of file IsoDeposit.h.

References count_.

189 { count_++; }

◆ operator+=() [2/2]

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

Definition at line 190 of file IsoDeposit.h.

References count_.

190 { count_++; }

◆ result()

double reco::IsoDeposit::CountAlgo::result ( ) const
inline

Definition at line 191 of file IsoDeposit.h.

References count_.

191 { return count_; }

Member Data Documentation

◆ count_

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

Definition at line 194 of file IsoDeposit.h.

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