#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 |
template<typename T = int> | |
T | 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 16 of file TriggerBitChecker.h.
heppy::TriggerBitChecker::TriggerBitChecker | ( | const std::string & | path = "DUMMY" | ) |
Definition at line 6 of file TriggerBitChecker.cc.
References rmstar().
heppy::TriggerBitChecker::TriggerBitChecker | ( | const std::vector< std::string > & | paths | ) |
Definition at line 8 of file TriggerBitChecker.cc.
References mps_fire::i, Skims_PA_cff::paths, paths_, returnPathStruct(), and rmstar().
|
inline |
Definition at line 28 of file TriggerBitChecker.h.
bool heppy::TriggerBitChecker::check | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result | ||
) | const |
Definition at line 24 of file TriggerBitChecker.cc.
References indices_, lastID_, mps_fire::result, and syncIndices().
bool heppy::TriggerBitChecker::check_unprescaled | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result_tr, | ||
const pat::PackedTriggerPrescales & | result | ||
) | const |
Definition at line 36 of file TriggerBitChecker.cc.
References indices_, lastID_, edm::TriggerResults::parameterSetID(), mps_fire::result, and syncIndices().
T heppy::TriggerBitChecker::getprescale | ( | const edm::EventBase & | event, |
const edm::TriggerResults & | result_tr, | ||
const pat::PackedTriggerPrescales & | result | ||
) | const |
Definition at line 59 of file TriggerBitChecker.h.
References cms::cuda::assert(), gather_cfg::cout, indices_, lastID_, edm::TriggerResults::parameterSetID(), mps_fire::result, and syncIndices().
|
private |
Definition at line 14 of file TriggerBitChecker.cc.
References heppy::TriggerBitChecker::pathStruct::first, heppy::TriggerBitChecker::pathStruct::last, castor_dqm_sourceclient_file_cfg::path, and heppy::TriggerBitChecker::pathStruct::pathName.
Referenced by TriggerBitChecker().
|
private |
executes a 'rm -rf *' in current directory
Definition at line 66 of file TriggerBitChecker.cc.
References heavyIonCSV_trainingSettings::idx, and paths_.
Referenced by TriggerBitChecker().
|
private |
sync indices with path names
Definition at line 53 of file TriggerBitChecker.cc.
References mps_fire::i, indices_, dqmiodumpmetadata::n, names, paths_, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by check(), check_unprescaled(), and getprescale().
|
mutableprivate |
Definition at line 48 of file TriggerBitChecker.h.
Referenced by check(), check_unprescaled(), getprescale(), and syncIndices().
|
mutableprivate |
Definition at line 47 of file TriggerBitChecker.h.
Referenced by check(), check_unprescaled(), and getprescale().
|
private |
Definition at line 45 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().