1 #ifndef PhysicsTools_NanoAOD_EventStringOutputBranches_h 2 #define PhysicsTools_NanoAOD_EventStringOutputBranches_h 15 bool update_only_at_new_lumi =
false)
17 if (
desc->className() !=
"std::basic_string<char,std::char_traits<char> >")
19 "NanoAODOutputModule/EventStringOutputBranches can only write out std::string objects");
void fill(const edm::EventForOutput &iEvent, TTree &tree)
NamedBranchPtr(const std::string &aname, const std::string &atitle, TBranch *branchptr=nullptr)
std::vector< NamedBranchPtr > m_evStringBranches
void updateEventStringNames(TTree &, const std::string &)
bool m_update_only_at_new_lumi
EventStringOutputBranches(const edm::BranchDescription *desc, const edm::EDGetToken &token, bool update_only_at_new_lumi=false)