#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().
void TriggerOutputBranches::fill | ( | const edm::EventForOutput & | iEvent, |
TTree & | tree | ||
) |
Definition at line 84 of file TriggerOutputBranches.cc.
References edm::OccurrenceForOutput::getByToken(), patZpeak::handle, edm::EventForOutput::id(), m_fills, m_lastRun, m_token, m_triggerBranches, names, edm::EventID::run(), triggerNames(), and updateTriggerNames().
|
inlineprivate |
Definition at line 50 of file TriggerOutputBranches.h.
References edm::HLTGlobalStatus::accept(), TriggerOutputBranches::NamedBranchPtr::branch, TriggerOutputBranches::NamedBranchPtr::buffer, and TriggerOutputBranches::NamedBranchPtr::idx.
|
inline |
Definition at line 24 of file TriggerOutputBranches.h.
References m_processName.
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(), TrackValidation_cff::pset, edm::HLTGlobalStatus::size(), and edm::TriggerNames::size().
Referenced by fill().
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, dqmPostProcessing_online::existing, newFWLiteAna::found, edm::TriggerResults::getTriggerNames(), mps_fire::i, TriggerOutputBranches::NamedBranchPtr::idx, dqmiolumiharvest::j, m_fills, m_processName, m_triggerBranches, TriggerOutputBranches::NamedBranchPtr::name, mergeVDriftHistosByStation::name, edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerOutputBranches::NamedBranchPtr::title, edm::TriggerNames::triggerName(), and verifyBranchUniqueName().
Referenced by fill().
|
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 32 of file TriggerOutputBranches.h.
|
private |
Definition at line 34 of file TriggerOutputBranches.h.
|
private |
Definition at line 45 of file TriggerOutputBranches.h.
Referenced by fill(), and updateTriggerNames().
|
private |
Definition at line 44 of file TriggerOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 46 of file TriggerOutputBranches.h.
Referenced by processName(), updateTriggerNames(), and verifyBranchUniqueName().
|
private |
Definition at line 33 of file TriggerOutputBranches.h.
|
private |
Definition at line 31 of file TriggerOutputBranches.h.
Referenced by fill().
|
private |
Definition at line 43 of file TriggerOutputBranches.h.
Referenced by fill(), and updateTriggerNames().