CMS 3D CMS Logo

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.

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

Definition at line 197 of file IsoDeposit.h.

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

Definition at line 198 of file IsoDeposit.h.

198 { return max_; }

Member Data Documentation

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

Definition at line 200 of file IsoDeposit.h.