Jpp 20.0.0-rc.2
the software that should make you happy
|
Class for I/O of variable-width binning of multiple histograms. More...
#include <JBinsMap.hh>
Public Types | |
typedef std::map< std::string, std::map< char, std::vector< double > > > | map_type |
typedef map_type::mapped_type | mapped_type |
typedef map_type::value_type | value_type |
typedef map_type::iterator | iterator |
typedef map_type::reverse_iterator | reverse_iterator |
typedef map_type::const_iterator | const_iterator |
typedef map_type::const_reverse_iterator | const_reverse_iterator |
Public Member Functions | |
template<class T > | |
std::unique_ptr< T > | getHistogram (const std::string &name) const |
Get histogram with binning corresponding to a given histogram name. | |
Static Private Attributes | |
static const char | SEPARATOR = ':' |
Separator for axis label. | |
Friends | |
std::istream & | operator>> (std::istream &in, JBinsMap &binning) |
Read binning from stream. | |
std::ostream & | operator<< (std::ostream &out, const JBinsMap &binning) |
Write binning to output. | |
Class for I/O of variable-width binning of multiple histograms.
Definition at line 40 of file JBinsMap.hh.
std::map<std::string, std::map<char, std::vector<double> > > JROOT::JBinsMap::map_type |
Definition at line 45 of file JBinsMap.hh.
map_type::mapped_type JROOT::JBinsMap::mapped_type |
Definition at line 47 of file JBinsMap.hh.
map_type::value_type JROOT::JBinsMap::value_type |
Definition at line 48 of file JBinsMap.hh.
map_type::iterator JROOT::JBinsMap::iterator |
Definition at line 50 of file JBinsMap.hh.
map_type::reverse_iterator JROOT::JBinsMap::reverse_iterator |
Definition at line 51 of file JBinsMap.hh.
map_type::const_iterator JROOT::JBinsMap::const_iterator |
Definition at line 53 of file JBinsMap.hh.
map_type::const_reverse_iterator JROOT::JBinsMap::const_reverse_iterator |
Definition at line 54 of file JBinsMap.hh.
|
inline |
Get histogram with binning corresponding to a given histogram name.
name | histogram name |
Definition at line 64 of file JBinsMap.hh.
|
friend |
Read binning from stream.
in | input stream |
Definition at line 78 of file JBinsMap.hh.
|
friend |
Write binning to output.
out | output stream |
Definition at line 141 of file JBinsMap.hh.
|
staticprivate |
Separator for axis label.
Definition at line 168 of file JBinsMap.hh.