#include <IgProfService.h>
Public Member Functions | |
IgProfService (const ParameterSet &, ActivityRegistry &) | |
void | postBeginJob () |
void | postBeginLumi (GlobalContext const &gc) |
void | postBeginRun (GlobalContext const &gc) |
void | postCloseFile (std::string const &) |
void | postEndJob () |
void | postEndLumi (GlobalContext const &gc) |
void | postEndProcessBlock (GlobalContext const &gc) |
void | postEndRun (GlobalContext const &gc) |
void | postEvent (StreamContext const &sc) |
void | postModuleEvent (StreamContext const &sc, ModuleCallingContext const &mcc) |
void | postOpenFile (std::string const &) |
void | preEndJob () |
void | preEndProcessBlock (GlobalContext const &gc) |
void | preEndRun (GlobalContext const &gc) |
void | preEvent (StreamContext const &sc) |
void | preModuleEvent (StreamContext const &sc, ModuleCallingContext const &mcc) |
Private Member Functions | |
void | makeDump (const std::string &format, std::string_view moduleLabel="") |
Static Private Member Functions | |
static std::string | replace (const std::string &s, const char *pat, int val) |
static std::string | replace (const std::string &s, const char *pat, std::string_view val) |
static std::string | replaceU64 (const std::string &s, const char *pat, unsigned long long val) |
Private Attributes | |
std::string | atPostBeginJob_ |
std::string | atPostBeginLumi_ |
std::string | atPostBeginRun_ |
std::string | atPostCloseFile_ |
std::string | atPostEndJob_ |
std::string | atPostEndLumi_ |
std::string | atPostEndProcessBlock_ |
std::string | atPostEndRun_ |
std::string | atPostEvent_ |
std::string | atPostModuleEvent_ |
std::string | atPostOpenFile_ |
std::string | atPreEndJob_ |
std::string | atPreEndProcessBlock_ |
std::string | atPreEndRun_ |
std::string | atPreEvent_ |
std::string | atPreModuleEvent_ |
void(* | dump_ )(const char *) |
int | mineventrecord_ |
std::vector< std::string > | modules_ |
std::vector< std::string > | moduleTypes_ |
edm::EventNumber_t | nevent_ |
int | nfileclosed_ |
int | nfileopened_ |
edm::LuminosityBlockNumber_t | nlumi_ |
int | nrecord_ |
edm::RunNumber_t | nrun_ |
int | prescale_ |
Definition at line 20 of file IgProfService.h.
IgProfService::IgProfService | ( | const ParameterSet & | ps, |
ActivityRegistry & | iRegistry | ||
) |
Definition at line 25 of file IgProfService.cc.
References atPostBeginJob_, atPostBeginLumi_, atPostBeginRun_, atPostCloseFile_, atPostEndJob_, atPostEndLumi_, atPostEndProcessBlock_, atPostEndRun_, atPostEvent_, atPostModuleEvent_, atPostOpenFile_, atPreEndJob_, atPreEndProcessBlock_, atPreEndRun_, atPreEvent_, atPreModuleEvent_, dump_, edm::ParameterSet::getUntrackedParameter(), mineventrecord_, modules_, moduleTypes_, or, postBeginJob(), postBeginLumi(), postBeginRun(), postCloseFile(), postEndJob(), postEndLumi(), postEndProcessBlock(), postEndRun(), postEvent(), postModuleEvent(), postOpenFile(), preEndJob(), preEndProcessBlock(), preEndRun(), preEvent(), preModuleEvent(), prescale_, jetsAK4_CHS_cff::sort, AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEndProcessBlock(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPreEndJob(), edm::ActivityRegistry::watchPreEndProcessBlock(), edm::ActivityRegistry::watchPreEvent(), edm::ActivityRegistry::watchPreGlobalEndRun(), and edm::ActivityRegistry::watchPreModuleEvent().
|
private |
Definition at line 188 of file IgProfService.cc.
References dump_, dqm-mbProfile::format, HerwigMaxPtPartonFilter_cfi::moduleLabel, nevent_, nfileclosed_, nfileopened_, nlumi_, nrecord_, nrun_, replace(), replaceU64(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by postBeginJob(), postBeginLumi(), postBeginRun(), postCloseFile(), postEndJob(), postEndLumi(), postEndProcessBlock(), postEndRun(), postEvent(), postModuleEvent(), postOpenFile(), preEndJob(), preEndProcessBlock(), preEndRun(), preEvent(), and preModuleEvent().
void IgProfService::postBeginJob | ( | ) |
Definition at line 106 of file IgProfService.cc.
References atPostBeginJob_, and makeDump().
Referenced by IgProfService().
void IgProfService::postBeginLumi | ( | GlobalContext const & | gc | ) |
Definition at line 113 of file IgProfService.cc.
References atPostBeginLumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), makeDump(), and nlumi_.
Referenced by IgProfService().
void IgProfService::postBeginRun | ( | GlobalContext const & | gc | ) |
Definition at line 108 of file IgProfService.cc.
References atPostBeginRun_, edm::GlobalContext::luminosityBlockID(), makeDump(), nrun_, and edm::LuminosityBlockID::run().
Referenced by IgProfService().
void IgProfService::postCloseFile | ( | std::string const & | ) |
Definition at line 183 of file IgProfService.cc.
References atPostCloseFile_, makeDump(), and nfileclosed_.
Referenced by IgProfService().
void IgProfService::postEndJob | ( | ) |
Definition at line 176 of file IgProfService.cc.
References atPostEndJob_, and makeDump().
Referenced by IgProfService().
void IgProfService::postEndLumi | ( | GlobalContext const & | gc | ) |
Definition at line 155 of file IgProfService.cc.
References atPostEndLumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), makeDump(), and nlumi_.
Referenced by IgProfService().
void IgProfService::postEndProcessBlock | ( | GlobalContext const & | gc | ) |
Definition at line 172 of file IgProfService.cc.
References atPostEndProcessBlock_, and makeDump().
Referenced by IgProfService().
void IgProfService::postEndRun | ( | GlobalContext const & | gc | ) |
Definition at line 165 of file IgProfService.cc.
References atPostEndRun_, edm::GlobalContext::luminosityBlockID(), makeDump(), nrun_, and edm::LuminosityBlockID::run().
Referenced by IgProfService().
void IgProfService::postEvent | ( | StreamContext const & | sc | ) |
Definition at line 125 of file IgProfService.cc.
References atPostEvent_, edm::EventID::event(), edm::StreamContext::eventID(), makeDump(), mineventrecord_, nevent_, nrecord_, and prescale_.
Referenced by IgProfService().
void IgProfService::postModuleEvent | ( | StreamContext const & | sc, |
ModuleCallingContext const & | mcc | ||
) |
Definition at line 143 of file IgProfService.cc.
References atPostModuleEvent_, edm::EventID::event(), edm::StreamContext::eventID(), makeDump(), mineventrecord_, edm::ModuleCallingContext::moduleDescription(), HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), modules_, moduleTypes_, nevent_, nrecord_, or, and prescale_.
Referenced by IgProfService().
void IgProfService::postOpenFile | ( | std::string const & | ) |
Definition at line 178 of file IgProfService.cc.
References atPostOpenFile_, makeDump(), and nfileopened_.
Referenced by IgProfService().
void IgProfService::preEndJob | ( | ) |
Definition at line 174 of file IgProfService.cc.
References atPreEndJob_, and makeDump().
Referenced by IgProfService().
void IgProfService::preEndProcessBlock | ( | GlobalContext const & | gc | ) |
Definition at line 170 of file IgProfService.cc.
References atPreEndProcessBlock_, and makeDump().
Referenced by IgProfService().
void IgProfService::preEndRun | ( | GlobalContext const & | gc | ) |
Definition at line 160 of file IgProfService.cc.
References atPreEndRun_, edm::GlobalContext::luminosityBlockID(), makeDump(), nrun_, and edm::LuminosityBlockID::run().
Referenced by IgProfService().
void IgProfService::preEvent | ( | StreamContext const & | sc | ) |
Definition at line 118 of file IgProfService.cc.
References atPreEvent_, edm::EventID::event(), edm::StreamContext::eventID(), makeDump(), mineventrecord_, nevent_, nrecord_, and prescale_.
Referenced by IgProfService().
void IgProfService::preModuleEvent | ( | StreamContext const & | sc, |
ModuleCallingContext const & | mcc | ||
) |
Definition at line 131 of file IgProfService.cc.
References atPreModuleEvent_, edm::EventID::event(), edm::StreamContext::eventID(), makeDump(), mineventrecord_, edm::ModuleCallingContext::moduleDescription(), HerwigMaxPtPartonFilter_cfi::moduleLabel, edm::ModuleDescription::moduleLabel(), edm::ModuleDescription::moduleName(), modules_, moduleTypes_, nevent_, nrecord_, or, and prescale_.
Referenced by IgProfService().
|
staticprivate |
Definition at line 203 of file IgProfService.cc.
References visDQMUpload::buf, dqmiodumpmetadata::n, mps_fire::result, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and heppy_batch::val.
Referenced by makeDump().
|
staticprivate |
Definition at line 231 of file IgProfService.cc.
References mps_fire::result, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and heppy_batch::val.
|
staticprivate |
Definition at line 217 of file IgProfService.cc.
References visDQMUpload::buf, dqmiodumpmetadata::n, mps_fire::result, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and heppy_batch::val.
Referenced by makeDump().
|
private |
Definition at line 59 of file IgProfService.h.
Referenced by IgProfService(), and postBeginJob().
|
private |
Definition at line 61 of file IgProfService.h.
Referenced by IgProfService(), and postBeginLumi().
|
private |
Definition at line 60 of file IgProfService.h.
Referenced by IgProfService(), and postBeginRun().
|
private |
Definition at line 80 of file IgProfService.h.
Referenced by IgProfService(), and postCloseFile().
|
private |
Definition at line 77 of file IgProfService.h.
Referenced by IgProfService(), and postEndJob().
|
private |
Definition at line 71 of file IgProfService.h.
Referenced by IgProfService(), and postEndLumi().
|
private |
Definition at line 75 of file IgProfService.h.
Referenced by IgProfService(), and postEndProcessBlock().
|
private |
Definition at line 73 of file IgProfService.h.
Referenced by IgProfService(), and postEndRun().
|
private |
Definition at line 64 of file IgProfService.h.
Referenced by IgProfService(), and postEvent().
|
private |
Definition at line 69 of file IgProfService.h.
Referenced by IgProfService(), and postModuleEvent().
|
private |
Definition at line 79 of file IgProfService.h.
Referenced by IgProfService(), and postOpenFile().
|
private |
Definition at line 76 of file IgProfService.h.
Referenced by IgProfService(), and preEndJob().
|
private |
Definition at line 74 of file IgProfService.h.
Referenced by IgProfService(), and preEndProcessBlock().
|
private |
Definition at line 72 of file IgProfService.h.
Referenced by IgProfService(), and preEndRun().
|
private |
Definition at line 63 of file IgProfService.h.
Referenced by IgProfService(), and preEvent().
|
private |
Definition at line 68 of file IgProfService.h.
Referenced by IgProfService(), and preModuleEvent().
|
private |
Definition at line 57 of file IgProfService.h.
Referenced by IgProfService(), and makeDump().
|
private |
Definition at line 82 of file IgProfService.h.
Referenced by IgProfService(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().
|
private |
Definition at line 66 of file IgProfService.h.
Referenced by IgProfService(), postModuleEvent(), and preModuleEvent().
|
private |
Definition at line 67 of file IgProfService.h.
Referenced by IgProfService(), postModuleEvent(), and preModuleEvent().
|
private |
Definition at line 85 of file IgProfService.h.
Referenced by makeDump(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().
|
private |
Definition at line 89 of file IgProfService.h.
Referenced by makeDump(), and postCloseFile().
|
private |
Definition at line 88 of file IgProfService.h.
Referenced by makeDump(), and postOpenFile().
|
private |
Definition at line 87 of file IgProfService.h.
Referenced by makeDump(), postBeginLumi(), and postEndLumi().
|
private |
Definition at line 84 of file IgProfService.h.
Referenced by makeDump(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().
|
private |
Definition at line 86 of file IgProfService.h.
Referenced by makeDump(), postBeginRun(), postEndRun(), and preEndRun().
|
private |
Definition at line 83 of file IgProfService.h.
Referenced by IgProfService(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().