23 namespace eventsetup {
74 KeyedProxies::iterator finished(proxyList.end()) ;
75 for (KeyedProxies::iterator keyedProxy(proxyList.begin()) ;
76 keyedProxy != finished ;
78 (*((*keyedProxy).second)).invalidate() ;
93 KeyedProxies::iterator finished(proxyList.end()) ;
94 for (KeyedProxies::iterator keyedProxy(proxyList.begin()) ;
95 keyedProxy != finished ;
97 (*((*keyedProxy).second)).resetIfTransient() ;
107 assert(0 == oldValue.size());
109 const std::string kParamName(
"appendToDataLabel");
110 if(iToAppend.
exists(kParamName) ) {
123 std::set<EventSetupRecordKey>
126 std::set<EventSetupRecordKey> returnValue;
127 for(RecordProxies::const_iterator itRecProxies =
recordProxies_.begin(),
129 itRecProxies != itRecProxiesEnd;
131 returnValue.insert(returnValue.end(), itRecProxies->first);
140 RecordProxies::const_iterator itFind =
recordProxies_.find(iRecordKey);
143 if(itFind->second.empty()) {
150 for(KeyedProxies::iterator itProxy = proxies.begin(), itProxyEnd = proxies.end();
151 itProxy != itProxyEnd;
153 itProxy->second->setProviderDescription(&
description());
154 if( mustChangeLabels ) {
160 DataKey newKey(itProxy->first.type(),temp.c_str());
161 swap(itProxy->first,newKey);
166 return itFind->second;
182 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_