YODA is hosted by Hepforge, IPPP Durham
YODA::Bin Class Referenceabstract

Base class for bins in 1D and 2D histograms. More...

#include <Bin.h>

Inheritance diagram for YODA::Bin:
YODA::Bin1D< Dbn1D > YODA::Bin1D< Dbn2D > YODA::Bin2D< Dbn2D > YODA::Bin2D< Dbn3D > YODA::Bin1D< DBN > YODA::Bin2D< DBN > YODA::HistoBin1D YODA::ProfileBin1D YODA::HistoBin2D YODA::ProfileBin2D

Public Member Functions

virtual ~Bin ()
 Virtual destructor for inheritance. More...
 
Miscellaneous
virtual void reset ()=0
 Reset this bin. More...
 
Fill statistics
virtual unsigned long numEntries () const =0
 The number of entries. More...
 
virtual double sumW () const =0
 The sum of weights. More...
 
virtual double sumW2 () const =0
 The sum of weights squared. More...
 

Detailed Description

Base class for bins in 1D and 2D histograms.

This base class only provides very basic functionality for fill weight statistics access, as 1D/2D and basic/profile histos have quite difference implementations.

Definition at line 20 of file Bin.h.

Constructor & Destructor Documentation

virtual YODA::Bin::~Bin ( )
inlinevirtual

Virtual destructor for inheritance.

Definition at line 24 of file Bin.h.

24 { }

Member Function Documentation

virtual unsigned long YODA::Bin::numEntries ( ) const
pure virtual
virtual double YODA::Bin::sumW ( ) const
pure virtual
virtual double YODA::Bin::sumW2 ( ) const
pure virtual

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