#include <TriggerBitChecker.h>
Classes | |
struct | pathStruct |
Public Member Functions | |
bool | check (const edm::EventBase &event, const edm::TriggerResults &result) const |
bool | check_unprescaled (const edm::EventBase &event, const edm::TriggerResults &result_tr, const pat::PackedTriggerPrescales &result) const |
int | getprescale (const edm::EventBase &event, const edm::TriggerResults &result_tr, const pat::PackedTriggerPrescales &result) const |
TriggerBitChecker (const std::string &path="DUMMY") | |
TriggerBitChecker (const std::vector< std::string > &paths) | |
~TriggerBitChecker () | |
Private Member Functions | |
pathStruct | returnPathStruct (const std::string &path) const |
void | rmstar () |
executes a 'rm -rf *' in current directory More... | |
void | syncIndices (const edm::EventBase &event, const edm::TriggerResults &result) const |
sync indices with path names More... | |
Private Attributes | |
std::vector< unsigned int > | indices_ |
edm::ParameterSetID | lastID_ |
std::vector< pathStruct > | paths_ |
Definition at line 12 of file TriggerBitChecker.h.
heppy::TriggerBitChecker::TriggerBitChecker | ( | const std::string & | path = "DUMMY" | ) |
Definition at line 9 of file TriggerBitChecker.cc.
References rmstar().
heppy::TriggerBitChecker::TriggerBitChecker | ( | const std::vector< std::string > & | paths | ) |
Definition at line 11 of file TriggerBitChecker.cc.
References mps_fire::i, paths_, returnPathStruct(), and rmstar().
|
inline |
Definition at line 24 of file TriggerBitChecker.h.
bool heppy::TriggerBitChecker::check | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result | ||
) | const |
Definition at line 27 of file TriggerBitChecker.cc.
References edm::HLTGlobalStatus::accept(), indices_, lastID_, edm::TriggerResults::parameterSetID(), and syncIndices().
bool heppy::TriggerBitChecker::check_unprescaled | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result_tr, | ||
const pat::PackedTriggerPrescales & | result | ||
) | const |
Definition at line 39 of file TriggerBitChecker.cc.
References pat::PackedTriggerPrescales::getPrescaleForIndex(), indices_, lastID_, edm::TriggerResults::parameterSetID(), and syncIndices().
int heppy::TriggerBitChecker::getprescale | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result_tr, | ||
const pat::PackedTriggerPrescales & | result | ||
) | const |
Definition at line 56 of file TriggerBitChecker.cc.
References cms::cuda::assert(), gather_cfg::cout, pat::PackedTriggerPrescales::getPrescaleForIndex(), indices_, lastID_, edm::TriggerResults::parameterSetID(), and syncIndices().
|
private |
Definition at line 17 of file TriggerBitChecker.cc.
References heppy::TriggerBitChecker::pathStruct::first, heppy::TriggerBitChecker::pathStruct::last, and heppy::TriggerBitChecker::pathStruct::pathName.
Referenced by TriggerBitChecker().
|
private |
executes a 'rm -rf *' in current directory
Definition at line 88 of file TriggerBitChecker.cc.
References paths_.
Referenced by TriggerBitChecker().
|
private |
sync indices with path names
Definition at line 75 of file TriggerBitChecker.cc.
References mps_fire::i, indices_, dqmiodumpmetadata::n, names, paths_, edm::TriggerNames::size(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TriggerNames::triggerName().
Referenced by check(), check_unprescaled(), and getprescale().
|
mutableprivate |
Definition at line 39 of file TriggerBitChecker.h.
Referenced by check(), check_unprescaled(), getprescale(), and syncIndices().
|
mutableprivate |
Definition at line 38 of file TriggerBitChecker.h.
Referenced by check(), check_unprescaled(), and getprescale().
|
private |
Definition at line 36 of file TriggerBitChecker.h.
Referenced by Config.Process::_insertPaths(), Config.Process::dumpConfig(), Config.Process::dumpPython(), Config.Process::pathNames(), rmstar(), Config.Process::splitPython(), syncIndices(), and TriggerBitChecker().