yoda is hosted by Hepforge, IPPP Durham
YODA - Yet more Objects for Data Analysis 2.0.0
YODA::Fillable Class Referenceabstract

A base class for all fillable objects. More...

#include <Fillable.h>

Inheritance diagram for YODA::Fillable:
YODA::DbnStorage< DbnN, AxisT... > YODA::DbnStorage< 1, AxisT > YODA::DbnStorage< 2, AxisT > YODA::DbnStorage< 2, AxisT1, AxisT2 > YODA::DbnStorage< 3, AxisT1, AxisT2 > YODA::DbnStorage< 3, AxisT1, AxisT2, AxisT3 > YODA::DbnStorage< 4, AxisT1, AxisT2, AxisT3 > YODA::Counter YODA::DbnStorage< DbnN, AxisT >

Public Member Functions

Constructors
virtual ~Fillable ()=default
 Virtual destructor for inheritance.
 
Modifiers
virtual void reset ()=0
 Reset.
 
virtual void scaleW (double scalefactor)=0
 Rescale as if all fill weights had been different by factor scalefactor.
 
Whole histo data
virtual size_t fillDim () const noexcept=0
 Fill-dimension of this data object.
 
virtual double numEntries (const bool includeoverflows=true) const =0
 Get the number of fills.
 
virtual double effNumEntries (const bool includeoverflows=true) const =0
 Get the effective number of fills.
 
virtual double sumW (const bool includeoverflows=true) const =0
 Get sum of weights in histo.
 
virtual double sumW2 (const bool includeoverflows=true) const =0
 Get sum of squared weights in histo.
 

Detailed Description

A base class for all fillable objects.

Definition at line 13 of file Fillable.h.

Constructor & Destructor Documentation

◆ ~Fillable()

virtual YODA::Fillable::~Fillable ( )
virtualdefault

Virtual destructor for inheritance.

Member Function Documentation

◆ effNumEntries()

◆ fillDim()

◆ numEntries()

◆ reset()

◆ scaleW()

◆ sumW()

◆ sumW2()


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