Public Member Functions | Private Attributes | List of all members
fnex::VariableBinning Class Reference

Binning with variable bins. More...

#include "/cvmfs/nova-development.opensciencegrid.org/novasoft/releases/N20-12-03/FNEX/utilities/Binning.h"

Inheritance diagram for fnex::VariableBinning:
fnex::Binning

Public Member Functions

 VariableBinning ()
 
 VariableBinning (const std::vector< double > &bins)
 
std::size_t nBins () const
 Number of bins always means something, but data is stored differently in derived classes. More...
 
std::vector< double > const & BinLowEdges () const
 

Private Attributes

std::vector< double > fLowEdges
 

Detailed Description

Binning with variable bins.

Definition at line 65 of file Binning.h.

Constructor & Destructor Documentation

fnex::VariableBinning::VariableBinning ( )
inline

Definition at line 68 of file Binning.h.

69  : fLowEdges(std::vector<double>()) {};
std::vector< double > fLowEdges
Definition: Binning.h:78
fnex::VariableBinning::VariableBinning ( const std::vector< double > &  bins)
inline

Definition at line 71 of file Binning.h.

72  : fLowEdges(bins) {} ;
const Binning bins
std::vector< double > fLowEdges
Definition: Binning.h:78

Member Function Documentation

std::vector<double> const& fnex::VariableBinning::BinLowEdges ( ) const
inlinevirtual

Implements fnex::Binning.

Definition at line 75 of file Binning.h.

75 { return fLowEdges; }
std::vector< double > fLowEdges
Definition: Binning.h:78
std::size_t fnex::VariableBinning::nBins ( ) const
inlinevirtual

Number of bins always means something, but data is stored differently in derived classes.

Implements fnex::Binning.

Definition at line 74 of file Binning.h.

74 { return fLowEdges.size() - 1; };
std::vector< double > fLowEdges
Definition: Binning.h:78

Member Data Documentation

std::vector<double> fnex::VariableBinning::fLowEdges
private

Definition at line 78 of file Binning.h.


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