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"
T getUntrackedParameter(std::string const &, T const &) const
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 readConfigurationParameters(ParameterSet const *eventSetupPset, unsigned int maxConcurrentIOVs, bool dumpOptions)
Log< level::Info, false > LogInfo
void fillRecordsNotAllowingConcurrentIOVs(std::set< EventSetupRecordKey > &recordsNotAllowingConcurrentIOVs) const
__host__ __device__ constexpr RandomIt lower_bound(RandomIt first, RandomIt last, const T &value, Compare comp={})
Log< level::System, true > LogAbsolute
static HCTypeTag findType(char const *iTypeName)
find a type based on the types name, if not found will return default HCTypeTag