![]() |
ATLAS Offline Software
|
Classes | |
| struct | MultiColumnTable |
| struct | Range |
| struct | Range2D |
| struct | StatTable |
Typedefs | |
| using | SummandDefinition = std::pair<std::size_t, int> |
| using | RatioDefinition |
Functions | |
| template<class T_Stream, typename T_Counter> | |
| T_Stream & | dumpTable (T_Stream &out, Range< T_Counter > counter, const Range< std::string > &label, const std::string &label_prefix, const std::size_t column_width, const std::size_t min_label_width, const bool dump_footer, const bool separate_last_row, const unsigned int precision) |
| template<class T_Stream, typename T_Counter> | |
| T_Stream & | dumpTable (T_Stream &out, Range2D< T_Counter > counter, const Range< std::string > &row_label, const Range< std::string > &column_label, const std::string &top_left_label, const std::string &label_prefix, const std::size_t column_width, const std::size_t min_label_width, const bool dump_header, const bool dump_footer, const bool separate_last_row, const std::vector< unsigned int > &precision) |
| template<typename T_index, class T_string> | |
| std::vector< std::string > | makeLabelVector (T_index n_entries, std::initializer_list< std::pair< T_index, T_string > > a_list) |
| template<class T_Collection> | |
| std::size_t | maxLabelWidth (const T_Collection &col) |
| constexpr std::size_t | categoryStride (const std::size_t categories, const std::size_t sub_categories, const std::size_t n_counter) |
| constexpr std::size_t | subCategoryStride (const std::size_t categories, const std::size_t sub_categories, const std::size_t n_counter) |
| constexpr std::size_t | counterStride (const std::size_t categories, const std::size_t sub_categories, const std::size_t n_counter) |
| template<typename T_Output, typename T_Input, const std::size_t N> | |
| std::vector< T_Output > | createCounterArrayWithProjections (const std::size_t categories, const std::size_t sub_categories, const std::vector< std::array< T_Input, N > > &input_counts) |
| template<typename T> | |
| RatioDefinition | defineSimpleRatio (T numerator, T denominator) |
| template<typename T> | |
| std::tuple< std::string, RatioDefinition > | defineSimpleRatio (std::string &&name, T numerator, T denominator) |
| template<typename T> | |
| SummandDefinition | defineSummand (T counter_idx, int multiplier) |
| std::size_t | computeSum (const std::vector< SummandDefinition > &sum_def, std::size_t eta_offset, std::size_t row_stride, std::size_t seed_i, const std::vector< std::size_t > &stat) |
| float | computeRatio (std::size_t numerator, std::size_t denominator) |
| float | computeRatio (const RatioDefinition &ratio_def, std::size_t eta_offset, std::size_t row_stride, std::size_t seed_i, const std::vector< std::size_t > &stat) |
| std::tuple< std::string, RatioDefinition > | makeRatioDefinition (std::string &&name, std::vector< SummandDefinition > &&numerator, std::vector< SummandDefinition > &&denominator) |
| std::tuple< std::vector< std::string >, std::vector< RatioDefinition > > | splitRatioDefinitionsAndLabels (std::initializer_list< std::tuple< std::string, RatioDefinition > > a_ratio_list) |
| constexpr std::size_t | categoryStride (const std::size_t categories, const std::size_t sub_categories, const std::vector< RatioDefinition > &ratio_def) |
| std::size_t | subCategoryStride (const std::size_t categories, const std::size_t sub_categories, const std::vector< RatioDefinition > &ratio_def) |
| constexpr std::size_t | ratioStride (const std::size_t categories, const std::size_t sub_categories, const std::vector< RatioDefinition > &ratio_def) |
| std::vector< float > | computeRatios (const std::vector< RatioDefinition > &ratio_def, const std::size_t categories, const std::size_t sub_categories, const std::vector< std::size_t > &counter) |
| std::string | makeBinLabel (const std::string &variable_name, const std::vector< float > &bins, std::size_t bin_i, bool abs_value=false, int precision=1) |
| std::string | makeEtaBinLabel (const std::vector< float > &eta_bins, std::size_t eta_bin_i, bool abs_eta=false) |
Definition at line 377 of file TableUtils.h.
| using TableUtils::SummandDefinition = std::pair<std::size_t, int> |
Definition at line 376 of file TableUtils.h.
|
inlineconstexpr |
Definition at line 299 of file TableUtils.h.
|
inlineconstexpr |
Definition at line 463 of file TableUtils.h.
|
inline |
Definition at line 424 of file TableUtils.h.
|
inline |
Definition at line 414 of file TableUtils.h.
| std::vector< float > TableUtils::computeRatios | ( | const std::vector< RatioDefinition > & | ratio_def, |
| const std::size_t | categories, | ||
| const std::size_t | sub_categories, | ||
| const std::vector< std::size_t > & | counter ) |
Definition at line 21 of file TableUtils.cxx.
| std::size_t TableUtils::computeSum | ( | const std::vector< SummandDefinition > & | sum_def, |
| std::size_t | eta_offset, | ||
| std::size_t | row_stride, | ||
| std::size_t | seed_i, | ||
| const std::vector< std::size_t > & | stat ) |
Definition at line 8 of file TableUtils.cxx.
|
inlineconstexpr |
Definition at line 309 of file TableUtils.h.
| std::vector< T_Output > TableUtils::createCounterArrayWithProjections | ( | const std::size_t | categories, |
| const std::size_t | sub_categories, | ||
| const std::vector< std::array< T_Input, N > > & | input_counts ) |
Definition at line 322 of file TableUtils.h.
|
inline |
Definition at line 392 of file TableUtils.h.
|
inline |
Definition at line 384 of file TableUtils.h.
|
inline |
Definition at line 402 of file TableUtils.h.
| T_Stream & TableUtils::dumpTable | ( | T_Stream & | out, |
| Range2D< T_Counter > | counter, | ||
| const Range< std::string > & | row_label, | ||
| const Range< std::string > & | column_label, | ||
| const std::string & | top_left_label, | ||
| const std::string & | label_prefix, | ||
| const std::size_t | column_width, | ||
| const std::size_t | min_label_width, | ||
| const bool | dump_header, | ||
| const bool | dump_footer, | ||
| const bool | separate_last_row, | ||
| const std::vector< unsigned int > & | precision ) |
Definition at line 153 of file TableUtils.h.
| T_Stream & TableUtils::dumpTable | ( | T_Stream & | out, |
| Range< T_Counter > | counter, | ||
| const Range< std::string > & | label, | ||
| const std::string & | label_prefix, | ||
| const std::size_t | column_width, | ||
| const std::size_t | min_label_width, | ||
| const bool | dump_footer, | ||
| const bool | separate_last_row, | ||
| const unsigned int | precision ) |
Definition at line 105 of file TableUtils.h.
|
inline |
Definition at line 485 of file TableUtils.h.
|
inline |
Definition at line 514 of file TableUtils.h.
| std::vector< std::string > TableUtils::makeLabelVector | ( | T_index | n_entries, |
| std::initializer_list< std::pair< T_index, T_string > > | a_list ) |
Definition at line 275 of file TableUtils.h.
|
inline |
Definition at line 438 of file TableUtils.h.
| std::size_t TableUtils::maxLabelWidth | ( | const T_Collection & | col | ) |
Definition at line 290 of file TableUtils.h.
|
inlineconstexpr |
Definition at line 473 of file TableUtils.h.
|
inline |
Definition at line 448 of file TableUtils.h.
|
inlineconstexpr |
Definition at line 304 of file TableUtils.h.
|
inline |
Definition at line 468 of file TableUtils.h.