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

#include <IsoDeposit.h>

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.

187 : max_(0) {}

Member Function Documentation

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

Definition at line 188 of file IsoDeposit.h.

References max_.

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

Definition at line 189 of file IsoDeposit.h.

References max_.

189 { return max_; }

Member Data Documentation

double reco::IsoDeposit::MaxAlgo::max_
private

Definition at line 191 of file IsoDeposit.h.

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