test
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+= (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.

195 : max_(0) {}

Member Function Documentation

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

Definition at line 196 of file IsoDeposit.h.

References max_.

196 { 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_.

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

Definition at line 198 of file IsoDeposit.h.

References max_.

198 { return max_; }

Member Data Documentation

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

Definition at line 200 of file IsoDeposit.h.

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