7 return baseName.empty() ? leafName : (leafName.empty() ? baseName : baseName +
"_" + leafName);
40 "Trying to save an extension table for " +
m_baseName +
41 " before having saved the corresponding main table\n");
53 for (
auto &pair : *branches) {
57 pair.branch->SetTitle(pair.title.c_str());
76 ", is too large for ROOT native array branch");
92 "Mismatch in number of entries between extension and main table for " + tab.
name());
96 fillColumn<float>(pair, tab);
98 fillColumn<int>(pair, tab);
100 fillColumn<uint8_t>(pair, tab);
const std::string & columnName(unsigned int col) const
void defineBranchesFromFirstEvent(const nanoaod::FlatTable &tab)
enum LumiOutputBranches::@884 m_extension
std::vector< NamedBranchPtr > m_floatBranches
BasicHandle getByToken(EDGetToken token, TypeID const &typeID) const
TBranch * m_counterBranch
std::vector< NamedBranchPtr > m_uint8Branches
const std::string & name() const
static std::string to_string(const XMLCh *ch)
const std::string & doc() const
std::vector< NamedBranchPtr > m_intBranches
ColumnType columnType(unsigned int col) const
void fill(const edm::LuminosityBlockForOutput &iLumi, TTree &tree, bool extensions)
unsigned int nColumns() const
const std::string & columnDoc(unsigned int col) const
unsigned int size() const