56 return boost::shared_ptr<edm::RunAuxiliary>(
aux);
59 boost::shared_ptr<edm::LuminosityBlockAuxiliary>
67 return boost::shared_ptr<edm::LuminosityBlockAuxiliary>(
aux);
76 for (
auto const&
ME : allMEs) {
94 for (
auto const&
ME : allMEs) {
96 if (
ME->getLumiFlag()) {
104 if (! boost::filesystem::exists(p)) {
123 "Creates runs and lumis and fills the dqmstore from protocol buffer "
127 desc.
addUntracked<
bool>(
"skipFirstLumis",
false)->setComment(
128 "Skip (and ignore the minEventsPerLumi parameter) for the files "
129 "which have been available at the begining of the processing. "
130 "If set to true, the reader will open last available file for "
133 desc.
addUntracked<
bool>(
"deleteDatFiles",
false)->setComment(
134 "Delete data files after they have been closed, in order to "
137 desc.
addUntracked<
bool>(
"endOfRunKills",
false)->setComment(
138 "Kill the processing as soon as the end-of-run file appears, even if "
139 "there are/will be unprocessed lumisections.");
142 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