#include <IOVEditor.h>
Public Member Functions | |
bool | hasMoreElements () |
size_t | importAll () |
size_t | importMoreElements () |
IOVImportIterator (boost::shared_ptr< cond::IOVProxyData > &destIov) | |
void | setUp (cond::IOVProxy &sourceIov, cond::Time_t since, cond::Time_t till, bool outOfOrder, size_t bulkSize=1) |
void | setUp (cond::DbSession &sourceSess, const std::string &sourceIovToken, cond::Time_t since, cond::Time_t till, bool outOfOrder, size_t bulkSize=1) |
void | setUp (cond::IOVProxy &sourceIov, size_t bulkSize=1) |
void | setUp (cond::DbSession &sourceSess, const std::string &sourceIovToken, size_t bulkSize=1) |
virtual | ~IOVImportIterator () |
Private Attributes | |
size_t | m_bulkSize |
IOVSequence::const_iterator | m_cursor |
boost::shared_ptr < cond::IOVProxyData > | m_destIov |
cond::Time_t | m_lastSince |
cond::IOVProxy | m_sourceIov |
IOVSequence::const_iterator | m_till |
Definition at line 26 of file IOVEditor.h.
|
explicit |
Definition at line 50 of file IOVEditor.cc.
|
virtual |
Definition at line 60 of file IOVEditor.cc.
bool cond::IOVImportIterator::hasMoreElements | ( | ) |
Definition at line 141 of file IOVEditor.cc.
References m_cursor, and m_till.
Referenced by importAll().
size_t cond::IOVImportIterator::importAll | ( | ) |
Definition at line 160 of file IOVEditor.cc.
References hasMoreElements(), importMoreElements(), and pileupDistInMC::total.
size_t cond::IOVImportIterator::importMoreElements | ( | ) |
Definition at line 145 of file IOVEditor.cc.
References ora::Container::className(), cont, ora::OId::containerId(), cond::IOVProxy::db(), ora::OId::fromString(), i, m_bulkSize, m_cursor, m_destIov, m_lastSince, m_sourceIov, m_till, AlCaHLTBitMon_QueryRunRegistry::string, cond::updateIOV(), and cond::userInfo().
Referenced by importAll().
void cond::IOVImportIterator::setUp | ( | cond::IOVProxy & | sourceIov, |
cond::Time_t | since, | ||
cond::Time_t | till, | ||
bool | outOfOrder, | ||
size_t | bulkSize = 1 |
||
) |
Definition at line 63 of file IOVEditor.cc.
References ora::QueryableVector< Tp >::back(), ora::QueryableVector< Tp >::empty(), ora::QueryableVector< Tp >::end(), edm::hlt::Exception, cond::IOVSequence::exist(), cond::IOVSequence::find(), cond::IOVSequence::firstSince(), cond::IOVProxy::iov(), cond::IOVSequence::iovs(), m_bulkSize, m_cursor, m_destIov, m_lastSince, m_sourceIov, m_till, and max().
Referenced by setUp().
void cond::IOVImportIterator::setUp | ( | cond::DbSession & | sourceSess, |
const std::string & | sourceIovToken, | ||
cond::Time_t | since, | ||
cond::Time_t | till, | ||
bool | outOfOrder, | ||
size_t | bulkSize = 1 |
||
) |
Definition at line 98 of file IOVEditor.cc.
References setUp().
void cond::IOVImportIterator::setUp | ( | cond::IOVProxy & | sourceIov, |
size_t | bulkSize = 1 |
||
) |
Definition at line 108 of file IOVEditor.cc.
References ora::QueryableVector< Tp >::back(), ora::QueryableVector< Tp >::begin(), ora::QueryableVector< Tp >::empty(), ora::QueryableVector< Tp >::end(), edm::hlt::Exception, cond::IOVSequence::firstSince(), cond::IOVProxy::iov(), cond::IOVSequence::iovs(), m_bulkSize, m_cursor, m_destIov, m_lastSince, m_sourceIov, and m_till.
void cond::IOVImportIterator::setUp | ( | cond::DbSession & | sourceSess, |
const std::string & | sourceIovToken, | ||
size_t | bulkSize = 1 |
||
) |
Definition at line 134 of file IOVEditor.cc.
References setUp().
|
private |
Definition at line 51 of file IOVEditor.h.
Referenced by importMoreElements(), and setUp().
|
private |
Definition at line 52 of file IOVEditor.h.
Referenced by hasMoreElements(), importMoreElements(), and setUp().
|
private |
Definition at line 49 of file IOVEditor.h.
Referenced by importMoreElements(), and setUp().
|
private |
Definition at line 50 of file IOVEditor.h.
Referenced by importMoreElements(), and setUp().
|
private |
Definition at line 48 of file IOVEditor.h.
Referenced by importMoreElements(), and setUp().
|
private |
Definition at line 53 of file IOVEditor.h.
Referenced by hasMoreElements(), importMoreElements(), and setUp().