Go to the documentation of this file.
16 #include <sys/types.h>
45 consumesMany<DQMToken, edm::InLumi>();
46 consumesMany<DQMToken, edm::InRun>();
68 int irun = iLS.
id().
run();
96 "%s_V%04d_%s_R%09ld_L%09ld%s",
106 "%s_V%04d_%s_R%09ld%s",
107 fp.producer_.c_str(),
115 namespace fs = boost::filesystem;
126 std::map<std::string, std::string>
info;
127 info[
"Source"] =
"DQMStore";
128 info[
"FileClass"] =
"DQM";
139 desc.
addUntracked<
std::string>(
"tag",
"UNKNOWN")->setComment(
"File tag, DQM_V000_<TAG>*, usually a subsytem name.");
142 ->setComment(
"Base prefix for files, <BASE>_V000_**, either 'DQM' or 'Playback'.");
144 desc.
addUntracked<
std::string>(
"referenceHandling",
"all")->setComment(
"saveReference_, passed to the DQMStore");
147 ->setComment(
"saveReference_, passed to the DQMStore");
152 ->setComment(
"Run number passed in the configuration. Will appear in output file names.");
void globalEndLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) const final
void logFileAction(const std::string &msg, const std::string &fileName) const
virtual void saveLumi(const FileParameters &fp) const
static const std::string filename(const FileParameters &fp, bool useLumi=false)
void reportAnalysisFile(std::string const &fileName, std::map< std::string, std::string > const &fileData)
void analyze(edm::StreamID, const edm::Event &e, const edm::EventSetup &) const final
T getUntrackedParameter(std::string const &, T const &) const
~DQMFileSaverBase() override
virtual void initRun() const
std::mutex initial_fp_lock_
virtual void saveRun(const FileParameters &fp) const
void saveJobReport(const std::string &filename) const
std::shared_ptr< NoCache > globalBeginLuminosityBlock(const edm::LuminosityBlock &, const edm::EventSetup &) const final
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
FileParameters initial_fp_
LuminosityBlockNumber_t luminosityBlock() const
LuminosityBlockID id() const
std::shared_ptr< NoCache > globalBeginRun(const edm::Run &, const edm::EventSetup &) const final
void globalEndRun(const edm::Run &, const edm::EventSetup &) const final
static const int STATUS_OK
DQMFileSaverBase(const edm::ParameterSet &ps)
static void fillDescription(edm::ParameterSetDescription &d)