#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" | ) |
heppy::TriggerBitChecker::TriggerBitChecker | ( | const std::vector< std::string > & | paths | ) |
Definition at line 11 of file TriggerBitChecker.cc.
References mps_fire::i, Skims_PA_cff::paths, 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 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 39 of file TriggerBitChecker.cc.
References indices_, lastID_, edm::TriggerResults::parameterSetID(), mps_fire::result, 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, indices_, lastID_, edm::TriggerResults::parameterSetID(), mps_fire::result, and syncIndices().
|
private |
Definition at line 17 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 88 of file TriggerBitChecker.cc.
References charmTagsComputerCvsB_cfi::idx, and 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_, mps_fire::result, and AlCaHLTBitMon_QueryRunRegistry::string.
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().