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::ESProductResolverProvider | |
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 |
KeyedResolversVector | registerResolvers (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::ESProductResolverProvider | |
using | KeyedResolversVector = std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> |
Protected Member Functions inherited from edm::eventsetup::ESProductResolverProvider | |
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 120 of file TestESSource.cc.
References muonDTDigis_cfi::pset, setOfIOV_, groupFilesInBlocks::temp, and heppy_batch::val.
|
override |
Definition at line 137 of file TestESSource.cc.
void edmtest::TestESSource::busyWait | ( | char const * | msg | ) | const |
Definition at line 226 of file TestESSource.cc.
References funct::cos(), mps_fire::i, iterations_, mps_check::msg, and pi_.
Referenced by edmtest::TestESSourceTestResolver::prefetch(), and setIntervalFor().
|
static |
Definition at line 139 of file TestESSource.cc.
References edm::ConfigurationDescriptions::addDefault(), and submitPVResolutionJobs::desc.
|
overrideprivatevirtual |
Reimplemented from edm::eventsetup::ESProductResolverProvider.
Definition at line 212 of file TestESSource.cc.
References Exception, expectedNumberOfConcurrentIOVs_, submitPVResolutionJobs::key, and nConcurrentIOVs_.
|
inlineoverrideprivatevirtual |
Reimplemented from edm::EventSetupRecordIntervalFinder.
Definition at line 73 of file TestESSource.cc.
|
overrideprivatevirtual |
Implements edm::eventsetup::ESProductResolverProvider.
Definition at line 198 of file TestESSource.cc.
References Exception, expectedNumberOfConcurrentIOVs_, and nConcurrentIOVs_.
|
overrideprivatevirtual |
Implements edm::EventSetupRecordIntervalFinder.
Definition at line 149 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::TestESSourceTestResolver::initializeForNewIOV(), and setIntervalFor().
std::atomic<unsigned int> edmtest::TestESSource::count_ |
Definition at line 66 of file TestESSource.cc.
Referenced by edmtest::TestESSourceTestResolver::prefetch(), and setIntervalFor().
|
private |
Definition at line 81 of file TestESSource.cc.
Referenced by initConcurrentIOVs(), and registerResolvers().
|
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 registerResolvers().
|
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().