1 #ifndef PhysicsTools_NanoAOD_LumiOutputBranches_h 2 #define PhysicsTools_NanoAOD_LumiOutputBranches_h 21 if (
desc->className() !=
"nanoaod::FlatTable")
22 throw cms::Exception(
"Configuration",
"NanoAODOutputModule can only write out nanoaod::FlatTable objects");
46 TBranch *branchptr =
nullptr)
void fillColumn(NamedBranchPtr &pair, const nanoaod::FlatTable &tab)
void defineBranchesFromFirstEvent(const nanoaod::FlatTable &tab)
enum LumiOutputBranches::@834 m_extension
LumiOutputBranches(const edm::BranchDescription *desc, const edm::EDGetToken &token)
std::vector< NamedBranchPtr > m_floatBranches
TBranch * m_counterBranch
std::vector< NamedBranchPtr > m_uint8Branches
std::vector< NamedBranchPtr > m_intBranches
int columnIndex(const std::string &name) const
auto columnData(unsigned int column) const
get a column by index (const)
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)