Go to the documentation of this file.
70 <<
"'. Must be -1 or >= 1.";
81 while ((
pos = wflow.find(
'/',
pos)) != std::string::npos)
82 wflow.replace(
pos++, 1,
"__");
104 me =
dbe_->
get(
"Info/ProvInfo/runIsComplete");
126 std::map<std::string, std::string>
info;
127 info[
"Source"] =
"DQMStore";
128 info[
"FileClass"] =
"DQM";
142 runIsComplete_(
false),
144 saveAtJobEnd_(
false),
153 consumesMany<DQMToken, edm::InRun>();
157 workflow_.find_first_not_of(
"ABCDEFGHIJKLMNOPQRSTUVWXYZ"
158 "abcdefghijklmnopqrstuvwxyz"
160 "-_/") != std::string::npos)
161 throw cms::Exception(
"DQMFileSaver") <<
"Invalid 'workflow' parameter '" <<
workflow_ <<
"'. Expected '/A/B/C'.";
190 edm::LogInfo(
"DQMFileSaver") <<
"DQM file saving settings:\n"
193 <<
" saving every " <<
saveByRun_ <<
" run(s)\n"
194 <<
" saving at job end: " << (
saveAtJobEnd_ ?
"yes" :
"no") <<
"\n";
204 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())
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
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