#include <TriggerOutputBranches.h>
Classes | |
struct | NamedBranchPtr |
Public Member Functions | |
void | fill (const edm::EventForOutput &iEvent, TTree &tree) |
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) |
Private Attributes | |
std::string | m_baseName |
UInt_t | m_counter |
unsigned long | m_fills |
long | m_lastRun |
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, triggerNames(), triggerResults, and updateTriggerNames().
void TriggerOutputBranches::fill | ( | const edm::EventForOutput & | iEvent, |
TTree & | tree | ||
) |
Definition at line 75 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 44 of file TriggerOutputBranches.h.
References edm::HLTGlobalStatus::accept(), TriggerOutputBranches::NamedBranchPtr::branch, TriggerOutputBranches::NamedBranchPtr::buffer, and TriggerOutputBranches::NamedBranchPtr::idx.
|
private |
Definition at line 52 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 TriggerOutputBranches().
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_triggerBranches, TriggerOutputBranches::NamedBranchPtr::name, dataset::name, edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerOutputBranches::NamedBranchPtr::title, and edm::TriggerNames::triggerName().
Referenced by fill(), and TriggerOutputBranches().
|
private |
Definition at line 28 of file TriggerOutputBranches.h.
|
private |
Definition at line 30 of file TriggerOutputBranches.h.
|
private |
Definition at line 41 of file TriggerOutputBranches.h.
Referenced by fill(), and updateTriggerNames().
|
private |
Definition at line 40 of file TriggerOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 29 of file TriggerOutputBranches.h.
|
private |
Definition at line 27 of file TriggerOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 39 of file TriggerOutputBranches.h.
Referenced by fill(), and updateTriggerNames().