#include <DataProxyProvider.h>
Public Types | |
typedef std::vector< std::pair < DataKey, boost::shared_ptr < DataProxy > > > | KeyedProxies |
typedef std::vector < EventSetupRecordKey > | Keys |
typedef std::map < EventSetupRecordKey, KeyedProxies > | RecordProxies |
Public Member Functions | |
DataProxyProvider () | |
const ComponentDescription & | description () const |
bool | isUsingRecord (const EventSetupRecordKey &) const |
const KeyedProxies & | keyedProxies (const EventSetupRecordKey &iRecordKey) const |
virtual void | newInterval (const EventSetupRecordKey &iRecordType, const ValidityInterval &iInterval)=0 |
called when a new interval of validity occurs for iRecordType More... | |
void | resetProxies (const EventSetupRecordKey &iRecordType) |
void | resetProxiesIfTransient (const EventSetupRecordKey &iRecordType) |
void | setAppendToDataLabel (const edm::ParameterSet &) |
void | setDescription (const ComponentDescription &iDescription) |
std::set< EventSetupRecordKey > | usingRecords () const |
virtual | ~DataProxyProvider () |
Static Public Member Functions | |
static void | prevalidate (ConfigurationDescriptions &) |
Protected Member Functions | |
void | eraseAll (const EventSetupRecordKey &iRecordKey) |
deletes all the Proxies in aStream More... | |
void | invalidateProxies (const EventSetupRecordKey &iRecordKey) |
virtual void | registerProxies (const EventSetupRecordKey &iRecordKey, KeyedProxies &aProxyList)=0 |
template<class T > | |
void | usingRecord () |
void | usingRecordWithKey (const EventSetupRecordKey &) |
Private Member Functions | |
DataProxyProvider (const DataProxyProvider &) | |
const DataProxyProvider & | operator= (const DataProxyProvider &) |
Private Attributes | |
std::string | appendToDataLabel_ |
ComponentDescription | description_ |
RecordProxies | recordProxies_ |
Definition at line 42 of file DataProxyProvider.h.
typedef std::vector<std::pair<DataKey, boost::shared_ptr<DataProxy> > > edm::eventsetup::DataProxyProvider::KeyedProxies |
Definition at line 48 of file DataProxyProvider.h.
typedef std::vector< EventSetupRecordKey> edm::eventsetup::DataProxyProvider::Keys |
Definition at line 46 of file DataProxyProvider.h.
typedef std::map<EventSetupRecordKey, KeyedProxies> edm::eventsetup::DataProxyProvider::RecordProxies |
Definition at line 49 of file DataProxyProvider.h.
DataProxyProvider::DataProxyProvider | ( | ) |
Definition at line 35 of file DataProxyProvider.cc.
|
virtual |
Definition at line 44 of file DataProxyProvider.cc.
|
private |
|
inline |
Definition at line 61 of file DataProxyProvider.h.
References description_.
Referenced by keyedProxies(), edm::eventsetup::EventSetupRecordProvider::proxyProvider(), and edm::eventsetup::EventSetupRecordProvider::proxyProviderDescriptions().
|
protected |
deletes all the Proxies in aStream
|
protected |
Definition at line 71 of file DataProxyProvider.cc.
References recordProxies_.
Referenced by CondDBESSource::newInterval(), edm::ESProxyFactoryProducer::newInterval(), FWLiteESSource::newInterval(), and resetProxies().
bool DataProxyProvider::isUsingRecord | ( | const EventSetupRecordKey & | iKey | ) | const |
Definition at line 118 of file DataProxyProvider.cc.
References recordProxies_.
const DataProxyProvider::KeyedProxies & DataProxyProvider::keyedProxies | ( | const EventSetupRecordKey & | iRecordKey | ) | const |
Definition at line 138 of file DataProxyProvider.cc.
References appendToDataLabel_, description(), recordProxies_, registerProxies(), edm::eventsetup::swap(), and groupFilesInBlocks::temp.
|
pure virtual |
called when a new interval of validity occurs for iRecordType
Implemented in FWLiteESSource, edm::ESProxyFactoryProducer, and CondDBESSource.
|
private |
|
static |
Used to add parameters available to all inheriting classes
Definition at line 175 of file DataProxyProvider.cc.
References edm::ParameterSetDescription::add(), edm::ConfigurationDescriptions::defaultDescription(), edm::ParameterSetDescription::isLabelUnused(), edm::eventsetup::kAppendToDataLabel(), and v.
|
protectedpure virtual |
Implemented in FWLiteESSource, edm::ESProxyFactoryProducer, and CondDBESSource.
Referenced by keyedProxies().
void DataProxyProvider::resetProxies | ( | const EventSetupRecordKey & | iRecordType | ) |
Definition at line 84 of file DataProxyProvider.cc.
References invalidateProxies().
Referenced by edm::eventsetup::EventSetupRecordProvider::resetProxies().
void DataProxyProvider::resetProxiesIfTransient | ( | const EventSetupRecordKey & | iRecordType | ) |
Definition at line 90 of file DataProxyProvider.cc.
References recordProxies_.
Referenced by edm::eventsetup::EventSetupRecordProvider::resetProxies(), and edm::eventsetup::EventSetupRecordProvider::resetTransients().
void DataProxyProvider::setAppendToDataLabel | ( | const edm::ParameterSet & | iToAppend | ) |
This method is only to be called by the framework, it sets the string which will be appended to the labels of all data products being produced
Definition at line 103 of file DataProxyProvider.cc.
References appendToDataLabel_, edm::ParameterSet::exists(), and edm::ParameterSet::getParameter().
Referenced by edm::eventsetup::ComponentMaker< edm::eventsetup::LooperMakerTraits, TType >::setPostConstruction().
|
inline |
Definition at line 73 of file DataProxyProvider.h.
References description_.
Referenced by edm::eventsetup::ComponentMaker< edm::eventsetup::LooperMakerTraits, TType >::setDescription().
|
inlineprotected |
Definition at line 87 of file DataProxyProvider.h.
References usingRecordWithKey().
std::set< EventSetupRecordKey > DataProxyProvider::usingRecords | ( | ) | const |
Definition at line 124 of file DataProxyProvider.cc.
References recordProxies_.
|
protected |
Definition at line 64 of file DataProxyProvider.cc.
References recordProxies_.
Referenced by CondDBESSource::CondDBESSource(), FWLiteESSource::delaySettingRecords(), edm::ESProxyFactoryProducer::registerFactoryWithKey(), and usingRecord().
|
private |
Definition at line 109 of file DataProxyProvider.h.
Referenced by keyedProxies(), and setAppendToDataLabel().
|
private |
Definition at line 108 of file DataProxyProvider.h.
Referenced by description(), and setDescription().
|
private |
Definition at line 107 of file DataProxyProvider.h.
Referenced by invalidateProxies(), isUsingRecord(), keyedProxies(), resetProxiesIfTransient(), usingRecords(), and usingRecordWithKey().