#include <IgProfService.h>
Public Member Functions | |
IgProfService (const ParameterSet &, ActivityRegistry &) | |
bool | isProcessWideService (IgProfService const *) |
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 | postEndRun (GlobalContext const &gc) |
void | postEvent (StreamContext const &sc) |
void | postModuleEvent (StreamContext const &sc, ModuleCallingContext const &mcc) |
void | postOpenFile (std::string const &) |
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 | atPostEndRun_ |
std::string | atPostEvent_ |
std::string | atPostModuleEvent_ |
std::string | atPostOpenFile_ |
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_, atPostEndRun_, atPostEvent_, atPostModuleEvent_, atPostOpenFile_, atPreEvent_, atPreModuleEvent_, dump_, edm::ParameterSet::getUntrackedParameter(), mineventrecord_, modules_, moduleTypes_, or, postBeginJob(), postBeginLumi(), postBeginRun(), postCloseFile(), postEndJob(), postEndLumi(), postEndRun(), postEvent(), postModuleEvent(), postOpenFile(), preEvent(), preModuleEvent(), prescale_, jetUpdater_cfi::sort, AlCaHLTBitMon_QueryRunRegistry::string, edm::ActivityRegistry::watchPostBeginJob(), edm::ActivityRegistry::watchPostCloseFile(), edm::ActivityRegistry::watchPostEndJob(), edm::ActivityRegistry::watchPostEvent(), edm::ActivityRegistry::watchPostGlobalBeginLumi(), edm::ActivityRegistry::watchPostGlobalBeginRun(), edm::ActivityRegistry::watchPostGlobalEndLumi(), edm::ActivityRegistry::watchPostGlobalEndRun(), edm::ActivityRegistry::watchPostModuleEvent(), edm::ActivityRegistry::watchPostOpenFile(), edm::ActivityRegistry::watchPreEvent(), and edm::ActivityRegistry::watchPreModuleEvent().
|
inline |
Definition at line 46 of file IgProfService.h.
|
private |
Definition at line 167 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(), postEndRun(), postEvent(), postModuleEvent(), postOpenFile(), preEvent(), and preModuleEvent().
void IgProfService::postBeginJob | ( | ) |
Definition at line 96 of file IgProfService.cc.
References atPostBeginJob_, and makeDump().
Referenced by IgProfService().
void IgProfService::postBeginLumi | ( | GlobalContext const & | gc | ) |
Definition at line 103 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 98 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 162 of file IgProfService.cc.
References atPostCloseFile_, makeDump(), and nfileclosed_.
Referenced by IgProfService().
void IgProfService::postEndJob | ( | ) |
Definition at line 155 of file IgProfService.cc.
References atPostEndJob_, and makeDump().
Referenced by IgProfService().
void IgProfService::postEndLumi | ( | GlobalContext const & | gc | ) |
Definition at line 145 of file IgProfService.cc.
References atPostEndLumi_, edm::LuminosityBlockID::luminosityBlock(), edm::GlobalContext::luminosityBlockID(), makeDump(), and nlumi_.
Referenced by IgProfService().
void IgProfService::postEndRun | ( | GlobalContext const & | gc | ) |
Definition at line 150 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 115 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 133 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 157 of file IgProfService.cc.
References atPostOpenFile_, makeDump(), and nfileopened_.
Referenced by IgProfService().
void IgProfService::preEvent | ( | StreamContext const & | sc | ) |
Definition at line 108 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 121 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 182 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 210 of file IgProfService.cc.
References mps_fire::result, alignCSCRings::s, AlCaHLTBitMon_QueryRunRegistry::string, and heppy_batch::val.
|
staticprivate |
Definition at line 196 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 56 of file IgProfService.h.
Referenced by IgProfService(), and postBeginJob().
|
private |
Definition at line 58 of file IgProfService.h.
Referenced by IgProfService(), and postBeginLumi().
|
private |
Definition at line 57 of file IgProfService.h.
Referenced by IgProfService(), and postBeginRun().
|
private |
Definition at line 73 of file IgProfService.h.
Referenced by IgProfService(), and postCloseFile().
|
private |
Definition at line 70 of file IgProfService.h.
Referenced by IgProfService(), and postEndJob().
|
private |
Definition at line 68 of file IgProfService.h.
Referenced by IgProfService(), and postEndLumi().
|
private |
Definition at line 69 of file IgProfService.h.
Referenced by IgProfService(), and postEndRun().
|
private |
Definition at line 61 of file IgProfService.h.
Referenced by IgProfService(), and postEvent().
|
private |
Definition at line 66 of file IgProfService.h.
Referenced by IgProfService(), and postModuleEvent().
|
private |
Definition at line 72 of file IgProfService.h.
Referenced by IgProfService(), and postOpenFile().
|
private |
Definition at line 60 of file IgProfService.h.
Referenced by IgProfService(), and preEvent().
|
private |
Definition at line 65 of file IgProfService.h.
Referenced by IgProfService(), and preModuleEvent().
|
private |
Definition at line 54 of file IgProfService.h.
Referenced by IgProfService(), and makeDump().
|
private |
Definition at line 75 of file IgProfService.h.
Referenced by IgProfService(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().
|
private |
Definition at line 63 of file IgProfService.h.
Referenced by IgProfService(), postModuleEvent(), and preModuleEvent().
|
private |
Definition at line 64 of file IgProfService.h.
Referenced by IgProfService(), postModuleEvent(), and preModuleEvent().
|
private |
Definition at line 78 of file IgProfService.h.
Referenced by makeDump(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().
|
private |
Definition at line 82 of file IgProfService.h.
Referenced by makeDump(), and postCloseFile().
|
private |
Definition at line 81 of file IgProfService.h.
Referenced by makeDump(), and postOpenFile().
|
private |
Definition at line 80 of file IgProfService.h.
Referenced by makeDump(), postBeginLumi(), and postEndLumi().
|
private |
Definition at line 77 of file IgProfService.h.
Referenced by makeDump(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().
|
private |
Definition at line 79 of file IgProfService.h.
Referenced by makeDump(), postBeginRun(), and postEndRun().
|
private |
Definition at line 76 of file IgProfService.h.
Referenced by IgProfService(), postEvent(), postModuleEvent(), preEvent(), and preModuleEvent().