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.

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

References sum_.

◆ result()

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

Definition at line 241 of file IsoDeposit.h.

241 { return sum_; }

References sum_.

Member Data Documentation

◆ sum_

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

Definition at line 244 of file IsoDeposit.h.

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

reco::IsoDeposit::SumDRAlgo::sum_
double sum_
Definition: IsoDeposit.h:244