|
bool | fill (const std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs) override |
|
virtual Y | getFromPayload (PayloadType &payload)=0 |
|
| TimeHistoryPlot (const std::string &title, const std::string &yLabel) |
|
| ~TimeHistoryPlot () override=default |
|
std::shared_ptr< PayloadType > | fetchPayload (const cond::Hash &payloadHash) |
|
| Plot2D (const std::string &type, const std::string &title, const std::string xLabel, const std::string &yLabel) |
|
std::string | processData (const std::vector< std::tuple< cond::Time_t, cond::Hash > > &iovs) override |
|
std::string | serializeData () |
|
| ~Plot2D () override=default |
|
std::string | data () const |
|
cond::persistency::Session | dbSession () |
|
template<typename PayloadType > |
std::shared_ptr< PayloadType > | fetchPayload (const cond::Hash &payloadHash) |
|
cond::Tag_t | getTagInfo (const std::string &tag) |
|
virtual void | init () |
|
bool | isSingleIov () const |
|
bool | isTwoTags () const |
|
std::string | payloadType () const |
|
| PlotBase () |
|
bool | process (const std::string &connectionString, const std::string &tag, const std::string &timeType, cond::Time_t begin, cond::Time_t end) |
|
bool | processTwoTags (const std::string &connectionString, const std::string &tag0, const std::string &tag1, cond::Time_t time0, cond::Time_t time1) |
|
void | setSingleIov (bool flag) |
|
void | setTwoTags (bool flag) |
|
std::string | title () const |
|
std::string | type () const |
|
virtual | ~PlotBase ()=default |
|
template<typename PayloadType, typename Y>
class cond::payloadInspector::TimeHistoryPlot< PayloadType, Y >
Definition at line 355 of file PayloadInspector.h.
template<typename PayloadType , typename Y >
Implements cond::payloadInspector::Plot2D< PayloadType, std::tuple< unsigned long long, std::string >, Y >.
Definition at line 363 of file PayloadInspector.h.
References cond::persistency::RunInfoProxy::end(), cond::persistency::RunInfoProxy::find(), cond::time::from_boost(), label, cond::lumiid, SiStripPI::max, min(), jets_cff::payload, cond::runnumber, seconds(), cond::time::SECONDS_PER_LUMI(), ntuplemaker::since, AlCaHLTBitMon_QueryRunRegistry::string, protons_cff::time, cond::timestamp, cond::Tag_t::timeType, cond::time::to_boost(), and DOFs::Y.
375 for(
auto iov : iovs ) {
377 boost::posix_time::ptime
time;
380 unsigned int nlumi = since & 0xFFFFFFFF;
382 label = std::to_string(since );
383 auto it = runInfo.
find( since );
384 if ( it == runInfo.
end() ){
392 label += (
" : "+std::to_string(nlumi ) );
396 label = boost::posix_time::to_simple_string( time );
cond::Tag_t getTagInfo(const std::string &tag)
cond::persistency::Session dbSession()
std::vector< std::tuple< std::tuple< unsigned long long, std::string >, Y > > m_plotData
unsigned long long Time_t
virtual Y getFromPayload(PayloadType &payload)=0
Time_t from_boost(boost::posix_time::ptime bt)
const unsigned int SECONDS_PER_LUMI(23)
std::shared_ptr< PayloadType > fetchPayload(const cond::Hash &payloadHash)
Iterator find(Time_t target) const
boost::posix_time::ptime to_boost(Time_t iValue)
RunInfoProxy getRunInfo(cond::Time_t start, cond::Time_t end)