#include "FWCore/Framework/interface/ESConsumesCollector.h"
Public Member Functions | |
template<typename Product > | |
auto | consumes (ESInputTag const &tag) |
template<typename Product , typename Record > | |
auto | consumes (ESInputTag const &tag) |
template<typename Product > | |
auto | consumes (eventsetup::EventSetupRecordKey const &, ESInputTag const &tag) |
ESConsumesCollector ()=delete | |
ESConsumesCollector (ESConsumesCollector const &)=default | |
ESConsumesCollector (ESConsumesCollector &&)=default | |
ESConsumesCollector & | operator= (ESConsumesCollector const &)=default |
ESConsumesCollector & | operator= (ESConsumesCollector &&)=default |
Private Member Functions | |
ESConsumesCollector (ESProducer *const iConsumer) | |
Private Attributes | |
edm::propagate_const< ESProducer * > | m_consumer {nullptr} |
Friends | |
class | ESProducer |
Description: Helper class to gather consumes information for the EventSetup.
Usage: The constructor of an ESProducer module can get an instance of edm::ESConsumesCollector by calling consumesCollector() method. This instance can then be passed to helper classes in order to register the event-setup data the helper will request from an Event, LuminosityBlock or Run on behalf of the module.
Caveat: The ESConsumesCollector should be used during the time that modules are being constructed. It should not be saved and used later. It will not work if it is used to call the consumes function during beginJob, beginRun, beginLuminosity block, event processing or at any later time. As of now, an ESConsumesCollector is provided for only ESProducer subclasses–i.e. those that call setWhatProduced(this, ...).
Definition at line 38 of file ESConsumesCollector.h.
|
delete |
|
default |
|
default |
|
inlineexplicitprivate |
Definition at line 67 of file ESConsumesCollector.h.
|
inline |
Definition at line 49 of file ESConsumesCollector.h.
|
inline |
Definition at line 54 of file ESConsumesCollector.h.
|
inline |
Definition at line 59 of file ESConsumesCollector.h.
|
default |
|
default |
|
friend |
Definition at line 65 of file ESConsumesCollector.h.
|
private |
Definition at line 72 of file ESConsumesCollector.h.