24 namespace eventsetup {
75 KeyedProxies::iterator finished(proxyList.end()) ;
76 for (KeyedProxies::iterator keyedProxy(proxyList.begin()) ;
77 keyedProxy != finished ;
79 (*((*keyedProxy).second)).invalidate() ;
94 KeyedProxies::iterator finished(proxyList.end()) ;
95 for (KeyedProxies::iterator keyedProxy(proxyList.begin()) ;
96 keyedProxy != finished ;
98 (*((*keyedProxy).second)).resetIfTransient() ;
108 assert(0 == oldValue.size());
111 if(iToAppend.
exists(kParamName) ) {
124 std::set<EventSetupRecordKey>
127 std::set<EventSetupRecordKey> returnValue;
128 for(RecordProxies::const_iterator itRecProxies =
recordProxies_.begin(),
130 itRecProxies != itRecProxiesEnd;
132 returnValue.insert(returnValue.end(), itRecProxies->first);
141 RecordProxies::const_iterator itFind =
recordProxies_.find(iRecordKey);
144 if(itFind->second.empty()) {
151 for(KeyedProxies::iterator itProxy = proxies.begin(), itProxyEnd = proxies.end();
152 itProxy != itProxyEnd;
154 itProxy->second->setProviderDescription(&
description());
155 if( mustChangeLabels ) {
161 DataKey newKey(itProxy->first.type(),temp.c_str());
162 swap(itProxy->first,newKey);
167 return itFind->second;
183 for(
auto&
v: iDesc) {
T getParameter(std::string const &) const
void resetProxiesIfTransient(const EventSetupRecordKey &iRecordType)
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_
void invalidateProxies(const EventSetupRecordKey &iRecordKey)
static void prevalidate(ConfigurationDescriptions &)
std::vector< std::pair< DataKey, boost::shared_ptr< DataProxy > > > KeyedProxies
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 &)
virtual ~DataProxyProvider()
std::string appendToDataLabel_