Pottu
Classes | Namespaces | Typedefs | Functions
result_collection_support.hpp File Reference
#include "ObjectTree.hpp"
#include <fmt/base.h>
#include <fstream>
#include <exception>
#include <cstdint>
Include dependency graph for result_collection_support.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  pottu::histogram_param_binning_t
 Helper struct to contain information about histogram binning. More...
 

Namespaces

 pottu
 

Typedefs

typedef ObjectTree * pottu::_result_tree_type
 
typedef ObjectTree::pow2_h1_type pottu::_histogram_1d_pow2_type
 
typedef ObjectTree::default_h1_type pottu::_histogram_1d_type
 
typedef ObjectTree::default_h2_type pottu::_histogram_2d_type
 

Functions

static ObjectTree * pottu::createSubTree (ObjectTree *tree, const char *name)
 
static ObjectTree::pow2_h1_type * pottu::createHistogram1DPow2 (ObjectTree *tree, const char *name, uint32_t highbits, uint32_t binbits)
 
static ObjectTree::default_h1_type * pottu::createHistogram1D (ObjectTree *tree, const char *name, double low, double high, uint32_t bincount)
 
static ObjectTree::default_h2_type * pottu::createHistogram2D (ObjectTree *tree, const char *name, double xlow, double xhigh, uint32_t xbincount, double ylow, double yhigh, uint32_t ybincount)
 
static void pottu::fillInteger (ObjectTree::pow2_h1_type *h, int value)
 
static void pottu::fill (ObjectTree::default_h1_type *h, double value)
 
static void pottu::fillAmount (ObjectTree::default_h1_type *h, double value, int amount)
 
static void pottu::fill (ObjectTree::default_h2_type *h, double xvalue, double yvalue)
 
static void pottu::fillAmount (ObjectTree::default_h2_type *h, double xvalue, double yvalue, int amount)
 
static pottu::_histogram_1d_typepottu::createHistogram1D (pottu::_result_tree_type tree, const std::string &name, const histogram_param_binning_t &binning)
 Creates default 1D histogram by using given histogram binnings.
 
static pottu::_histogram_2d_typepottu::createHistogram2D (pottu::_result_tree_type tree, const std::string &name, const histogram_param_binning_t &xbinning, const histogram_param_binning_t &ybinning)
 Creates default 2D histogram by using given histogram binnings.
 
static void pottu::exportHistogramToAscii (const pottu::_histogram_1d_type *h, const std::string &prefix)
 
static void pottu::throwIfNotValidName (const std::string &name)
 Checks that the given string can be used as a filename. More...