Go to the documentation of this file. 1 #ifndef PhysicsTools_NanoAOD_TriggerOutputBranches_h
2 #define PhysicsTools_NanoAOD_TriggerOutputBranches_h
17 if (desc->
className() !=
"edm::TriggerResults")
19 "NanoAODOutputModule/TriggerOutputBranches can only write out edm::TriggerResults objects");
bool verifyBranchUniqueName(TTree &, std::string) const
std::string processName()
std::vector< NamedBranchPtr > m_triggerBranches
NamedBranchPtr(const std::string &aname, const std::string &atitle, TBranch *branchptr=nullptr)
edm::TriggerNames triggerNames(const edm::TriggerResults triggerResults)
static const std::string triggerResults
void fillColumn(NamedBranchPtr &nb, const edm::TriggerResults &triggers)
const std::string names[nVars_]
void updateTriggerNames(TTree &tree, const edm::TriggerNames &names, const edm::TriggerResults &ta)
TriggerOutputBranches(const edm::BranchDescription *desc, const edm::EDGetToken &token)
void fill(const edm::EventForOutput &iEvent, TTree &tree)
bool accept() const
Has at least one path accepted the event?
std::string const & className() const
std::string m_processName