CMS 3D CMS Logo

Public Member Functions | Private Attributes

reco::IsoDeposit::MaxAlgo Class Reference

#include <IsoDeposit.h>

List of all members.

Public Member Functions

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

Private Attributes

double max_

Detailed Description

Definition at line 193 of file IsoDeposit.h.


Constructor & Destructor Documentation

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

Definition at line 195 of file IsoDeposit.h.

: max_(0) {}

Member Function Documentation

void reco::IsoDeposit::MaxAlgo::operator+= ( DepIterator  deposit) [inline]

Definition at line 196 of file IsoDeposit.h.

References max_.

{ if (deposit->second > max_) max_ = deposit->second; }  
void reco::IsoDeposit::MaxAlgo::operator+= ( double  deposit) [inline]

Definition at line 197 of file IsoDeposit.h.

References max_.

{ if (deposit > max_) max_ = deposit; }  
double reco::IsoDeposit::MaxAlgo::result ( ) const [inline]

Definition at line 198 of file IsoDeposit.h.

References max_.

{ return max_; }

Member Data Documentation

Definition at line 200 of file IsoDeposit.h.

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