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();
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
#define DEFINE_FWK_MODULE(type)
void setCurrentFolder(std::string const &fullpath) override
dqm::legacy::DQMStore * dbe_
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)
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.