#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 33 of file MergeableCounterTable.h.
typedef long long nanoaod::MergeableCounterTable::int_accumulator |
Definition at line 13 of file MergeableCounterTable.h.
Definition at line 34 of file MergeableCounterTable.h.
Definition at line 57 of file MergeableCounterTable.h.
Definition at line 58 of file MergeableCounterTable.h.
|
inline |
Definition at line 12 of file MergeableCounterTable.h.
|
inline |
Definition at line 66 of file MergeableCounterTable.h.
References floatCols_.
|
inline |
Definition at line 69 of file MergeableCounterTable.h.
References intCols_.
|
inline |
Definition at line 72 of file MergeableCounterTable.h.
References popcon2dropbox::copy(), and vfloatCols_.
|
inline |
Definition at line 78 of file MergeableCounterTable.h.
References popcon2dropbox::copy(), and vintCols_.
|
inline |
Definition at line 60 of file MergeableCounterTable.h.
References floatCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
inline |
Definition at line 62 of file MergeableCounterTable.h.
References intCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
inline |
Definition at line 84 of file MergeableCounterTable.h.
References floatCols_, intCols_, tryMerge(), vfloatCols_, and vintCols_.
|
inline |
Definition at line 92 of file MergeableCounterTable.h.
References floatCols_, intCols_, vfloatCols_, and vintCols_.
|
inlineprivate |
Definition at line 106 of file MergeableCounterTable.h.
References nanoaod::MergeableCounterTable::SingleColumn< T >::compatible(), mps_fire::i, and gen::n.
Referenced by mergeProduct().
|
inline |
Definition at line 61 of file MergeableCounterTable.h.
References vfloatCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
inline |
Definition at line 63 of file MergeableCounterTable.h.
References vintCols_.
Referenced by SummaryTableOutputBranches::defineBranchesFromFirstEvent(), and SummaryTableOutputBranches::fill().
|
private |
Definition at line 100 of file MergeableCounterTable.h.
Referenced by addFloat(), floatCols(), mergeProduct(), and swap().
|
private |
Definition at line 102 of file MergeableCounterTable.h.
Referenced by addInt(), intCols(), mergeProduct(), and swap().
|
private |
Definition at line 101 of file MergeableCounterTable.h.
Referenced by addVFloat(), mergeProduct(), swap(), and vfloatCols().
|
private |
Definition at line 103 of file MergeableCounterTable.h.
Referenced by addVInt(), mergeProduct(), swap(), and vintCols().