#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.
References check(), check_unprescaled(), getprescale(), and mps_fire::result.
bool heppy::TriggerBitChecker::check | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result | ||
) | const |
Definition at line 26 of file TriggerBitChecker.cc.
References edm::HLTGlobalStatus::accept(), indices_, lastID_, edm::TriggerResults::parameterSetID(), and syncIndices().
Referenced by ~TriggerBitChecker().
bool heppy::TriggerBitChecker::check_unprescaled | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result_tr, | ||
const pat::PackedTriggerPrescales & | result | ||
) | const |
Definition at line 34 of file TriggerBitChecker.cc.
References pat::PackedTriggerPrescales::getPrescaleForIndex(), indices_, lastID_, edm::TriggerResults::parameterSetID(), and syncIndices().
Referenced by ~TriggerBitChecker().
int heppy::TriggerBitChecker::getprescale | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result_tr, | ||
const pat::PackedTriggerPrescales & | result | ||
) | const |
Definition at line 43 of file TriggerBitChecker.cc.
References gather_cfg::cout, pat::PackedTriggerPrescales::getPrescaleForIndex(), indices_, lastID_, edm::TriggerResults::parameterSetID(), and syncIndices().
Referenced by ~TriggerBitChecker().
|
private |
Definition at line 16 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 70 of file TriggerBitChecker.cc.
References training_settings::idx, and paths_.
Referenced by TriggerBitChecker().
|
private |
sync indices with path names
Definition at line 58 of file TriggerBitChecker.cc.
References mps_fire::i, indices_, gen::n, cscdqm::h::names, paths_, edm::TriggerNames::size(), AlCaHLTBitMon_QueryRunRegistry::string, and edm::TriggerNames::triggerName().
Referenced by check(), check_unprescaled(), and getprescale().
|
mutableprivate |
Definition at line 35 of file TriggerBitChecker.h.
Referenced by check(), check_unprescaled(), getprescale(), and syncIndices().
|
mutableprivate |
Definition at line 34 of file TriggerBitChecker.h.
Referenced by check(), check_unprescaled(), and getprescale().
|
private |
Definition at line 32 of file TriggerBitChecker.h.
Referenced by Config.Process::_insertPaths(), Config.Process::dumpConfig(), Config.Process::dumpPython(), Config.Process::pathNames(), rmstar(), syncIndices(), and TriggerBitChecker().