#include <MergeableCounterTable.h>
Classes | |
struct | SingleColumn |
struct | SingleWithNormColumn |
struct | VectorColumn |
struct | VectorWithNormColumn |
Public Types | |
typedef double | float_accumulator |
typedef SingleColumn< float_accumulator > | FloatColumn |
typedef SingleWithNormColumn< float_accumulator > | FloatWithNormColumn |
typedef long long | int_accumulator |
typedef SingleColumn< int_accumulator > | IntColumn |
typedef VectorColumn< float_accumulator > | VFloatColumn |
typedef VectorWithNormColumn< float_accumulator > | VFloatWithNormColumn |
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 F > | |
void | addFloatWithNorm (const std::string &name, const std::string &doc, F value, double norm) |
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 F > | |
void | addVFloatWithNorm (const std::string &name, const std::string &doc, const std::vector< F > values, double norm) |
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< FloatWithNormColumn > & | floatWithNormCols () 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< VFloatWithNormColumn > & | vfloatWithNormCols () 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< FloatWithNormColumn > | floatWithNormCols_ |
std::vector< IntColumn > | intCols_ |
std::vector< VFloatColumn > | vfloatCols_ |
std::vector< VFloatWithNormColumn > | vfloatWithNormCols_ |
std::vector< VIntColumn > | vintCols_ |
Definition at line 11 of file MergeableCounterTable.h.
typedef double nanoaod::MergeableCounterTable::float_accumulator |
Definition at line 15 of file MergeableCounterTable.h.
Definition at line 35 of file MergeableCounterTable.h.
Definition at line 53 of file MergeableCounterTable.h.
typedef long long nanoaod::MergeableCounterTable::int_accumulator |
Definition at line 14 of file MergeableCounterTable.h.
Definition at line 36 of file MergeableCounterTable.h.
Definition at line 77 of file MergeableCounterTable.h.
typedef VectorWithNormColumn<float_accumulator> nanoaod::MergeableCounterTable::VFloatWithNormColumn |
Definition at line 103 of file MergeableCounterTable.h.
Definition at line 78 of file MergeableCounterTable.h.
|
inline |
Definition at line 13 of file MergeableCounterTable.h.
|
inline |
Definition at line 113 of file MergeableCounterTable.h.
References hcalRecHitTable_cff::doc, floatCols_, and Skims_PA_cff::name.
|
inline |
Definition at line 118 of file MergeableCounterTable.h.
References hcalRecHitTable_cff::doc, floatWithNormCols_, and Skims_PA_cff::name.
|
inline |
Definition at line 123 of file MergeableCounterTable.h.
References hcalRecHitTable_cff::doc, intCols_, and Skims_PA_cff::name.
|
inline |
Definition at line 128 of file MergeableCounterTable.h.
References filterCSVwithJSON::copy, hcalRecHitTable_cff::doc, Skims_PA_cff::name, contentValuesCheck::values, and vfloatCols_.
|
inline |
Definition at line 134 of file MergeableCounterTable.h.
References filterCSVwithJSON::copy, hcalRecHitTable_cff::doc, Skims_PA_cff::name, contentValuesCheck::values, and vfloatWithNormCols_.
|
inline |
Definition at line 140 of file MergeableCounterTable.h.
References filterCSVwithJSON::copy, hcalRecHitTable_cff::doc, Skims_PA_cff::name, contentValuesCheck::values, and vintCols_.
|
inline |
Definition at line 105 of file MergeableCounterTable.h.
References floatCols_.
Referenced by SummaryTableOutputFields::fill(), SummaryTableOutputBranches::fill(), SummaryTableOutputFields::SummaryTableOutputFields(), and SummaryTableOutputBranches::updateBranches().
|
inline |
Definition at line 107 of file MergeableCounterTable.h.
References floatWithNormCols_.
Referenced by SummaryTableOutputFields::fill(), SummaryTableOutputBranches::fill(), SummaryTableOutputFields::SummaryTableOutputFields(), and SummaryTableOutputBranches::updateBranches().
|
inline |
Definition at line 109 of file MergeableCounterTable.h.
References intCols_.
Referenced by SummaryTableOutputFields::fill(), SummaryTableOutputBranches::fill(), SummaryTableOutputFields::SummaryTableOutputFields(), and SummaryTableOutputBranches::updateBranches().
|
inline |
Definition at line 145 of file MergeableCounterTable.h.
References floatCols_, floatWithNormCols_, intCols_, trackingPlots::other, tryMerge(), vfloatCols_, vfloatWithNormCols_, and vintCols_.
|
inline |
Definition at line 161 of file MergeableCounterTable.h.
References floatCols_, floatWithNormCols_, intCols_, vfloatCols_, vfloatWithNormCols_, and vintCols_.
|
inlineprivate |
Definition at line 179 of file MergeableCounterTable.h.
References SiPixelPI::two, and x.
Referenced by mergeProduct().
|
inline |
Definition at line 106 of file MergeableCounterTable.h.
References vfloatCols_.
Referenced by SummaryTableOutputFields::fill(), SummaryTableOutputBranches::fill(), SummaryTableOutputFields::SummaryTableOutputFields(), and SummaryTableOutputBranches::updateBranches().
|
inline |
Definition at line 108 of file MergeableCounterTable.h.
References vfloatWithNormCols_.
Referenced by SummaryTableOutputFields::fill(), SummaryTableOutputBranches::fill(), SummaryTableOutputFields::SummaryTableOutputFields(), and SummaryTableOutputBranches::updateBranches().
|
inline |
Definition at line 110 of file MergeableCounterTable.h.
References vintCols_.
Referenced by SummaryTableOutputFields::fill(), SummaryTableOutputBranches::fill(), SummaryTableOutputFields::SummaryTableOutputFields(), and SummaryTableOutputBranches::updateBranches().
|
private |
Definition at line 171 of file MergeableCounterTable.h.
Referenced by addFloat(), floatCols(), mergeProduct(), and swap().
|
private |
Definition at line 173 of file MergeableCounterTable.h.
Referenced by addFloatWithNorm(), floatWithNormCols(), mergeProduct(), and swap().
|
private |
Definition at line 175 of file MergeableCounterTable.h.
Referenced by addInt(), intCols(), mergeProduct(), and swap().
|
private |
Definition at line 172 of file MergeableCounterTable.h.
Referenced by addVFloat(), mergeProduct(), swap(), and vfloatCols().
|
private |
Definition at line 174 of file MergeableCounterTable.h.
Referenced by addVFloatWithNorm(), mergeProduct(), swap(), and vfloatWithNormCols().
|
private |
Definition at line 176 of file MergeableCounterTable.h.
Referenced by addVInt(), mergeProduct(), swap(), and vintCols().