15 namespace eventsetup {
27 std::vector<std::string> recordNames =
pset.getParameterNames();
35 [](
auto const& left,
auto const& right) {
return left.first < right.first; });
48 bool printInfoMsg)
const {
52 std::make_pair(eventSetupKey, 0u),
53 [](
auto const& left,
auto const& right) {
return left.first < right.first; });
56 LogInfo(
"Configuration") <<
"For record " << eventSetupKey.
name() <<
" you have configured " << iter->second
57 <<
" concurrent IOVs.\n" 58 <<
"But you cannot have more concurrent IOVs than lumis or streams.\n" 67 LogInfo(
"Configuration") <<
"For record " << eventSetupKey.
name() <<
" you have configured " 69 <<
"But you cannot have more concurrent IOVs than lumis or streams.\n" T getUntrackedParameter(std::string const &, T const &) const
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
unsigned int numberConcurrentIOVs_
void fillRecordsNotAllowingConcurrentIOVs(EventSetupProvider const &)
std::set< EventSetupRecordKey > recordsNotAllowingConcurrentIOVs_
const char * name() const
void swap(DataKey &a, DataKey &b)
unsigned int maxConcurrentIOVs_
unsigned int numberOfConcurrentIOVs(EventSetupRecordKey const &, bool printInfoMsg=false) const
std::vector< std::pair< EventSetupRecordKey, unsigned int > > forceNumberOfConcurrentIOVs_
void fillRecordsNotAllowingConcurrentIOVs(std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
void readConfigurationParameters(ParameterSet const *eventSetupPset)
void setMaxConcurrentIOVs(unsigned int nStreams, unsigned int nConcurrentLumis)