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());
85 "Mismatch in number of entries between extension and main table for " + tab.
name());
89 fillColumn<float>(pair, tab);
91 fillColumn<int>(pair, tab);
93 fillColumn<uint8_t>(pair, tab);
enum LumiOutputBranches::@873 m_extension
const std::string & columnName(unsigned int col) const
void defineBranchesFromFirstEvent(const nanoaod::FlatTable &tab)
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
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