#include <ProductResolver.h>
Public Types | |
typedef std::pair< std::string, std::string > | Args |
typedef std::shared_ptr< edm::eventsetup::ESProductResolver > | esResolverP |
typedef std::shared_ptr< cond::persistency::BasePayloadProxy > | ProxyP |
Public Member Functions | |
void | addInfo (std::string const &il, std::string const &cs, std::string const &tag) |
std::string const & | connString () const |
Iov_t const & | currentIov () const |
virtual esResolverP | esResolver (unsigned int iovIndex) const =0 |
virtual void | initConcurrentIOVs (unsigned int nConcurrentIOVs)=0 |
persistency::IOVProxy & | iovProxy () |
persistency::IOVProxy const & | iovProxy () const |
std::string const & | label () const |
virtual void | lateInit (persistency::Session &session, const std::string &tag, const boost::posix_time::ptime &snapshotTime, std::string const &il, std::string const &cs, edm::SerialTaskQueue *queue, std::mutex *mutex)=0 |
void | loadTag (std::string const &tag) |
void | loadTag (std::string const &tag, boost::posix_time::ptime const &snapshotTime) |
ProductResolverWrapperBase () | |
virtual ProxyP | proxy (unsigned int iovIndex) const =0 |
void | reload () |
std::shared_ptr< std::vector< Iov_t > > const & | requests () const |
persistency::Session & | session () |
persistency::Session const & | session () const |
ValidityInterval | setIntervalFor (Time_t target) |
void | setSession (persistency::Session const &v) |
std::string const & | tag () const |
TimeType | timeType () const |
virtual edm::eventsetup::TypeTag | type () const =0 |
virtual | ~ProductResolverWrapperBase () |
Private Attributes | |
std::string | m_connString |
Iov_t | m_currentIov |
persistency::IOVProxy | m_iovProxy |
std::string | m_label |
std::shared_ptr< std::vector< Iov_t > > | m_requests |
persistency::Session | m_session |
std::string | m_tag |
Definition at line 61 of file ProductResolver.h.
typedef std::pair<std::string, std::string> cond::ProductResolverWrapperBase::Args |
Definition at line 67 of file ProductResolver.h.
typedef std::shared_ptr<edm::eventsetup::ESProductResolver> cond::ProductResolverWrapperBase::esResolverP |
Definition at line 64 of file ProductResolver.h.
typedef std::shared_ptr<cond::persistency::BasePayloadProxy> cond::ProductResolverWrapperBase::ProxyP |
Definition at line 63 of file ProductResolver.h.
cond::ProductResolverWrapperBase::ProductResolverWrapperBase | ( | ) |
Definition at line 19 of file ProductResolverFactory.cc.
|
virtual |
Definition at line 21 of file ProductResolverFactory.cc.
void cond::ProductResolverWrapperBase::addInfo | ( | std::string const & | il, |
std::string const & | cs, | ||
std::string const & | tag | ||
) |
Definition at line 23 of file ProductResolverFactory.cc.
References callgraph::cs, and makeGlobalPositionRcd_cfg::tag.
Referenced by ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 90 of file ProductResolver.h.
References m_connString.
|
inline |
Definition at line 94 of file ProductResolver.h.
References m_currentIov.
Referenced by ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::initConcurrentIOVs(), and ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 92 of file ProductResolver.h.
References m_iovProxy.
|
inline |
Definition at line 93 of file ProductResolver.h.
References m_iovProxy.
|
inline |
|
pure virtual |
void cond::ProductResolverWrapperBase::loadTag | ( | std::string const & | tag | ) |
Definition at line 29 of file ProductResolverFactory.cc.
References makeGlobalPositionRcd_cfg::tag.
Referenced by ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
void cond::ProductResolverWrapperBase::loadTag | ( | std::string const & | tag, |
boost::posix_time::ptime const & | snapshotTime | ||
) |
Definition at line 37 of file ProductResolverFactory.cc.
References loadRecoTauTagMVAsFromPrepDB_cfi::snapshotTime, and makeGlobalPositionRcd_cfg::tag.
|
pure virtual |
void cond::ProductResolverWrapperBase::reload | ( | ) |
Definition at line 45 of file ProductResolverFactory.cc.
References AlCaHLTBitMon_QueryRunRegistry::string, and makeGlobalPositionRcd_cfg::tag.
|
inline |
Definition at line 97 of file ProductResolver.h.
References m_requests.
Referenced by ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::initConcurrentIOVs(), and ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 95 of file ProductResolver.h.
References m_session.
Referenced by ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::initConcurrentIOVs(), and ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 96 of file ProductResolver.h.
References m_session.
cond::ValidityInterval cond::ProductResolverWrapperBase::setIntervalFor | ( | Time_t | target | ) |
Definition at line 51 of file ProductResolverFactory.cc.
References hcalRecHitTable_cff::time.
|
inline |
Definition at line 99 of file ProductResolver.h.
References m_session, and findQualityFiles::v.
Referenced by ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 91 of file ProductResolver.h.
References m_tag.
Referenced by ProductResolverWrapper< ExDwarfListRcd, cond::persistency::KeyList >::lateInit().
|
inline |
Definition at line 106 of file ProductResolver.h.
References m_iovProxy, cond::persistency::IOVProxy::tagInfo(), and cond::Tag_t::timeType.
|
pure virtual |
|
private |
Definition at line 110 of file ProductResolver.h.
Referenced by connString().
|
private |
Definition at line 113 of file ProductResolver.h.
Referenced by currentIov().
|
private |
Definition at line 112 of file ProductResolver.h.
Referenced by iovProxy(), and timeType().
|
private |
Definition at line 109 of file ProductResolver.h.
Referenced by label().
|
private |
Definition at line 115 of file ProductResolver.h.
Referenced by requests().
|
private |
Definition at line 114 of file ProductResolver.h.
Referenced by session(), and setSession().
|
private |
Definition at line 111 of file ProductResolver.h.
Referenced by tag().