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)
enum LumiOutputBranches::@873 m_extension
void defineBranchesFromFirstEvent(const nanoaod::FlatTable &tab)
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)