CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups 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 223 of file IsoDeposit.h.

Constructor & Destructor Documentation

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

Definition at line 225 of file IsoDeposit.h.

Member Function Documentation

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

Definition at line 226 of file IsoDeposit.h.

References count_, and sum_.

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

Definition at line 230 of file IsoDeposit.h.

References count_, SiStripPI::max, and sum_.

Member Data Documentation

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

Definition at line 234 of file IsoDeposit.h.

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

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

Definition at line 233 of file IsoDeposit.h.

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