Public Types | |
using | EventSetupRecordKey = edm::eventsetup::EventSetupRecordKey |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::eventsetup::DataProxyProvider | |
static void | prevalidate (ConfigurationDescriptions &) |
Public Attributes | |
std::atomic< unsigned int > | count1_ |
std::atomic< unsigned int > | count2_ |
std::atomic< unsigned int > | count_ |
std::mutex | mutex_ |
edm::SerialTaskQueue | queue_ |
Private Member Functions | |
void | initConcurrentIOVs (EventSetupRecordKey const &, unsigned int nConcurrentIOVs) override |
bool | isConcurrentFinder () const override |
KeyedProxiesVector | registerProxies (EventSetupRecordKey const &, unsigned int iovIndex) override |
void | setIntervalFor (EventSetupRecordKey const &, edm::IOVSyncValue const &, edm::ValidityInterval &) override |
Private Attributes | |
bool | checkIOVInitialization_ |
unsigned int | expectedNumberOfConcurrentIOVs_ |
const unsigned int | iterations_ |
unsigned int | nConcurrentIOVs_ = 0 |
const double | pi_ |
std::set< edm::IOVSyncValue > | setOfIOV_ |
Additional Inherited Members | |
Protected Types inherited from edm::eventsetup::DataProxyProvider | |
using | KeyedProxiesVector = std::vector< std::pair< DataKey, std::shared_ptr< DataProxy > >> |
Protected Member Functions inherited from edm::eventsetup::DataProxyProvider | |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &key) |
Protected Member Functions inherited from edm::EventSetupRecordIntervalFinder | |
template<class T > | |
void | findingRecord () |
void | findingRecordWithKey (const eventsetup::EventSetupRecordKey &) |
Definition at line 56 of file TestESSource.cc.
Definition at line 58 of file TestESSource.cc.
|
explicit |
Definition at line 119 of file TestESSource.cc.
References muonDTDigis_cfi::pset, setOfIOV_, groupFilesInBlocks::temp, and heppy_batch::val.
|
override |
Definition at line 136 of file TestESSource.cc.
void edmtest::TestESSource::busyWait | ( | char const * | msg | ) | const |
Definition at line 225 of file TestESSource.cc.
References funct::cos(), mps_fire::i, iterations_, mps_check::msg, and pi_.
Referenced by edmtest::TestESSourceTestProxy::prefetch(), and setIntervalFor().
|
static |
Definition at line 138 of file TestESSource.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
overrideprivatevirtual |
Reimplemented from edm::eventsetup::DataProxyProvider.
Definition at line 211 of file TestESSource.cc.
References Exception, expectedNumberOfConcurrentIOVs_, crabWrapper::key, and nConcurrentIOVs_.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EventSetupRecordIntervalFinder.
Definition at line 73 of file TestESSource.cc.
|
overrideprivatevirtual |
Implements edm::eventsetup::DataProxyProvider.
Definition at line 197 of file TestESSource.cc.
References Exception, expectedNumberOfConcurrentIOVs_, and nConcurrentIOVs_.
|
overrideprivatevirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 148 of file TestESSource.cc.
References busyWait(), checkIOVInitialization_, count1_, count2_, count_, edm::IOVSyncValue::endOfTime(), Exception, edm::ValidityInterval::invalidInterval(), edm::EventID::maxEventNumber(), mutex_, and setOfIOV_.
|
private |
Definition at line 83 of file TestESSource.cc.
Referenced by setIntervalFor().
std::atomic<unsigned int> edmtest::TestESSource::count1_ |
Definition at line 67 of file TestESSource.cc.
Referenced by setIntervalFor().
std::atomic<unsigned int> edmtest::TestESSource::count2_ |
Definition at line 68 of file TestESSource.cc.
Referenced by edmtest::TestESSourceTestProxy::initializeForNewIOV(), and setIntervalFor().
std::atomic<unsigned int> edmtest::TestESSource::count_ |
Definition at line 66 of file TestESSource.cc.
Referenced by edmtest::TestESSourceTestProxy::prefetch(), and setIntervalFor().
|
private |
Definition at line 81 of file TestESSource.cc.
Referenced by initConcurrentIOVs(), and registerProxies().
|
private |
Definition at line 79 of file TestESSource.cc.
Referenced by busyWait().
std::mutex edmtest::TestESSource::mutex_ |
Definition at line 70 of file TestESSource.cc.
Referenced by setIntervalFor().
|
private |
Definition at line 82 of file TestESSource.cc.
Referenced by initConcurrentIOVs(), and registerProxies().
|
private |
Definition at line 80 of file TestESSource.cc.
Referenced by busyWait().
edm::SerialTaskQueue edmtest::TestESSource::queue_ |
Definition at line 69 of file TestESSource.cc.
|
private |
Definition at line 78 of file TestESSource.cc.
Referenced by setIntervalFor(), and TestESSource().