#include <TriggerOutputBranches.h>
Definition at line 13 of file TriggerOutputBranches.h.
◆ TriggerOutputBranches()
◆ fill()
◆ fillColumn()
◆ processName()
std::string TriggerOutputBranches::processName |
( |
| ) |
|
|
inline |
◆ triggerNames()
◆ updateTriggerNames()
Definition at line 8 of file TriggerOutputBranches.cc.
11 std::vector<std::string> newNames(triggers.getTriggerNames());
12 if (newNames.empty()) {
13 for (
unsigned int j = 0;
j < triggers.size();
j++) {
14 newNames.push_back(
names.triggerName(
j));
21 for (
unsigned int j = 0;
j < newNames.size();
j++) {
23 std::size_t vfound =
name.rfind(
"_v");
24 if (vfound != std::string::npos && (
name.compare(0, 3,
"HLT") == 0 ||
name.compare(0, 2,
"L1") == 0)) {
25 name.replace(vfound,
name.size() - vfound,
"");
32 for (
unsigned int j = 0;
j < newNames.size();
j++) {
34 std::size_t vfound =
name.rfind(
"_v");
35 if (vfound != std::string::npos && (
name.compare(0, 3,
"HLT") == 0 ||
name.compare(0, 2,
"L1") == 0)) {
36 name.replace(vfound,
name.size() - vfound,
"");
39 if (
name.compare(0, 3,
"HLT") == 0 ||
name.compare(0, 4,
"Flag") == 0 ||
name.compare(0, 2,
"L1") == 0) {
49 uint8_t backFillValue = 0;
52 nb.branch =
tree.Branch(brname.c_str(), &backFillValue, (brname +
"/O").c_str());
53 nb.branch->SetTitle(nb.title.c_str());
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, Skims_PA_cff::name, TriggerOutputBranches::NamedBranchPtr::name, names, edm::HLTGlobalStatus::size(), AlCaHLTBitMon_QueryRunRegistry::string, TriggerOutputBranches::NamedBranchPtr::title, and verifyBranchUniqueName().
Referenced by fill().
◆ verifyBranchUniqueName()
bool TriggerOutputBranches::verifyBranchUniqueName |
( |
TTree & |
tree, |
|
|
std::string |
name |
|
) |
| const |
|
private |
◆ m_baseName
std::string TriggerOutputBranches::m_baseName |
|
private |
◆ m_counter
UInt_t TriggerOutputBranches::m_counter |
|
private |
◆ m_fills
unsigned long TriggerOutputBranches::m_fills |
|
private |
◆ m_lastRun
long TriggerOutputBranches::m_lastRun |
|
private |
◆ m_processName
std::string TriggerOutputBranches::m_processName |
|
private |
◆ m_singleton
bool TriggerOutputBranches::m_singleton |
|
private |
◆ m_token
◆ m_triggerBranches