7 using namespace dqmservices;
31 return InputSource::IsStop;
38 return InputSource::IsStop;
44 return InputSource::IsLumi;
62 return std::shared_ptr<edm::RunAuxiliary>(
aux);
70 std::vector<MonitorElement*> allMEs = store->getAllContents(
"");
71 for (
auto const&
ME : allMEs) {
76 std::shared_ptr<edm::LuminosityBlockAuxiliary>
85 return std::shared_ptr<edm::LuminosityBlockAuxiliary>(
aux);
100 std::vector<MonitorElement*> allMEs = store->getAllContents(
"");
101 for (
auto const&
ME : allMEs) {
103 if (
ME->getLumiFlag()) {
111 if (!boost::filesystem::exists(p)) {
132 "Creates runs and lumis and fills the dqmstore from protocol buffer "
136 desc.
addUntracked<
bool>(
"skipFirstLumis",
false)->setComment(
137 "Skip (and ignore the minEventsPerLumi parameter) for the files "
138 "which have been available at the begining of the processing. "
139 "If set to true, the reader will open last available file for "
142 desc.
addUntracked<
bool>(
"deleteDatFiles",
false)->setComment(
143 "Delete data files after they have been closed, in order to "
146 desc.
addUntracked<
bool>(
"endOfRunKills",
false)->setComment(
147 "Kill the processing as soon as the end-of-run file appears, even if "
148 "there are/will be unprocessed lumisections.");
151 descriptions.
add(
"source", desc);
T getUntrackedParameter(std::string const &, T const &) const
std::string make_path(const std::string &fn)
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
virtual void readEvent_(edm::EventPrincipal &) override
void logLumiState(const LumiEntry &lumi, const std::string &msg)
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
virtual void readRun_(edm::RunPrincipal &rpCache) override
virtual void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lbCache) override
DQMFileIterator fiterator_
void setComment(std::string const &value)
void fillLuminosityBlockPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
virtual std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
void reportInputLumiSection(unsigned int run, unsigned int lumiSectId)
virtual std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
void logFileAction(const std::string &msg, const std::string &fileName="") const
static void fillDescription(ParameterSetDescription &desc)
DQMFileIterator::LumiEntry currentLumi_
LuminosityBlockNumber_t luminosityBlock() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
virtual edm::InputSource::ItemType getNextItemType() override
static void fillDescription(edm::ParameterSetDescription &d)
DQMProtobufReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
LuminosityBlockID id() const