#include <MergeableCounterTable.h>
Classes | |
struct | SingleColumn |
struct | VectorColumn |
Public Types | |
typedef double | float_accumulator |
typedef SingleColumn< float_accumulator > | FloatColumn |
typedef long long | int_accumulator |
typedef SingleColumn< int_accumulator > | IntColumn |
typedef VectorColumn< float_accumulator > | VFloatColumn |
typedef VectorColumn< int_accumulator > | VIntColumn |
Public Member Functions | |
template<typename F > | |
void | addFloat (const std::string &name, const std::string &doc, F value) |
template<typename I > | |
void | addInt (const std::string &name, const std::string &doc, I value) |
template<typename F > | |
void | addVFloat (const std::string &name, const std::string &doc, const std::vector< F > values) |
template<typename I > | |
void | addVInt (const std::string &name, const std::string &doc, const std::vector< I > values) |
const std::vector< FloatColumn > & | floatCols () const |
const std::vector< IntColumn > & | intCols () const |
MergeableCounterTable () | |
bool | mergeProduct (const MergeableCounterTable &other) |
void | swap (MergeableCounterTable &iOther) |
const std::vector< VFloatColumn > & | vfloatCols () const |
const std::vector< VIntColumn > & | vintCols () const |
Private Member Functions | |
template<typename T > | |
bool | tryMerge (std::vector< T > &one, const std::vector< T > &two) |
Private Attributes | |
std::vector< FloatColumn > | floatCols_ |
std::vector< IntColumn > | intCols_ |
std::vector< VFloatColumn > | vfloatCols_ |
std::vector< VIntColumn > | vintCols_ |
Definition at line 10 of file MergeableCounterTable.h.
typedef double nanoaod::MergeableCounterTable::float_accumulator |
Definition at line 14 of file MergeableCounterTable.h.
Definition at line 34 of file MergeableCounterTable.h.
typedef long long nanoaod::MergeableCounterTable::int_accumulator |
Definition at line 13 of file MergeableCounterTable.h.
Definition at line 35 of file MergeableCounterTable.h.
Definition at line 60 of file MergeableCounterTable.h.
Definition at line 61 of file MergeableCounterTable.h.
|
inline |
Definition at line 12 of file MergeableCounterTable.h.
|
inline |
Definition at line 69 of file MergeableCounterTable.h.
References floatCols_.
|
inline |
Definition at line 74 of file MergeableCounterTable.h.
References intCols_.
|
inline |
Definition at line 79 of file MergeableCounterTable.h.
References filterCSVwithJSON::copy, and vfloatCols_.
|
inline |
Definition at line 85 of file MergeableCounterTable.h.
References filterCSVwithJSON::copy, and vintCols_.
|
inline |
Definition at line 63 of file MergeableCounterTable.h.
References floatCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
inline |
Definition at line 65 of file MergeableCounterTable.h.
References intCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
inline |
Definition at line 90 of file MergeableCounterTable.h.
References floatCols_, intCols_, tryMerge(), vfloatCols_, and vintCols_.
|
inline |
Definition at line 102 of file MergeableCounterTable.h.
References floatCols_, intCols_, vfloatCols_, and vintCols_.
|
inlineprivate |
Definition at line 116 of file MergeableCounterTable.h.
References nanoaod::MergeableCounterTable::SingleColumn< T >::compatible(), mps_fire::i, and dqmiodumpmetadata::n.
Referenced by mergeProduct().
|
inline |
Definition at line 64 of file MergeableCounterTable.h.
References vfloatCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
inline |
Definition at line 66 of file MergeableCounterTable.h.
References vintCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
private |
Definition at line 110 of file MergeableCounterTable.h.
Referenced by addFloat(), floatCols(), mergeProduct(), and swap().
|
private |
Definition at line 112 of file MergeableCounterTable.h.
Referenced by addInt(), intCols(), mergeProduct(), and swap().
|
private |
Definition at line 111 of file MergeableCounterTable.h.
Referenced by addVFloat(), mergeProduct(), swap(), and vfloatCols().
|
private |
Definition at line 113 of file MergeableCounterTable.h.
Referenced by addVInt(), mergeProduct(), swap(), and vintCols().