#include <NumberOfConcurrentIOVs.h>
Public Member Functions | |
void | clear () |
void | fillRecordsNotAllowingConcurrentIOVs (EventSetupProvider const &) |
NumberOfConcurrentIOVs () | |
unsigned int | numberOfConcurrentIOVs (EventSetupRecordKey const &, bool printInfoMsg=false) const |
void | readConfigurationParameters (ParameterSet const *eventSetupPset, unsigned int maxConcurrentIOVs, bool dumpOptions) |
Private Attributes | |
std::vector< std::pair< EventSetupRecordKey, unsigned int > > | forceNumberOfConcurrentIOVs_ |
unsigned int | maxConcurrentIOVs_ = 1 |
unsigned int | numberConcurrentIOVs_ |
std::set< EventSetupRecordKey > | recordsNotAllowingConcurrentIOVs_ |
Description: Calculates and holds the number of concurrent intervals of validity allowed for each record in the EventSetup.
Usage: Used internally by the Framework
Definition at line 35 of file NumberOfConcurrentIOVs.h.
edm::eventsetup::NumberOfConcurrentIOVs::NumberOfConcurrentIOVs | ( | ) |
Definition at line 17 of file NumberOfConcurrentIOVs.cc.
void edm::eventsetup::NumberOfConcurrentIOVs::clear | ( | void | ) |
Definition at line 77 of file NumberOfConcurrentIOVs.cc.
References forceNumberOfConcurrentIOVs_, numberConcurrentIOVs_, recordsNotAllowingConcurrentIOVs_, and edm::eventsetup::swap().
Referenced by edm::eventsetup::EventSetupsController::finishConfiguration().
void edm::eventsetup::NumberOfConcurrentIOVs::fillRecordsNotAllowingConcurrentIOVs | ( | EventSetupProvider const & | eventSetupProvider | ) |
Definition at line 45 of file NumberOfConcurrentIOVs.cc.
References edm::eventsetup::EventSetupProvider::fillRecordsNotAllowingConcurrentIOVs(), and recordsNotAllowingConcurrentIOVs_.
Referenced by edm::eventsetup::EventSetupsController::finishConfiguration().
unsigned int edm::eventsetup::NumberOfConcurrentIOVs::numberOfConcurrentIOVs | ( | EventSetupRecordKey const & | eventSetupKey, |
bool | printInfoMsg = false |
||
) | const |
Definition at line 49 of file NumberOfConcurrentIOVs.cc.
References cms::cuda::assert(), forceNumberOfConcurrentIOVs_, pfDeepBoostedJetPreprocessParams_cfi::lower_bound, maxConcurrentIOVs_, min(), edm::eventsetup::EventSetupRecordKey::name(), numberConcurrentIOVs_, and recordsNotAllowingConcurrentIOVs_.
Referenced by edm::eventsetup::EventSetupProvider::finishConfiguration(), and edm::eventsetup::EventSetupsController::initializeEventSetupRecordIOVQueues().
void edm::eventsetup::NumberOfConcurrentIOVs::readConfigurationParameters | ( | ParameterSet const * | eventSetupPset, |
unsigned int | maxConcurrentIOVs, | ||
bool | dumpOptions | ||
) |
Definition at line 19 of file NumberOfConcurrentIOVs.cc.
References edm::eventsetup::heterocontainer::HCTypeTag::findType(), forceNumberOfConcurrentIOVs_, edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), maxConcurrentIOVs_, numberConcurrentIOVs_, muonDTDigis_cfi::pset, align_cfg::recordName, and jetUpdater_cfi::sort.
Referenced by edm::eventsetup::EventSetupsController::makeProvider().
|
private |
Definition at line 76 of file NumberOfConcurrentIOVs.h.
Referenced by clear(), numberOfConcurrentIOVs(), and readConfigurationParameters().
|
private |
Definition at line 78 of file NumberOfConcurrentIOVs.h.
Referenced by numberOfConcurrentIOVs(), and readConfigurationParameters().
|
private |
Definition at line 56 of file NumberOfConcurrentIOVs.h.
Referenced by clear(), numberOfConcurrentIOVs(), and readConfigurationParameters().
|
private |
Definition at line 67 of file NumberOfConcurrentIOVs.h.
Referenced by clear(), fillRecordsNotAllowingConcurrentIOVs(), and numberOfConcurrentIOVs().