58 return boost::shared_ptr<edm::RunAuxiliary>(
aux);
61 boost::shared_ptr<edm::LuminosityBlockAuxiliary>
69 return boost::shared_ptr<edm::LuminosityBlockAuxiliary>(
aux);
78 for (
auto const&
ME : allMEs) {
96 for (
auto const&
ME : allMEs) {
98 if (
ME->getLumiFlag()) {
106 if (!boost::filesystem::exists(p)) {
125 "Creates runs and lumis and fills the dqmstore from protocol buffer "
129 desc.
addUntracked<
bool>(
"skipFirstLumis",
false)->setComment(
130 "Skip (and ignore the minEventsPerLumi parameter) for the files "
131 "which have been available at the begining of the processing. "
132 "If set to true, the reader will open last available file for "
135 desc.
addUntracked<
bool>(
"deleteDatFiles",
false)->setComment(
136 "Delete data files after they have been closed, in order to "
139 desc.
addUntracked<
bool>(
"endOfRunKills",
false)->setComment(
140 "Kill the processing as soon as the end-of-run file appears, even if "
141 "there are/will be unprocessed lumisections.");
144 descriptions.
add(
"source", desc);
T getUntrackedParameter(std::string const &, T const &) const
std::string make_path_data(const LumiEntry &lumi)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
virtual void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lbCache) override
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
void setComment(std::string const &value)
std::vector< MonitorElement * > getAllContents(const std::string &path, uint32_t runNumber=0, uint32_t lumi=0) const
virtual void readRun_(edm::RunPrincipal &rpCache) override
void fillLuminosityBlockPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
virtual edm::InputSource::ItemType getNextItemType() override
const LumiEntry & front()
void reportInputLumiSection(unsigned int run, unsigned int lumiSectId)
void logFileAction(const std::string &msg, const std::string &fileName="") const
static void fillDescription(ParameterSetDescription &d)
static void fillDescriptions(ConfigurationDescriptions &descriptions)
virtual void readEvent_(edm::EventPrincipal &) override
DQMProtobufReader(ParameterSet const &, InputSourceDescription const &)
static void fillDescription(ParameterSetDescription &desc)
virtual boost::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
bool load(const std::string &filename, OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true)
DQMFileIterator fiterator_
LuminosityBlockNumber_t luminosityBlock() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual boost::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
LuminosityBlockID id() const