16 #include <sys/types.h> 42 if (refsave ==
"skip")
46 else if (refsave ==
"all")
50 else if (refsave ==
"qtests")
57 <<
"Invalid 'referenceHandling' parameter '" << refsave
58 <<
"'. Expected 'skip', 'all' or 'qtests'.";
93 int irun = iLS.
id().
run();
105 store->deleteUnusedLumiHistograms(store->mtEnabled() ? irun : 0, ilumi);
124 snprintf(buf, 256,
"%s_V%04d_%s_R%09ld_L%09ld%s", fp.
producer_.c_str(),
133 namespace fs = boost::filesystem;
137 return (path / file).string();
146 std::map<std::string, std::string>
info;
147 info[
"Source"] =
"DQMStore";
148 info[
"FileClass"] =
"DQM";
162 ->setComment(
"File tag, DQM_V000_<TAG>*, usually a subsytem name.");
165 ->setComment(
"Base prefix for files, <BASE>_V000_**, either 'DQM' or 'Playback'.");
168 ->setComment(
"saveReference_, passed to the DQMStore");
171 ->setComment(
"saveReference_, passed to the DQMStore");
174 "Output path prefix.");
DQMFileSaverBase(const edm::ParameterSet &ps)
LuminosityBlockID id() const
T getUntrackedParameter(std::string const &, T const &) const
void saveJobReport(const std::string &filename) const
virtual void saveRun(const FileParameters &fp) const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
virtual void globalEndRun(const edm::Run &, const edm::EventSetup &) const override final
std::mutex initial_fp_lock_
static const std::string filename(const FileParameters &fp, bool useLumi=false)
virtual void saveLumi(const FileParameters &fp) const
virtual void analyze(edm::StreamID, const edm::Event &e, const edm::EventSetup &) const override final
virtual void globalEndLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) const override final
void logFileAction(const std::string &msg, const std::string &fileName) const
virtual std::shared_ptr< NoCache > globalBeginRun(const edm::Run &, const edm::EventSetup &) const override final
DQMStore::SaveReferenceTag saveReference_
LuminosityBlockNumber_t luminosityBlock() const
FileParameters initial_fp_
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
static const int STATUS_OK
static void fillDescription(edm::ParameterSetDescription &d)
virtual std::shared_ptr< NoCache > globalBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) const override final
virtual void initRun(void) const