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+= (double deposit)
double result () const

Private Attributes

double max_

Detailed Description

Definition at line 185 of file IsoDeposit.h.


Constructor & Destructor Documentation

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

Definition at line 187 of file IsoDeposit.h.

: max_(0) {}

Member Function Documentation

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

Definition at line 188 of file IsoDeposit.h.

References max_.

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

Definition at line 189 of file IsoDeposit.h.

References max_.

{ return max_; }

Member Data Documentation

Definition at line 191 of file IsoDeposit.h.

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