1 #ifndef PhysicsTools_NanoAOD_LumiOutputBranches_h
2 #define PhysicsTools_NanoAOD_LumiOutputBranches_h
16 if (desc->
className() !=
"nanoaod::FlatTable")
17 throw cms::Exception(
"Configuration",
"NanoAODOutputModule can only write out nanoaod::FlatTable objects");
40 TBranch *branchptr =
nullptr)
void fillColumn(NamedBranchPtr &pair, const nanoaod::FlatTable &tab)
int columnIndex(const std::string &name) const
void defineBranchesFromFirstEvent(const nanoaod::FlatTable &tab)
LumiOutputBranches(const edm::BranchDescription *desc, const edm::EDGetToken &token)
std::vector< NamedBranchPtr > m_floatBranches
enum LumiOutputBranches::@900 m_extension
TBranch * m_counterBranch
std::vector< NamedBranchPtr > m_uint8Branches
auto columnData(unsigned int column) const
get a column by index (const)
std::string const & className() const
std::vector< NamedBranchPtr > m_intBranches
NamedBranchPtr(const std::string &aname, const std::string &atitle, const std::string &rootType, TBranch *branchptr=nullptr)
void fill(const edm::LuminosityBlockForOutput &iLumi, TTree &tree, bool extensions)