#include <SummaryTableOutputBranches.h>
Classes | |
struct | NamedBranchPtr |
struct | NamedVectorBranchPtr |
Public Member Functions | |
void | fill (const edm::OccurrenceForOutput &iWhatever, TTree &tree) |
SummaryTableOutputBranches (const edm::BranchDescription *desc, const edm::EDGetToken &token) | |
Private Member Functions | |
void | defineBranchesFromFirstEvent (const nanoaod::MergeableCounterTable &tab, TTree &tree) |
template<typename Col > | |
void | fillScalarBranches (const std::vector< Col > &tabcols, std::vector< NamedBranchPtr > &branches) |
template<typename Col > | |
void | fillVectorBranches (const std::vector< Col > &tabcols, std::vector< NamedVectorBranchPtr > &branches) |
template<typename Col > | |
void | makeScalarBranches (const std::vector< Col > &tabcols, TTree &tree, const std::string &rootType, std::vector< NamedBranchPtr > &branches) |
template<typename Col > | |
void | makeVectorBranches (const std::vector< Col > &tabcols, TTree &tree, const std::string &rootType, std::vector< NamedVectorBranchPtr > &branches) |
Private Attributes | |
bool | m_branchesBooked |
std::vector< NamedBranchPtr > | m_floatBranches |
std::vector< NamedBranchPtr > | m_intBranches |
edm::EDGetToken | m_token |
std::vector< NamedVectorBranchPtr > | m_vfloatBranches |
std::vector< NamedVectorBranchPtr > | m_vintBranches |
Definition at line 12 of file SummaryTableOutputBranches.h.
|
inline |
Definition at line 14 of file SummaryTableOutputBranches.h.
References edm::BranchDescription::className(), and fill().
|
private |
Definition at line 49 of file SummaryTableOutputBranches.cc.
References nanoaod::MergeableCounterTable::floatCols(), nanoaod::MergeableCounterTable::intCols(), m_floatBranches, m_intBranches, m_vfloatBranches, m_vintBranches, makeScalarBranches(), makeVectorBranches(), compare::tree, nanoaod::MergeableCounterTable::vfloatCols(), and nanoaod::MergeableCounterTable::vintCols().
Referenced by fill().
void SummaryTableOutputBranches::fill | ( | const edm::OccurrenceForOutput & | iWhatever, |
TTree & | tree | ||
) |
Definition at line 62 of file SummaryTableOutputBranches.cc.
References defineBranchesFromFirstEvent(), fillScalarBranches(), fillVectorBranches(), nanoaod::MergeableCounterTable::floatCols(), edm::OccurrenceForOutput::getByToken(), cmsBatch::handle, nanoaod::MergeableCounterTable::intCols(), m_branchesBooked, m_floatBranches, m_intBranches, m_token, m_vfloatBranches, m_vintBranches, nanoaod::MergeableCounterTable::vfloatCols(), and nanoaod::MergeableCounterTable::vintCols().
Referenced by SummaryTableOutputBranches().
|
private |
Definition at line 27 of file SummaryTableOutputBranches.cc.
References Exception, mps_fire::i, gen::n, and dataset::name.
Referenced by fill().
|
private |
Definition at line 37 of file SummaryTableOutputBranches.cc.
References Exception, mps_fire::i, gen::n, dataset::name, and MuonErrorMatrixValues_cff::values.
Referenced by fill().
|
private |
Definition at line 5 of file SummaryTableOutputBranches.cc.
References beamvalidation::br, and cuy::col.
Referenced by defineBranchesFromFirstEvent().
|
private |
Definition at line 15 of file SummaryTableOutputBranches.cc.
References cuy::col.
Referenced by defineBranchesFromFirstEvent().
|
private |
Definition at line 41 of file SummaryTableOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 31 of file SummaryTableOutputBranches.h.
Referenced by defineBranchesFromFirstEvent(), and fill().
|
private |
Definition at line 31 of file SummaryTableOutputBranches.h.
Referenced by defineBranchesFromFirstEvent(), and fill().
|
private |
Definition at line 23 of file SummaryTableOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 39 of file SummaryTableOutputBranches.h.
Referenced by defineBranchesFromFirstEvent(), and fill().
|
private |
Definition at line 39 of file SummaryTableOutputBranches.h.
Referenced by defineBranchesFromFirstEvent(), and fill().