#include <Histogram.h>
Public Types | |
typedef PhysicsTools::Calibration::Range < Axis_t > | Range |
Public Member Functions | |
Value_t | binContent (int bin) const |
Value_t | binError (int bin) const |
Range | binRange (int bin) const |
bool | empty () const |
Value_t | error (Axis_t x) const |
void | fill (Axis_t x, Value_t weight=1.0) |
int | findBin (Axis_t x) const |
bool | hasEquidistantBins () const |
Histogram () | |
Histogram (const Histogram &orig) | |
template<typename OValue_t , typename OAxis_t > | |
Histogram (const Histogram< OValue_t, OAxis_t > &orig) | |
Histogram (const std::vector< Axis_t > &binULimits) | |
template<typename OAxis_t > | |
Histogram (const std::vector< OAxis_t > &binULimits) | |
template<typename OAxis_t > | |
Histogram (unsigned int nBins, const PhysicsTools::Calibration::Range< OAxis_t > &range) | |
Histogram (unsigned int nBins, Axis_t min, Axis_t max) | |
Value_t | integral (Axis_t hBound, Axis_t lBound=0.0, int mode=1) const |
Value_t | normalization () const |
Value_t | normalizedError (Axis_t x) const |
Value_t | normalizedIntegral (Axis_t hBound, Axis_t lBound=0.0, int mode=1) const |
Value_t | normalizedValue (Axis_t x) const |
int | numberOfBins () const |
Histogram & | operator= (const Histogram &orig) |
template<typename OValue_t , typename OAxis_t > | |
Histogram & | operator= (const Histogram< OValue_t, OAxis_t > &orig) |
Range | range () const |
void | reset () |
void | setBinContent (int bin, Value_t value) |
void | setValues (const std::vector< Value_t > &values) |
template<typename OValue_t > | |
void | setValues (const std::vector< OValue_t > &values) |
const std::vector< Axis_t > | upperLimits () const |
Value_t | value (Axis_t x) const |
const std::vector< Value_t > & | values () const |
~Histogram () | |
Protected Attributes | |
std::vector< Axis_t > | binULimits |
std::vector< Value_t > | binValues |
COND_SERIALIZABLE | |
Value_t total | COND_TRANSIENT |
std::atomic< bool > totalValid | COND_TRANSIENT |
Range | limits |
Definition at line 36 of file Histogram.h.
typedef PhysicsTools::Calibration::Range<Axis_t> PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Range |
Definition at line 38 of file Histogram.h.
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Histogram | ( | ) |
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Histogram | ( | const Histogram< Value_t, Axis_t > & | orig | ) |
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Histogram | ( | const Histogram< OValue_t, OAxis_t > & | orig | ) |
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Histogram | ( | const std::vector< Axis_t > & | binULimits | ) |
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Histogram | ( | const std::vector< OAxis_t > & | binULimits | ) |
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Histogram | ( | unsigned int | nBins, |
const PhysicsTools::Calibration::Range< OAxis_t > & | range | ||
) |
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::Histogram | ( | unsigned int | nBins, |
Axis_t | min, | ||
Axis_t | max | ||
) |
PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::~Histogram | ( | ) |
|
inline |
Definition at line 69 of file Histogram.h.
Referenced by PhysicsTools::Calibration::Histogram< float >::binError(), LikelihoodPdf::getVal(), LikelihoodPdf::normalization(), PhysicsTools::Calibration::Histogram< float >::normalizedError(), PhysicsTools::Calibration::Histogram< float >::normalizedValue(), and PhysicsTools::Calibration::Histogram< float >::value().
|
inline |
Definition at line 74 of file Histogram.h.
Referenced by PhysicsTools::Calibration::Histogram< float >::error().
Range PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::binRange | ( | int | bin | ) | const |
|
inline |
Definition at line 82 of file Histogram.h.
Referenced by Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 75 of file Histogram.h.
Referenced by argparse.ArgumentParser::_get_option_tuples(), python.rootplot.argparse.ArgumentParser::_get_option_tuples(), argparse.ArgumentParser::_parse_known_args(), python.rootplot.argparse.ArgumentParser::_parse_known_args(), argparse.ArgumentParser::_parse_optional(), python.rootplot.argparse.ArgumentParser::_parse_optional(), argparse.ArgumentParser::_read_args_from_files(), python.rootplot.argparse.ArgumentParser::_read_args_from_files(), argparse.ArgumentParser::add_subparsers(), python.rootplot.argparse.ArgumentParser::add_subparsers(), argparse.ArgumentParser::parse_args(), python.rootplot.argparse.ArgumentParser::parse_args(), argparse.ArgumentParser::parse_known_args(), and python.rootplot.argparse.ArgumentParser::parse_known_args().
void PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::fill | ( | Axis_t | x, |
Value_t | weight = 1.0 |
||
) |
int PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::findBin | ( | Axis_t | x | ) | const |
|
inline |
Definition at line 83 of file Histogram.h.
Value_t PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::integral | ( | Axis_t | hBound, |
Axis_t | lBound = 0.0 , |
||
int | mode = 1 |
||
) | const |
Value_t PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::normalization | ( | ) | const |
|
inline |
Definition at line 76 of file Histogram.h.
|
inline |
Definition at line 101 of file Histogram.h.
|
inline |
Definition at line 71 of file Histogram.h.
|
inline |
Definition at line 84 of file Histogram.h.
Referenced by LikelihoodPdf::normalization().
Histogram& PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::operator= | ( | const Histogram< Value_t, Axis_t > & | orig | ) |
Histogram& PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::operator= | ( | const Histogram< OValue_t, OAxis_t > & | orig | ) |
|
inline |
Definition at line 94 of file Histogram.h.
void PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::reset | ( | ) |
Referenced by MatrixReader.MatrixReader::__init__(), and MatrixReader.MatrixReader::showRaw().
void PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::setBinContent | ( | int | bin, |
Value_t | value | ||
) |
Referenced by QGLikelihoodDBWriter::beginJob().
void PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::setValues | ( | const std::vector< Value_t > & | values | ) |
void PhysicsTools::Calibration::Histogram< Value_t, Axis_t >::setValues | ( | const std::vector< OValue_t > & | values | ) |
|
inline |
Definition at line 67 of file Histogram.h.
|
inline |
Definition at line 70 of file Histogram.h.
Referenced by Types.int32::__nonzero__(), Types.uint32::__nonzero__(), Types.int64::__nonzero__(), Types.uint64::__nonzero__(), Types.double::__nonzero__(), Types.bool::__nonzero__(), Types.string::__nonzero__(), Vispa.Views.PropertyView.FileProperty::buttonClicked(), Types.string::configValue(), Types.FileInPath::configValue(), Mixins.UsingBlock::dumpPython(), LikelihoodPdf::getVal(), Types.int32::insertInto(), Types.uint32::insertInto(), Types.int64::insertInto(), Types.uint64::insertInto(), Mixins.UsingBlock::insertInto(), Types.double::insertInto(), Types.bool::insertInto(), Types.string::insertInto(), Types.FileInPath::insertInto(), Types.vint32::insertInto(), Types.vuint32::insertInto(), Types.vint64::insertInto(), Types.vuint64::insertInto(), Types.vdouble::insertInto(), Types.vbool::insertInto(), Types.vstring::insertInto(), and Vispa.Views.PropertyView.FileProperty::labelDoubleClicked().
|
inline |
Definition at line 86 of file Histogram.h.
|
protected |
Definition at line 105 of file Histogram.h.
Referenced by PhysicsTools::Calibration::Histogram< float >::hasEquidistantBins(), and PhysicsTools::Calibration::Histogram< float >::upperLimits().
|
protected |
|
protected |
Definition at line 117 of file Histogram.h.
|
mutableprotected |
Definition at line 110 of file Histogram.h.
|
mutableprotected |
Definition at line 112 of file Histogram.h.
|
protected |
Definition at line 107 of file Histogram.h.
Referenced by PhysicsTools::Calibration::Histogram< float >::range().