76 <<
"'. Must be -1 or >= 1.";
87 while ((
pos = wflow.find(
'/',
pos)) != std::string::npos)
88 wflow.replace(
pos++, 1,
"__");
110 me =
dbe_->
get(
"Info/ProvInfo/runIsComplete");
132 std::map<std::string, std::string>
info;
133 info[
"Source"] =
"DQMStore";
134 info[
"FileClass"] =
"DQM";
148 runIsComplete_(
false),
150 saveAtJobEnd_(
false),
167 workflow_.find_first_not_of(
"ABCDEFGHIJKLMNOPQRSTUVWXYZ" 168 "abcdefghijklmnopqrstuvwxyz" 170 "-_/") != std::string::npos)
171 throw cms::Exception(
"DQMFileSaver") <<
"Invalid 'workflow' parameter '" <<
workflow_ <<
"'. Expected '/A/B/C'.";
200 edm::LogInfo(
"DQMFileSaver") <<
"DQM file saving settings:\n" 203 <<
" saving every " <<
saveByRun_ <<
" run(s)\n" 204 <<
" saving at job end: " << (
saveAtJobEnd_ ?
"yes" :
"no") <<
"\n";
214 int irun = iRun.
id().
run();
void beginRun(edm::Run const &, edm::EventSetup const &) override
DQMFileSaver(const edm::ParameterSet &ps)
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
void analyze(const edm::Event &e, const edm::EventSetup &) override
void setCurrentFolder(std::string const &fullpath) override
void saveJobReport(const std::string &filename)
std::string fileBaseName_
MonitorElement * bookString(TString const &name, TString const &value, FUNC onbooking=NOOP())
void endRun(const edm::Run &, const edm::EventSetup &) override
T getUntrackedParameter(std::string const &, T const &) const
static void getAnInt(const edm::ParameterSet &ps, int &value, const std::string &name)
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
#define DEFINE_FWK_MODULE(type)
dqm::legacy::MonitorElement MonitorElement
std::string stream_label_
dqm::legacy::DQMStore DQMStore
Log< level::Info, false > LogInfo
std::string getReleaseVersion()
void endProcessBlock(const edm::ProcessBlock &) override
static std::string onlineOfflineFileName(const std::string &fileBaseName, const std::string &suffix, const std::string &workflow, const std::string &child)
virtual MonitorElement * get(std::string const &fullpath) const
edm::GetterOfProducts< DQMToken > runmegetter_
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
void saveForOffline(const std::string &workflow, int run, int lumi)
edm::GetterOfProducts< DQMToken > jobmegetter_
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.