11 namespace payloadInspector {
17 auto im =
m.find( key );
18 if( im !=
m.end() ) ret = im->second;
25 m_plotAnnotations(),m_data(
""){
55 std::vector<edm::ParameterSet> psets;
58 psets.push_back(pSet);
67 std::vector<std::tuple<cond::Time_t,cond::Hash> > iovs;
102 std::vector<edm::ParameterSet> psets;
105 psets.push_back(pSet);
114 std::vector<std::tuple<cond::Time_t,cond::Hash> > iovs;
cond::Tag_t getTagInfo(const std::string &tag)
const boost::posix_time::ptime time0
bool getTagInfo(const std::string &tag, cond::Tag_t &info)
void start(bool readOnly=true)
std::map< std::string, std::string > m
Transaction & transaction()
cond::persistency::Session dbSession()
bool process(const std::string &connectionString, const std::string &tag, const std::string &timeType, cond::Time_t begin, cond::Time_t end)
unsigned long long Time_t
static const char *const PLOT_TYPE_K
std::string payloadType() const
std::string get(const std::string &key) const
void addParameter(std::string const &name, T const &value)
PlotAnnotations m_plotAnnotations
Session createSession(const std::string &connectionString, bool writeCapable=false)
static ServiceToken createSet(std::vector< ParameterSet > &)
static const char *const PAYLOAD_TYPE_K
void setTwoTags(bool flag)
static const char *const TITLE_K
void setSingleIov(bool flag)
virtual std::string processData(const std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs)
cond::persistency::Session m_dbSession
std::string title() const
bool getIovRange(const std::string &tag, cond::Time_t begin, cond::Time_t end, std::vector< std::tuple< cond::Time_t, cond::Hash > > &range)
bool processTwoTags(const std::string &connectionString, const std::string &tag0, const std::string &tag1, cond::Time_t time0, cond::Time_t time1)
static const char *const label
def operate(timelog, memlog, json_f, num)