9 using namespace dqmservices;
20 produces<std::string, edm::InLumi>(
"sourceDataPath");
21 produces<std::string, edm::InLumi>(
"sourceJsonPath");
37 return InputSource::IsStop;
43 return InputSource::IsStop;
48 return InputSource::IsLumi;
67 return std::shared_ptr<edm::RunAuxiliary>(
aux);
75 std::vector<MonitorElement*> allMEs = store->getAllContents(
"");
76 for (
auto const&
ME : allMEs) {
81 std::shared_ptr<edm::LuminosityBlockAuxiliary>
90 return std::shared_ptr<edm::LuminosityBlockAuxiliary>(
aux);
107 std::vector<MonitorElement*> allMEs = store->getAllContents(
"");
108 for (
auto const&
ME : allMEs) {
110 if (
ME->getLumiFlag()) {
119 std::auto_ptr<std::string> path_product(
new std::string(path));
120 std::auto_ptr<std::string> json_product(
new std::string(jspath));
122 lb.
put(path_product,
"sourceDataPath");
123 lb.
put(json_product,
"sourceJsonPath");
126 if (!boost::filesystem::exists(path)) {
151 "Creates runs and lumis and fills the dqmstore from protocol buffer "
157 "Skip (and ignore the minEventsPerLumi parameter) for the files "
158 "which have been available at the begining of the processing. "
159 "If set to true, the reader will open last available file for "
164 "Delete data files after they have been closed, in order to "
169 "Kill the processing as soon as the end-of-run file appears, even if "
170 "there are/will be unprocessed lumisections.");
174 "Tells the source load the data files. If set to false, source will create skeleton lumi transitions.");
177 descriptions.
add(
"source", desc);
T getUntrackedParameter(std::string const &, T const &) const
ParameterDescriptionBase * addUntracked(U const &iLabel, T const &value)
virtual void readEvent_(edm::EventPrincipal &) override
void logLumiState(const LumiEntry &lumi, const std::string &msg)
std::string get_json_path() const
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
std::string get_data_path() const
void reportInputLumiSection(unsigned int run, unsigned int lumiSectId)
virtual std::shared_ptr< edm::LuminosityBlockAuxiliary > readLuminosityBlockAuxiliary_() override
virtual 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)
virtual edm::InputSource::ItemType getNextItemType() override
static void fillDescription(edm::ParameterSetDescription &d)
DQMProtobufReader(edm::ParameterSet const &, edm::InputSourceDescription const &)
LuminosityBlockID id() const
void put(std::auto_ptr< PROD > product)
Put a new product.