15 namespace eventsetup {
20 unsigned int maxConcurrentIOVs,
33 std::vector<std::string> recordNames =
pset.getParameterNames();
41 [](
auto const& left,
auto const& right) {
return left.first < right.first; });
50 bool printInfoMsg)
const {
54 std::make_pair(eventSetupKey, 0u),
55 [](
auto const& left,
auto const& right) {
return left.first < right.first; });
58 LogInfo(
"Configuration") <<
"For record " << eventSetupKey.
name() <<
" you have configured " << iter->second
59 <<
" concurrent IOVs.\n" 60 <<
"But you cannot have more concurrent IOVs than lumis or streams.\n" 69 LogInfo(
"Configuration") <<
"For record " << eventSetupKey.
name() <<
" you have configured " 71 <<
"But you cannot have more concurrent IOVs than lumis or streams.\n"
ParameterSet getUntrackedParameterSet(std::string const &name, ParameterSet const &defaultValue) const
T getUntrackedParameter(std::string const &, T const &) const
unsigned int numberConcurrentIOVs_
void fillRecordsNotAllowingConcurrentIOVs(EventSetupProvider const &)
std::set< EventSetupRecordKey > recordsNotAllowingConcurrentIOVs_
void fillRecordsNotAllowingConcurrentIOVs(std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
void swap(DataKey &a, DataKey &b)
unsigned int maxConcurrentIOVs_
std::vector< std::pair< EventSetupRecordKey, unsigned int > > forceNumberOfConcurrentIOVs_
void readConfigurationParameters(ParameterSet const *eventSetupPset, unsigned int maxConcurrentIOVs, bool dumpOptions)
Log< level::Info, false > LogInfo
Log< level::System, true > LogAbsolute
const char * name() const
unsigned int numberOfConcurrentIOVs(EventSetupRecordKey const &, bool printInfoMsg=false) const
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag