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

#include <IsoDeposit.h>

Public Member Functions

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

Private Attributes

double count_
 
double sum_
 

Detailed Description

Definition at line 203 of file IsoDeposit.h.

Constructor & Destructor Documentation

reco::IsoDeposit::MeanDRAlgo::MeanDRAlgo ( )
inline

Definition at line 205 of file IsoDeposit.h.

Member Function Documentation

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

Definition at line 206 of file IsoDeposit.h.

References count_, and sum_.

206 {sum_ +=deposit->first.deltaR; count_+=1.0; }
double reco::IsoDeposit::MeanDRAlgo::result ( ) const
inline

Definition at line 207 of file IsoDeposit.h.

References count_, bookConverter::max, and sum_.

Member Data Documentation

double reco::IsoDeposit::MeanDRAlgo::count_
private

Definition at line 210 of file IsoDeposit.h.

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

double reco::IsoDeposit::MeanDRAlgo::sum_
private

Definition at line 209 of file IsoDeposit.h.

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