|
|
Go to the documentation of this file.
16 #include <sys/types.h>
46 consumesMany<DQMToken, edm::InLumi>();
47 consumesMany<DQMToken, edm::InRun>();
69 int irun = iLS.
id().
run();
97 "%s_V%04d_%s_R%09ld_L%09ld%s",
107 "%s_V%04d_%s_R%09ld%s",
108 fp.producer_.c_str(),
116 namespace fs = std::filesystem;
127 std::map<std::string, std::string>
info;
128 info[
"Source"] =
"DQMStore";
129 info[
"FileClass"] =
"DQM";
140 desc.addUntracked<
std::string>(
"tag",
"UNKNOWN")->setComment(
"File tag, DQM_V000_<TAG>*, usually a subsytem name.");
143 ->setComment(
"Base prefix for files, <BASE>_V000_**, either 'DQM' or 'Playback'.");
145 desc.addUntracked<
std::string>(
"referenceHandling",
"all")->setComment(
"saveReference_, passed to the DQMStore");
148 ->setComment(
"saveReference_, passed to the DQMStore");
150 desc.addUntracked<
std::string>(
"path",
"./")->setComment(
"Output path prefix.");
152 desc.addUntracked<
int>(
"runNumber", 111)
153 ->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
FileParameters initial_fp_
LuminosityBlockNumber_t luminosityBlock() const
LuminosityBlockID id() const
Log< level::System, true > LogAbsolute
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)