15 #include <sys/types.h> 41 if (refsave ==
"skip")
45 else if (refsave ==
"all")
49 else if (refsave ==
"qtests")
56 <<
"Invalid 'referenceHandling' parameter '" << refsave
57 <<
"'. Expected 'skip', 'all' or 'qtests'.";
92 int irun = iLS.
id().
run();
104 store->deleteUnusedLumiHistograms(store->mtEnabled() ? irun : 0, ilumi);
123 snprintf(buf, 256,
"%s_V%04d_%s_R%09ld_L%09ld%s", fp.
producer_.c_str(),
132 namespace fs = boost::filesystem;
136 return (path / file).string();
145 std::map<std::string, std::string>
info;
146 info[
"Source"] =
"DQMStore";
147 info[
"FileClass"] =
"DQM";
161 ->setComment(
"File tag, DQM_V000_<TAG>*, usually a subsytem name.");
164 ->setComment(
"Base prefix for files, <BASE>_V000_**, either 'DQM' or 'Playback'.");
167 ->setComment(
"saveReference_, passed to the DQMStore");
170 ->setComment(
"saveReference_, passed to the DQMStore");
173 "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)
std::mutex initial_fp_lock_
~DQMFileSaverBase() override
static const std::string filename(const FileParameters &fp, bool useLumi=false)
virtual void saveLumi(const FileParameters &fp) const
virtual void initRun() const
std::shared_ptr< NoCache > globalBeginRun(const edm::Run &, const edm::EventSetup &) const final
void analyze(edm::StreamID, const edm::Event &e, const edm::EventSetup &) const final
std::shared_ptr< NoCache > globalBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) const final
void logFileAction(const std::string &msg, const std::string &fileName) const
void globalEndRun(const edm::Run &, const edm::EventSetup &) const 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)
void globalEndLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) const final