#include <TableOutputFields.h>
Public Member Functions | |
void | createFields (const edm::EventForOutput &event, RNTupleModel &model) |
void | fillEntry (const nanoaod::FlatTable &table, std::size_t i) |
const edm::EDGetToken & | getToken () const |
void | print () const |
TableOutputFields ()=default | |
TableOutputFields (const edm::EDGetToken &token) | |
Private Attributes | |
std::vector< FlatTableField< bool > > | m_boolFields |
std::vector< FlatTableField< float > > | m_floatFields |
std::vector< FlatTableField< int > > | m_intFields |
edm::EDGetToken | m_token |
std::vector< FlatTableField< std::uint8_t > > | m_uint8Fields |
Definition at line 68 of file TableOutputFields.h.
|
default |
|
inlineexplicit |
Definition at line 71 of file TableOutputFields.h.
void TableOutputFields::createFields | ( | const edm::EventForOutput & | event, |
RNTupleModel & | model | ||
) |
Definition at line 50 of file TableOutputFields.cc.
References nanoaod::FlatTable::Bool, Exception, nanoaod::FlatTable::Float, patZpeak::handle, mps_fire::i, nanoaod::FlatTable::Int32, m_boolFields, m_floatFields, m_intFields, m_token, m_uint8Fields, isotrackApplyRegressor::model, TableParser::table, and nanoaod::FlatTable::UInt8.
Referenced by TableCollection::createFields().
void TableOutputFields::fillEntry | ( | const nanoaod::FlatTable & | table, |
std::size_t | i | ||
) |
Definition at line 74 of file TableOutputFields.cc.
References mps_fire::i, m_boolFields, m_floatFields, m_intFields, m_uint8Fields, and TableParser::table.
Referenced by TableCollection::fill().
const edm::EDGetToken & TableOutputFields::getToken | ( | ) | const |
Definition at line 89 of file TableOutputFields.cc.
References m_token.
Referenced by TableCollection::createFields(), TableCollection::fill(), and TableCollection::hasMainTable().
void TableOutputFields::print | ( | void | ) | const |
Definition at line 35 of file TableOutputFields.cc.
References gather_cfg::cout, m_boolFields, m_floatFields, m_intFields, and m_uint8Fields.
Referenced by TableCollection::print().
|
private |
Definition at line 82 of file TableOutputFields.h.
Referenced by createFields(), fillEntry(), and print().
|
private |
Definition at line 79 of file TableOutputFields.h.
Referenced by createFields(), fillEntry(), and print().
|
private |
Definition at line 80 of file TableOutputFields.h.
Referenced by createFields(), fillEntry(), and print().
|
private |
Definition at line 78 of file TableOutputFields.h.
Referenced by createFields(), and getToken().
|
private |
Definition at line 81 of file TableOutputFields.h.
Referenced by createFields(), fillEntry(), and print().