Go to the documentation of this file.
78 <<
"'. Must be -1 or >= 1.";
89 while ((
pos = wflow.find(
'/',
pos)) != std::string::npos)
90 wflow.replace(
pos++, 1,
"__");
112 me =
dbe_->
get(
"Info/ProvInfo/runIsComplete");
134 std::map<std::string, std::string>
info;
135 info[
"Source"] =
"DQMStore";
136 info[
"FileClass"] =
"DQM";
150 runIsComplete_(
false),
152 saveAtJobEnd_(
false),
169 workflow_.find_first_not_of(
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
170 "abcdefghijklmnopqrstuvwxyz"
172 "-_/") != std::string::npos)
173 throw cms::Exception(
"DQMFileSaver") <<
"Invalid 'workflow' parameter '" <<
workflow_ <<
"'. Expected '/A/B/C'.";
202 edm::LogInfo(
"DQMFileSaver") <<
"DQM file saving settings:\n"
205 <<
" saving every " <<
saveByRun_ <<
" run(s)\n"
206 <<
" saving at job end: " << (
saveAtJobEnd_ ?
"yes" :
"no") <<
"\n";
216 int irun = iRun.
id().
run();
static void getAnInt(const edm::ParameterSet &ps, int &value, const std::string &name)
void saveForOffline(const std::string &workflow, int run, int lumi)
MonitorElement * bookFloat(TString const &name, FUNC onbooking=NOOP())
void endProcessBlock(const edm::ProcessBlock &) override
FWCore Framework interface EventSetupRecordImplementation h
Helper function to determine trigger accepts.
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
T getUntrackedParameter(std::string const &, T const &) const
Log< level::Info, false > LogInfo
void callWhenNewProductsRegistered(std::function< void(BranchDescription const &)> const &func)
edm::GetterOfProducts< DQMToken > jobmegetter_
void analyze(const edm::Event &e, const edm::EventSetup &) override
dqm::legacy::DQMStore DQMStore
std::string stream_label_
#define DEFINE_FWK_MODULE(type)
DQMFileSaver(const edm::ParameterSet &ps)
void beginRun(edm::Run const &, edm::EventSetup const &) override
void setCurrentFolder(std::string const &fullpath) override
dqm::legacy::DQMStore * dbe_
MonitorElement * bookString(TString const &name, TString const &value, FUNC onbooking=NOOP())
void saveJobReport(const std::string &filename)
static std::string onlineOfflineFileName(const std::string &fileBaseName, const std::string &suffix, const std::string &workflow, const std::string &child)
std::string getReleaseVersion()
std::string fileBaseName_
dqm::legacy::MonitorElement MonitorElement
virtual MonitorElement * get(std::string const &fullpath) const
void endRun(const edm::Run &, const edm::EventSetup &) override
edm::GetterOfProducts< DQMToken > runmegetter_