|
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 ([[maybe_unused]] const std::size_t categories, [[maybe_unused]] const std::size_t sub_categories, [[maybe_unused]] const std::size_t n_counter) |
|
constexpr std::size_t | subCategoryStride ([[maybe_unused]] const std::size_t categories, [[maybe_unused]] const std::size_t sub_categories, [[maybe_unused]] const std::size_t n_counter) |
|
constexpr std::size_t | counterStride ([[maybe_unused]] const std::size_t categories, [[maybe_unused]] const std::size_t sub_categories, [[maybe_unused]] 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 ([[maybe_unused]] const std::size_t categories, [[maybe_unused]] const std::size_t sub_categories, [[maybe_unused]] const std::vector< RatioDefinition > &ratio_def) |
|
std::size_t | subCategoryStride ([[maybe_unused]] const std::size_t categories, [[maybe_unused]] const std::size_t sub_categories, [[maybe_unused]] const std::vector< RatioDefinition > &ratio_def) |
|
constexpr std::size_t | ratioStride ([[maybe_unused]] const std::size_t categories, [[maybe_unused]] const std::size_t sub_categories, [[maybe_unused]] 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) |
|