Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Experimental::RProfile::RProfileBin Struct Referencefinal

The bin content type of a profile histogram.

Definition at line 74 of file RProfile.hxx.

Public Member Functions

void AtomicAdd (const RProfileBin &rhs)
 Add another bin content using atomic instructions.
 
RProfileBinoperator*= (double factor)
 
RProfileBinoperator+= (const RProfileBin &rhs)
 
RProfileBinoperator+= (const RValueWeightWrapper &rhs)
 
RProfileBinoperator+= (const RValueWrapper &rhs)
 

Public Attributes

double fSum = 0
 
double fSum2 = 0
 
double fSumValues = 0
 
double fSumValues2 = 0
 

#include <ROOT/RProfile.hxx>

Member Function Documentation

◆ AtomicAdd()

void ROOT::Experimental::RProfile::RProfileBin::AtomicAdd ( const RProfileBin & rhs)
inline

Add another bin content using atomic instructions.

Parameters
[in]rhsanother bin content that must not be modified during the operation

Definition at line 119 of file RProfile.hxx.

◆ operator*=()

RProfileBin & ROOT::Experimental::RProfile::RProfileBin::operator*= ( double factor)
inline

Definition at line 107 of file RProfile.hxx.

◆ operator+=() [1/3]

RProfileBin & ROOT::Experimental::RProfile::RProfileBin::operator+= ( const RProfileBin & rhs)
inline

Definition at line 98 of file RProfile.hxx.

◆ operator+=() [2/3]

RProfileBin & ROOT::Experimental::RProfile::RProfileBin::operator+= ( const RValueWeightWrapper & rhs)
inline

Definition at line 89 of file RProfile.hxx.

◆ operator+=() [3/3]

RProfileBin & ROOT::Experimental::RProfile::RProfileBin::operator+= ( const RValueWrapper & rhs)
inline

Definition at line 80 of file RProfile.hxx.

Member Data Documentation

◆ fSum

double ROOT::Experimental::RProfile::RProfileBin::fSum = 0

Definition at line 77 of file RProfile.hxx.

◆ fSum2

double ROOT::Experimental::RProfile::RProfileBin::fSum2 = 0

Definition at line 78 of file RProfile.hxx.

◆ fSumValues

double ROOT::Experimental::RProfile::RProfileBin::fSumValues = 0

Definition at line 75 of file RProfile.hxx.

◆ fSumValues2

double ROOT::Experimental::RProfile::RProfileBin::fSumValues2 = 0

Definition at line 76 of file RProfile.hxx.

Collaboration diagram for ROOT::Experimental::RProfile::RProfileBin:
[legend]

The documentation for this struct was generated from the following file: