Pottu
Public Types | Public Member Functions | Public Attributes | List of all members
pottu::ObjectTree Class Reference

Class holding tree of histograms and subtrees. More...

#include <ObjectTree.hpp>

Inheritance diagram for pottu::ObjectTree:
Inheritance graph
[legend]
Collaboration diagram for pottu::ObjectTree:
Collaboration graph
[legend]

Public Types

typedef Histogram1D< BinnerFloat< double >, uint64_t > default_h1_type
 
typedef Histogram1D< BinnerFloat< double >, double > default_h1_doublecell_type
 
typedef Histogram1D< BinnerPow2< uint32_t >, uint64_t > pow2_h1_type
 
typedef Histogram2D< BinnerFloat< double >, BinnerFloat< double >, uint64_t > default_h2_type
 
typedef Histogram2D< BinnerFloat< double >, BinnerFloat< double >, double > default_h2_doublecell_type
 

Public Member Functions

 ObjectTree (const std::string &name)
 
ObjectTreecreateSubTree (const std::string &name)
 
default_h1_typecreateHistogram1D (const std::string &name, double low, double high, unsigned int binc, const std::string &title="", const std::string &xlabel="", const std::string &ylabel="")
 
default_h1_doublecell_typecreateHistogram1D_doublecell (const std::string &name, double low, double high, unsigned int binc, const std::string &title="", const std::string &xlabel="", const std::string &ylabel="")
 
pow2_h1_typecreateHistogram1D_pow2 (const std::string &name, uint32_t high_bits, uint32_t bins_bits, const std::string &title="", const std::string &xlabel="", const std::string &ylabel="")
 
default_h2_typecreateHistogram2D (const std::string &name, double xlow, double xhigh, unsigned int xbinc, double ylow, double yhigh, unsigned int ybinc, const std::string &title="", const std::string &xlabel="", const std::string &ylabel="", const std::string &zlabel="")
 
default_h2_doublecell_typecreateHistogram2D_doublecell (const std::string &name, double xlow, double xhigh, unsigned int xbinc, double ylow, double yhigh, unsigned int ybinc, const std::string &title="", const std::string &xlabel="", const std::string &ylabel="", const std::string &zlabel="")
 
virtual void exportToDisk (const std::string &prefix, export_context_t &ectx) const
 
- Public Member Functions inherited from pottu::OTObject
 OTObject (const std::string &name_)
 
 OTObject (const OTObject &o)=delete
 
 OTObject (OTObject &&o)=delete
 
const std::string & name () const
 

Public Attributes

std::set< std::unique_ptr< OTObject >, std::less<> > _objects
 
- Public Attributes inherited from pottu::OTObject
std::string _name
 

Detailed Description

Class holding tree of histograms and subtrees.


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