Belle II Software  release-08-01-10
Axis Class Reference

This class unites some parameters for Factory which describe one axis of histogram. More...

#include <HistogramFactory.h>

Collaboration diagram for Axis:

Public Member Functions

 Axis ()
 Constructor.
 
 Axis (int nbins, double low, double up, std::string title)
 Constructor. More...
 
Axisnbins (int nbins)
 Set value of nbins.
 
Axislow (double low)
 Set value of low.
 
Axisup (double up)
 Set value of up.
 
Axistitle (std::string title)
 Set value of title.
 

Private Attributes

Parameter< int > m_nbins = Parameter(0)
 number of bins in the axis
 
Parameter< double > m_low = Parameter(.0)
 lower boundary of axis range
 
Parameter< double > m_up = Parameter(.0)
 upper boundary of axis range
 
Parameter< std::string > m_title = Parameter(std::string())
 title of axis
 

Friends

class Factory
 

Detailed Description

This class unites some parameters for Factory which describe one axis of histogram.

Those parameters are nbins, low, up and title.

Definition at line 104 of file HistogramFactory.h.

Constructor & Destructor Documentation

◆ Axis()

Axis ( int  nbins,
double  low,
double  up,
std::string  title 
)
inline

Constructor.

Parameters
nbins- number of bins along the axis
low- lower boundary of axis range
up- upper boundary of axis range
title- title of the axis

Definition at line 114 of file HistogramFactory.h.


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