18 produces<std::string, edm::Transition::BeginLuminosityBlock>(
"sourceDataPath");
19 produces<std::string, edm::Transition::BeginLuminosityBlock>(
"sourceJsonPath");
35 return InputSource::IsStop;
40 return InputSource::IsStop;
46 return InputSource::IsStop;
51 return InputSource::IsLumi;
69 return std::shared_ptr<edm::RunAuxiliary>(
aux);
78 for (
auto const&
ME : allMEs) {
90 return std::shared_ptr<edm::LuminosityBlockAuxiliary>(
aux);
106 for (
auto const&
ME : allMEs) {
108 if (
ME->getLumiFlag()) {
117 std::unique_ptr<std::string> path_product(
new std::string(path));
118 std::unique_ptr<std::string> json_product(
new std::string(jspath));
124 if (!boost::filesystem::exists(path)) {
147 "Creates runs and lumis and fills the dqmstore from protocol buffer " 153 "Skip (and ignore the minEventsPerLumi parameter) for the files " 154 "which have been available at the begining of the processing. " 155 "If set to true, the reader will open last available file for " 160 "Delete data files after they have been closed, in order to " 165 "Kill the processing as soon as the end-of-run file appears, even if " 166 "there are/will be unprocessed lumisections.");
170 "Tells the source load the data files. If set to false, source will create skeleton lumi transitions.");
173 descriptions.
add(
"source", desc);
T getUntrackedParameter(std::string const &, T const &) const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
void readEvent_(edm::EventPrincipal &) override
void logLumiState(const LumiEntry &lumi, const std::string &msg)
volatile std::atomic< bool > shutdown_flag
bool load(std::string const &filename, OpenRunDirs stripdirs=StripRunDirs, bool fileMustExist=true)
std::string get_json_path() const
void fillRunPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void readRun_(edm::RunPrincipal &rpCache) override
void readLuminosityBlock_(edm::LuminosityBlockPrincipal &lbCache) override
DQMFileIterator fiterator_
void setComment(std::string const &value)
void fillLuminosityBlockPrincipal(ProcessHistoryRegistry const &processHistoryRegistry, DelayedReader *reader=0)
std::shared_ptr< edm::RunAuxiliary > readRunAuxiliary_() override
std::string get_data_path() const
void put(std::unique_ptr< PROD > product)
Put a new product.
void reportInputLumiSection(unsigned int run, unsigned int lumiSectId)
std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
void beginLuminosityBlock(edm::LuminosityBlock &lb) override
void logFileAction(const std::string &msg, const std::string &fileName="") const
std::vector< MonitorElement * > getAllContents(std::string const &path, uint32_t runNumber=0, uint32_t lumi=0) const
DQMFileIterator::LumiEntry currentLumi_
static void fillDescription(ParameterSetDescription &desc)
LuminosityBlockNumber_t luminosityBlock() const
void add(std::string const &label, ParameterSetDescription const &psetDescription)
edm::InputSource::ItemType getNextItemType() override
~DQMProtobufReader() override
static void fillDescription(edm::ParameterSetDescription &d)
DQMProtobufReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
LuminosityBlockID id() const