24 namespace eventsetup {
70 KeyedProxies::iterator
finished(proxyList.end());
71 for (KeyedProxies::iterator keyedProxy(proxyList.begin()); keyedProxy !=
finished; ++keyedProxy) {
72 (*((*keyedProxy).second)).invalidate();
80 KeyedProxies::iterator
finished(proxyList.end());
81 for (KeyedProxies::iterator keyedProxy(proxyList.begin()); keyedProxy !=
finished; ++keyedProxy) {
82 (*((*keyedProxy).second)).resetIfTransient();
89 assert(oldValue.empty());
92 if (iToAppend.
exists(kParamName)) {
104 std::set<EventSetupRecordKey> returnValue;
106 itRecProxies != itRecProxiesEnd;
108 returnValue.insert(returnValue.end(), itRecProxies->first);
115 RecordProxies::const_iterator itFind =
recordProxies_.find(iRecordKey);
118 if (itFind->second.empty()) {
124 for (KeyedProxies::iterator itProxy = proxies.begin(), itProxyEnd = proxies.end(); itProxy != itProxyEnd;
126 itProxy->second->setProviderDescription(&
description());
127 if (mustChangeLabels) {
133 DataKey newKey(itProxy->first.type(), temp.c_str());
134 swap(itProxy->first, newKey);
139 return itFind->second;
153 for (
auto&
v : iDesc) {
154 if (
v.second.isLabelUnused(kAppendToDataLabel)) {
T getParameter(std::string const &) const
void resetProxiesIfTransient(const EventSetupRecordKey &iRecordType)
virtual ~DataProxyProvider() noexcept(false)
const KeyedProxies & keyedProxies(const EventSetupRecordKey &iRecordKey) const
bool isUsingRecord(const EventSetupRecordKey &) const
virtual void registerProxies(const EventSetupRecordKey &iRecordKey, KeyedProxies &aProxyList)=0
bool exists(std::string const ¶meterName) const
checks if a parameter exists
void usingRecordWithKey(const EventSetupRecordKey &)
ParameterSetDescription * defaultDescription()
Returns 0 if no default has been assigned.
RecordProxies recordProxies_
std::vector< std::pair< DataKey, edm::propagate_const< std::shared_ptr< DataProxy > > > > KeyedProxies
void invalidateProxies(const EventSetupRecordKey &iRecordKey)
virtual void updateLookup(ESRecordsToProxyIndices const &)
static void prevalidate(ConfigurationDescriptions &)
void resetProxies(const EventSetupRecordKey &iRecordType)
const ComponentDescription & description() const
void swap(DataKey &a, DataKey &b)
bool isLabelUnused(std::string const &label) const
static const std::string kAppendToDataLabel("appendToDataLabel")
ParameterDescriptionBase * add(U const &iLabel, T const &value)
std::set< EventSetupRecordKey > usingRecords() const
void setAppendToDataLabel(const edm::ParameterSet &)
std::string appendToDataLabel_