11 namespace payloadInspector {
17 auto im =
m.find(key);
26 : m_plotAnnotations(),
51 py::list PlotBase::inputParams()
const {
59 void PlotBase::setInputParamValues(
const py::dict&
values) {
60 for (
auto item : values) {
63 if (m_inputParams.find(k) != m_inputParams.end()) {
72 size_t nt = py::len(tagsWithTimeBoundaries);
75 std::vector<std::tuple<std::string, cond::Time_t, cond::Time_t> >
tags;
77 for (
size_t i = 0;
i <
nt;
i++) {
78 py::tuple
entry = tagsWithTimeBoundaries[
i].cast<py::tuple>();
84 tags[
i] = std::make_tuple(tagName, time0, time1);
86 ret = exec_process(connectionString, tags);
91 bool PlotBase::exec_process(
93 const std::vector<std::tuple<std::string, cond::Time_t, cond::Time_t> >& tagsWithTimeBoundaries) {
99 std::vector<edm::ParameterSet> psets;
102 psets.push_back(pSet);
106 size_t nt = tagsWithTimeBoundaries.size();
114 for (
size_t i = 0;
i <
nt;
i++) {
115 const std::string& tagName = std::get<0>(tagsWithTimeBoundaries[
i]);
std::map< std::string, std::string > m_inputParamValues
tuple ret
prodAgent to be discontinued
cond::Tag_t getTagInfo(const std::string &tag)
const boost::posix_time::ptime time0
std::set< std::string > m_inputParams
unsigned int ntags() const
void start(bool readOnly=true)
std::vector< std::string > m_tagNames
static constexpr const char *const PAYLOAD_TYPE_K
Transaction & transaction()
cond::persistency::Session dbSession()
static constexpr const char *const PLOT_TYPE_K
unsigned long long Time_t
std::string payloadType() const
std::string get(const std::string &key) const
void addParameter(std::string const &name, T const &value)
PlotAnnotations m_plotAnnotations
tuple key
prepare the HTCondor submission files and eventually submit them
Session createSession(const std::string &connectionString, bool writeCapable=false)
static ServiceToken createSet(std::vector< ParameterSet > &)
IOVProxy readIov(const std::string &tag)
void addInputParam(const std::string ¶mName)
static constexpr const char *const label
char data[epos_bytes_allocation]
cond::persistency::Session m_dbSession
cond::Tag_t tagInfo() const
std::map< std::string, std::string > m
std::string title() const
static constexpr const char *const TITLE_K
std::vector< std::pair< cond::Time_t, cond::Time_t > > m_tagBoundaries
const std::map< std::string, std::string > & inputParamValues() const
std::vector< std::vector< std::tuple< cond::Time_t, cond::Hash > > > m_tagIovs
virtual std::string processData()