#include <TriggerOutputBranches.h>
Classes | |
struct | NamedBranchPtr |
Public Member Functions | |
void | fill (const edm::EventForOutput &iEvent, TTree &tree) |
std::string | processName () |
TriggerOutputBranches (const edm::BranchDescription *desc, const edm::EDGetToken &token) | |
void | updateTriggerNames (TTree &tree, const edm::TriggerNames &names, const edm::TriggerResults &ta) |
Private Member Functions | |
template<typename T > | |
void | fillColumn (NamedBranchPtr &nb, const edm::TriggerResults &triggers) |
edm::TriggerNames | triggerNames (const edm::TriggerResults triggerResults) |
bool | verifyBranchUniqueName (TTree &, std::string) const |
Private Attributes | |
std::string | m_baseName |
UInt_t | m_counter |
unsigned long | m_fills |
long | m_lastRun |
std::string | m_processName |
bool | m_singleton |
edm::EDGetToken | m_token |
std::vector< NamedBranchPtr > | m_triggerBranches |
Definition at line 13 of file TriggerOutputBranches.h.
|
inline |
Definition at line 15 of file TriggerOutputBranches.h.
References edm::BranchDescription::className(), fill(), iEvent, names, and updateTriggerNames().
void TriggerOutputBranches::fill | ( | const edm::EventForOutput & | iEvent, |
TTree & | tree | ||
) |
Definition at line 84 of file TriggerOutputBranches.cc.
References edm::OccurrenceForOutput::getByToken(), cmsBatch::handle, edm::EventForOutput::id(), m_fills, m_lastRun, m_token, m_triggerBranches, names, edm::EventID::run(), triggerNames(), and updateTriggerNames().
Referenced by TriggerOutputBranches().
|
inlineprivate |
Definition at line 47 of file TriggerOutputBranches.h.
References edm::HLTGlobalStatus::accept(), TriggerOutputBranches::NamedBranchPtr::branch, TriggerOutputBranches::NamedBranchPtr::buffer, and TriggerOutputBranches::NamedBranchPtr::idx.
|
inline |
Definition at line 23 of file TriggerOutputBranches.h.
References m_processName, triggerNames(), and triggerResults.
Referenced by NanoAODOutputModule::write().
|
private |
Definition at line 63 of file TriggerOutputBranches.cc.
References Exception, edm::ParameterSet::existsAs(), edm::pset::Registry::getMapped(), edm::pset::Registry::instance(), edm::TriggerResults::parameterSetID(), muonDTDigis_cfi::pset, edm::HLTGlobalStatus::size(), and edm::TriggerNames::size().
Referenced by fill(), and processName().
void TriggerOutputBranches::updateTriggerNames | ( | TTree & | tree, |
const edm::TriggerNames & | names, | ||
const edm::TriggerResults & | ta | ||
) |
Definition at line 8 of file TriggerOutputBranches.cc.
References TriggerOutputBranches::NamedBranchPtr::branch, runEdmFileComparison::found, edm::TriggerResults::getTriggerNames(), mps_fire::i, TriggerOutputBranches::NamedBranchPtr::idx, m_fills, m_processName, m_triggerBranches, TriggerOutputBranches::NamedBranchPtr::name, dataset::name, edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerOutputBranches::NamedBranchPtr::title, edm::TriggerNames::triggerName(), and verifyBranchUniqueName().
Referenced by fill(), and TriggerOutputBranches().
|
private |
Definition at line 99 of file TriggerOutputBranches.cc.
References mps_fire::i, m_processName, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by updateTriggerNames().
|
private |
Definition at line 29 of file TriggerOutputBranches.h.
|
private |
Definition at line 31 of file TriggerOutputBranches.h.
|
private |
Definition at line 42 of file TriggerOutputBranches.h.
Referenced by fill(), and updateTriggerNames().
|
private |
Definition at line 41 of file TriggerOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 43 of file TriggerOutputBranches.h.
Referenced by processName(), updateTriggerNames(), and verifyBranchUniqueName().
|
private |
Definition at line 30 of file TriggerOutputBranches.h.
|
private |
Definition at line 28 of file TriggerOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 40 of file TriggerOutputBranches.h.
Referenced by fill(), and updateTriggerNames().