21 produces<std::string, edm::Transition::BeginLuminosityBlock>(
"sourceDataPath");
22 produces<std::string, edm::Transition::BeginLuminosityBlock>(
"sourceJsonPath");
38 return InputSource::IsStop;
43 return InputSource::IsStop;
49 return InputSource::IsStop;
54 return InputSource::IsLumi;
73 return std::shared_ptr<edm::RunAuxiliary>(
aux);
81 std::vector<MonitorElement*> allMEs = store->getAllContents(
"");
82 for (
auto const&
ME : allMEs) {
87 std::shared_ptr<edm::LuminosityBlockAuxiliary>
96 return std::shared_ptr<edm::LuminosityBlockAuxiliary>(
aux);
113 std::vector<MonitorElement*> allMEs = store->getAllContents(
"");
114 for (
auto const&
ME : allMEs) {
116 if (
ME->getLumiFlag()) {
125 std::unique_ptr<std::string> path_product(
new std::string(path));
126 std::unique_ptr<std::string> json_product(
new std::string(jspath));
132 if (!boost::filesystem::exists(path)) {
157 "Creates runs and lumis and fills the dqmstore from protocol buffer " 163 "Skip (and ignore the minEventsPerLumi parameter) for the files " 164 "which have been available at the begining of the processing. " 165 "If set to true, the reader will open last available file for " 170 "Delete data files after they have been closed, in order to " 175 "Kill the processing as soon as the end-of-run file appears, even if " 176 "there are/will be unprocessed lumisections.");
180 "Tells the source load the data files. If set to false, source will create skeleton lumi transitions.");
183 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
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
static void fillDescription(ParameterSetDescription &desc)
DQMFileIterator::LumiEntry currentLumi_
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