Go to the documentation of this file.
8 #include <boost/python/extract.hpp>
12 namespace payloadInspector {
18 auto im =
m.find(
key);
27 : m_plotAnnotations(),
53 boost::python::list
tmp;
72 size_t nt = boost::python::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 boost::python::tuple
entry = boost::python::extract<boost::python::tuple>(tagsWithTimeBoundaries[
i]);
83 cond::Time_t time1 = boost::lexical_cast<cond::Time_t>(time1s);
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++) {
ret
prodAgent to be discontinued
bool process(const std::string &connectionString, const boost::python::list &tagsWithTimeBoundaries)
std::string payloadType() const
cond::persistency::Session m_dbSession
std::vector< std::pair< cond::Time_t, cond::Time_t > > m_tagBoundaries
static constexpr const char *const PLOT_TYPE_K
IOVArray selectRange(const cond::Time_t &begin, const cond::Time_t &end)
std::string get(const std::string &key) const
static ServiceToken createSet(std::vector< ParameterSet > &)
const std::map< std::string, std::string > & inputParamValues() const
boost::python::list inputParams() const
Session createSession(const std::string &connectionString, bool writeCapable=false)
bool exec_process(const std::string &connectionString, const std::vector< std::tuple< std::string, cond::Time_t, cond::Time_t >> &tagsWithTimeBoundaries)
std::map< std::string, std::string > m
unsigned int ntags() const
std::vector< std::string > m_tagNames
cond::persistency::Session dbSession()
std::map< std::string, std::string > m_inputParamValues
cond::Tag_t getTagInfo(const std::string &tag)
static constexpr const char *const label
IOVProxy readIov(const std::string &tag)
std::string title() const
void setInputParamValues(const boost::python::dict &values)
unsigned long long Time_t
static constexpr const char *const TITLE_K
void addParameter(std::string const &name, T const &value)
std::set< std::string > m_inputParams
static constexpr const char *const PAYLOAD_TYPE_K
std::vector< std::vector< std::tuple< cond::Time_t, cond::Hash > > > m_tagIovs
virtual std::string processData()
Transaction & transaction()
void start(bool readOnly=true)
const boost::posix_time::ptime time0
void addInputParam(const std::string ¶mName)
cond::Tag_t tagInfo() const
PlotAnnotations m_plotAnnotations