CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
reco::IsoDeposit::SumDRAlgo Class Reference

#include <IsoDeposit.h>

Public Member Functions

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

Private Attributes

double sum_
 

Detailed Description

Definition at line 237 of file IsoDeposit.h.

Constructor & Destructor Documentation

◆ SumDRAlgo()

reco::IsoDeposit::SumDRAlgo::SumDRAlgo ( )
inline

Definition at line 239 of file IsoDeposit.h.

239 : sum_(0.) {}

Member Function Documentation

◆ operator+=()

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

Definition at line 240 of file IsoDeposit.h.

References sum_.

240 { sum_ += deposit->first.deltaR; }

◆ result()

double reco::IsoDeposit::SumDRAlgo::result ( ) const
inline

Definition at line 241 of file IsoDeposit.h.

References sum_.

241 { return sum_; }

Member Data Documentation

◆ sum_

double reco::IsoDeposit::SumDRAlgo::sum_
private

Definition at line 244 of file IsoDeposit.h.

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