g4tools
5.4.0
|
Public Types | |
typedef histo_data< TC, TO, TN, TW > | hd_t |
typedef axis< TC, TO > | axis_t |
typedef axis_t::bn_t | bn_t |
typedef unsigned int | dim_t |
typedef TC | coordinate_t |
typedef TO | offset_t |
typedef TN | num_entries_t |
typedef TW | weight_t |
typedef TH | height_t |
typedef std::map< std::string, std::string > | annotations_t |
Public Member Functions | |
const hd_t & | dac () const |
bool | equals (const base_histo &a_from, const TW &a_prec, TW(*a_fabs)(TW)) const |
const std::string & | title () const |
bool | set_title (const std::string &a_title) |
dim_t | dimension () const |
dim_t | number_of_planes () const |
TN | entries () const |
TN | all_entries () const |
TN | extra_entries () const |
TW | equivalent_bin_entries () const |
TH | sum_bin_heights () const |
TH | sum_all_bin_heights () const |
TH | sum_extra_bin_heights () const |
TH | min_bin_height () const |
TH | max_bin_height () const |
bool | min_bin_height_with_entries (TH &a_value) const |
bool | max_bin_height_with_entries (TH &a_value) const |
bool | has_entries_per_bin () const |
bool | get_ith_axis_Sxw (dim_t a_axis, TC &a_value) const |
bool | get_ith_axis_Sx2w (dim_t a_axis, TC &a_value) const |
TW | get_in_range_Sw () const |
TW | get_in_range_Sw2 () const |
void | get_Sw_Sw2 (TW &a_sw, TW &a_sw2) const |
void | get_all_Sw_Sw2 (TW &a_sw, TW &a_sw2) const |
const std::vector< TN > & | bins_entries () const |
const std::vector< TW > & | bins_sum_w () const |
const std::vector< TW > & | bins_sum_w2 () const |
const std::vector< std::vector< TC > > & | bins_sum_xw () const |
const std::vector< std::vector< TC > > & | bins_sum_x2w () const |
const std::vector< TC > & | in_range_planes_xyw () const |
const axis_t & | get_axis (int a_index) const |
offset_t | get_bins () const |
const std::string & | get_title () const |
dim_t | get_dimension () const |
bool | is_valid () const |
const annotations_t & | annotations () const |
annotations_t | annotations () |
void | add_annotation (const std::string &a_key, const std::string &a_value) |
bool | annotation (const std::string &a_key, std::string &a_value) const |
void | set_annotations (const annotations_t &a_annotations) |
void | hprint_annotations (std::ostream &a_out) |
Protected Types | |
enum | { AxisX =0, AxisY =1, AxisZ =2 } |
Protected Types inherited from tools::histo::histo_data< TC, TO, TN, TW > | |
typedef axis< TC, TO > | axis_t |
typedef unsigned int | dim_t |
typedef std::map< std::string, std::string > | annotations_t |
Protected Member Functions | |
virtual TH | get_bin_height (TO) const =0 |
void | base_from_data (const hd_t &a_from) |
hd_t | base_get_data () const |
base_histo () | |
virtual | ~base_histo () |
base_histo (const base_histo &a_from) | |
base_histo & | operator= (const base_histo &a_from) |
bool | configure (dim_t a_dim, const std::vector< bn_t > &aNumbers, const std::vector< TC > &aMins, const std::vector< TC > &aMaxs) |
bool | configure (dim_t a_dim, const std::vector< std::vector< TC > > &a_edges) |
void | base_reset () |
void | base_allocate () |
bool | is_compatible (const base_histo &a_histo) |
void | base_add (const base_histo &a_histo) |
void | base_subtract (const base_histo &a_histo) |
bool | base_multiply (const base_histo &a_histo) |
bool | base_divide (const base_histo &a_histo) |
bool | base_multiply (TW a_factor) |
bool | get_ith_axis_mean (dim_t a_axis, TC &a_value) const |
bool | get_ith_axis_rms (dim_t a_axis, TC &a_value) const |
TN | get_bin_entries (const std::vector< int > &aIs) const |
Protected Member Functions inherited from tools::histo::histo_data< TC, TO, TN, TW > | |
void | reset_fast_getters () |
histo_data () | |
histo_data (const histo_data &a_from) | |
histo_data & | operator= (const histo_data &a_from) |
virtual | ~histo_data () |
void | update_fast_getters () |
bool | equals (const histo_data &a_from, const TW &a_prec, TW(*a_fabs)(TW)) const |
bool | equals_TH (const histo_data &a_from, const TW &a_prec, TW(*a_fabs)(TW), bool a_cmp_bin_Sw2) const |
Additional Inherited Members | |
Protected Attributes inherited from tools::histo::histo_data< TC, TO, TN, TW > | |
std::string | m_title |
dim_t | m_dimension |
TO | m_bin_number |
std::vector< TN > | m_bin_entries |
std::vector< TW > | m_bin_Sw |
std::vector< TW > | m_bin_Sw2 |
std::vector< std::vector< TC > > | m_bin_Sxw |
std::vector< std::vector< TC > > | m_bin_Sx2w |
std::vector< axis_t > | m_axes |
std::vector< TC > | m_in_range_plane_Sxyw |
std::map< std::string, std::string > | m_annotations |
TN | m_all_entries |
TN | m_in_range_entries |
TW | m_in_range_Sw |
TW | m_in_range_Sw2 |
std::vector< TC > | m_in_range_Sxw |
std::vector< TC > | m_in_range_Sx2w |
Definition at line 27 of file base_histo.
typedef std::map<std::string,std::string> tools::histo::base_histo< TC, TO, TN, TW, TH >::annotations_t |
Definition at line 442 of file base_histo.
typedef axis<TC,TO> tools::histo::base_histo< TC, TO, TN, TW, TH >::axis_t |
Definition at line 36 of file base_histo.
typedef axis_t::bn_t tools::histo::base_histo< TC, TO, TN, TW, TH >::bn_t |
Definition at line 37 of file base_histo.
typedef TC tools::histo::base_histo< TC, TO, TN, TW, TH >::coordinate_t |
Definition at line 39 of file base_histo.
typedef unsigned int tools::histo::base_histo< TC, TO, TN, TW, TH >::dim_t |
Definition at line 38 of file base_histo.
typedef histo_data<TC,TO,TN,TW> tools::histo::base_histo< TC, TO, TN, TW, TH >::hd_t |
Definition at line 35 of file base_histo.
typedef TH tools::histo::base_histo< TC, TO, TN, TW, TH >::height_t |
Definition at line 43 of file base_histo.
typedef TN tools::histo::base_histo< TC, TO, TN, TW, TH >::num_entries_t |
Definition at line 41 of file base_histo.
typedef TO tools::histo::base_histo< TC, TO, TN, TW, TH >::offset_t |
Definition at line 40 of file base_histo.
typedef TW tools::histo::base_histo< TC, TO, TN, TW, TH >::weight_t |
Definition at line 42 of file base_histo.
|
protected |
Enumerator | |
---|---|
AxisX | |
AxisY | |
AxisZ |
Definition at line 291 of file base_histo.
|
inlineprotected |
Definition at line 58 of file base_histo.
|
inlineprotectedvirtual |
Definition at line 64 of file base_histo.
|
inlineprotected |
Definition at line 70 of file base_histo.
|
inline |
Definition at line 446 of file base_histo.
|
inline |
Definition at line 95 of file base_histo.
|
inline |
Definition at line 449 of file base_histo.
|
inline |
Definition at line 444 of file base_histo.
|
inline |
Definition at line 443 of file base_histo.
|
inlineprotected |
Definition at line 476 of file base_histo.
|
inlineprotected |
Definition at line 398 of file base_histo.
|
inlineprotected |
Definition at line 547 of file base_histo.
|
inlineprotected |
Definition at line 47 of file base_histo.
|
inlineprotected |
Definition at line 49 of file base_histo.
|
inlineprotected |
Definition at line 513 of file base_histo.
|
inlineprotected |
Definition at line 592 of file base_histo.
|
inlineprotected |
Definition at line 381 of file base_histo.
|
inlineprotected |
Definition at line 493 of file base_histo.
|
inline |
Definition at line 427 of file base_histo.
|
inline |
Definition at line 428 of file base_histo.
|
inline |
Definition at line 429 of file base_histo.
|
inline |
Definition at line 431 of file base_histo.
|
inline |
Definition at line 430 of file base_histo.
|
inlineprotected |
Definition at line 293 of file base_histo.
|
inlineprotected |
Definition at line 341 of file base_histo.
|
inline |
Definition at line 56 of file base_histo.
|
inline |
Definition at line 89 of file base_histo.
|
inline |
Definition at line 92 of file base_histo.
|
inline |
Definition at line 83 of file base_histo.
|
inline |
Definition at line 102 of file base_histo.
|
inline |
Definition at line 99 of file base_histo.
|
inline |
Definition at line 256 of file base_histo.
|
inline |
Definition at line 435 of file base_histo.
|
inlineprotected |
Definition at line 644 of file base_histo.
|
protectedpure virtual |
Implemented in tools::histo::p2< double, unsigned int, unsigned int, double, double, double >, tools::histo::p1< double, unsigned int, unsigned int, double, double, double >, tools::histo::h3< double, unsigned int, unsigned int, float, float >, tools::histo::h3< double, unsigned int, unsigned int, double, double >, tools::histo::h2< double, unsigned int, unsigned int, float, float >, tools::histo::h2< double, unsigned int, unsigned int, double, double >, tools::histo::h1< double, unsigned int, unsigned int, float, float >, tools::histo::h1< double, unsigned int, unsigned int, double, double >, tools::histo::p2< TC, TO, TN, TW, TH, TV >, tools::histo::p1< TC, TO, TN, TW, TH, TV >, tools::histo::h3< TC, TO, TN, TW, TH >, tools::histo::h2< TC, TO, TN, TW, TH >, and tools::histo::h1< TC, TO, TN, TW, TH >.
|
inline |
Definition at line 436 of file base_histo.
|
inline |
Definition at line 438 of file base_histo.
|
inline |
Definition at line 243 of file base_histo.
|
inline |
Definition at line 244 of file base_histo.
|
inlineprotected |
Definition at line 609 of file base_histo.
|
inlineprotected |
Definition at line 625 of file base_histo.
|
inline |
Definition at line 232 of file base_histo.
|
inline |
Definition at line 221 of file base_histo.
|
inline |
Definition at line 246 of file base_histo.
|
inline |
Definition at line 437 of file base_histo.
|
inline |
Definition at line 211 of file base_histo.
|
inline |
Definition at line 458 of file base_histo.
|
inline |
Definition at line 432 of file base_histo.
|
inlineprotected |
Definition at line 468 of file base_histo.
|
inline |
Definition at line 439 of file base_histo.
|
inline |
Definition at line 158 of file base_histo.
|
inline |
Definition at line 193 of file base_histo.
|
inline |
Definition at line 141 of file base_histo.
|
inline |
Definition at line 175 of file base_histo.
|
inline |
Definition at line 90 of file base_histo.
|
inlineprotected |
Definition at line 76 of file base_histo.
|
inline |
Definition at line 456 of file base_histo.
|
inline |
Definition at line 88 of file base_histo.
|
inline |
Definition at line 123 of file base_histo.
|
inline |
Definition at line 114 of file base_histo.
|
inline |
Definition at line 131 of file base_histo.
|
inline |
Definition at line 87 of file base_histo.