#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) |
void | setMaxConcurrentIOVs (unsigned int nStreams, unsigned int nConcurrentLumis) |
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 75 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 43 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 47 of file NumberOfConcurrentIOVs.cc.
References cms::cuda::assert(), forceNumberOfConcurrentIOVs_, cuda_std::lower_bound(), maxConcurrentIOVs_, min(), edm::eventsetup::EventSetupRecordKey::name(), numberConcurrentIOVs_, and recordsNotAllowingConcurrentIOVs_.
Referenced by edm::eventsetup::EventSetupsController::initializeEventSetupRecordIOVQueues().
void edm::eventsetup::NumberOfConcurrentIOVs::readConfigurationParameters | ( | ParameterSet const * | eventSetupPset | ) |
Definition at line 19 of file NumberOfConcurrentIOVs.cc.
References edm::eventsetup::heterocontainer::HCTypeTag::findType(), forceNumberOfConcurrentIOVs_, edm::ParameterSet::getUntrackedParameter(), edm::ParameterSet::getUntrackedParameterSet(), numberConcurrentIOVs_, muonDTDigis_cfi::pset, and align_cfg::recordName.
Referenced by edm::eventsetup::EventSetupsController::makeProvider().
void edm::eventsetup::NumberOfConcurrentIOVs::setMaxConcurrentIOVs | ( | unsigned int | nStreams, |
unsigned int | nConcurrentLumis | ||
) |
Definition at line 39 of file NumberOfConcurrentIOVs.cc.
References maxConcurrentIOVs_, and min().
Referenced by edm::eventsetup::EventSetupsController::setMaxConcurrentIOVs().
|
private |
Definition at line 77 of file NumberOfConcurrentIOVs.h.
Referenced by clear(), numberOfConcurrentIOVs(), and readConfigurationParameters().
|
private |
Definition at line 79 of file NumberOfConcurrentIOVs.h.
Referenced by numberOfConcurrentIOVs(), and setMaxConcurrentIOVs().
|
private |
Definition at line 57 of file NumberOfConcurrentIOVs.h.
Referenced by clear(), numberOfConcurrentIOVs(), and readConfigurationParameters().
|
private |
Definition at line 68 of file NumberOfConcurrentIOVs.h.
Referenced by clear(), fillRecordsNotAllowingConcurrentIOVs(), and numberOfConcurrentIOVs().