#include <EventSetupsController.h>
Public Member Functions | |
void | clearComponents () |
std::multimap< ParameterSetID, ESProducerInfo > const & | esproducers () const |
std::multimap< ParameterSetID, ESSourceInfo > const & | essources () const |
void | eventSetupForInstance (IOVSyncValue const &syncValue) |
EventSetupsController () | |
void | finishConfiguration () |
void | forceCacheClear () const |
std::shared_ptr< DataProxyProvider > | getESProducerAndRegisterProcess (ParameterSet const &pset, unsigned subProcessIndex) |
ParameterSet const * | getESProducerPSet (ParameterSetID const &psetID, unsigned subProcessIndex) const |
std::shared_ptr< EventSetupRecordIntervalFinder > | getESSourceAndRegisterProcess (ParameterSet const &pset, unsigned subProcessIndex) |
unsigned | indexOfNextProcess () const |
bool | isFirstMatch (ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const |
bool | isLastMatch (ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const |
bool | isMatchingESProducer (ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const |
bool | isMatchingESSource (ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const |
bool | isWithinValidityInterval (IOVSyncValue const &syncValue) const |
void | lookForMatches (ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex, bool &firstProcessWithThisPSet, bool &precedingHasMatchingPSet) const |
std::shared_ptr< EventSetupProvider > | makeProvider (ParameterSet &, ActivityRegistry *) |
bool | mustFinishConfiguration () const |
std::vector< std::shared_ptr< EventSetupProvider > > const & | providers () const |
void | putESProducer (ParameterSet const &pset, std::shared_ptr< DataProxyProvider > const &component, unsigned subProcessIndex) |
void | putESSource (ParameterSet const &pset, std::shared_ptr< EventSetupRecordIntervalFinder > const &component, unsigned subProcessIndex) |
Private Member Functions | |
void | checkESProducerSharing () |
EventSetupsController (EventSetupsController const &)=delete | |
EventSetupsController const & | operator= (EventSetupsController const &)=delete |
Private Attributes | |
std::multimap< ParameterSetID, ESProducerInfo > | esproducers_ |
std::multimap< ParameterSetID, ESSourceInfo > | essources_ |
bool | mustFinishConfiguration_ |
std::vector< std::shared_ptr< EventSetupProvider > > | providers_ |
Description: Manages a group of EventSetups which can share components
Usage: <usage>
Definition at line 71 of file EventSetupsController.h.
edm::eventsetup::EventSetupsController::EventSetupsController | ( | ) |
Definition at line 28 of file EventSetupsController.cc.
|
privatedelete |
|
private |
Definition at line 295 of file EventSetupsController.cc.
References providers_.
Referenced by finishConfiguration().
void edm::eventsetup::EventSetupsController::clearComponents | ( | ) |
Definition at line 138 of file EventSetupsController.cc.
References esproducers_, and essources_.
Referenced by finishConfiguration().
|
inline |
Definition at line 122 of file EventSetupsController.h.
|
inline |
Definition at line 124 of file EventSetupsController.h.
void edm::eventsetup::EventSetupsController::eventSetupForInstance | ( | IOVSyncValue const & | syncValue | ) |
Definition at line 64 of file EventSetupsController.cc.
References finishConfiguration(), and providers_.
void edm::eventsetup::EventSetupsController::finishConfiguration | ( | ) |
Definition at line 47 of file EventSetupsController.cc.
References checkESProducerSharing(), clearComponents(), mustFinishConfiguration_, and providers_.
Referenced by eventSetupForInstance().
void edm::eventsetup::EventSetupsController::forceCacheClear | ( | ) | const |
Definition at line 71 of file EventSetupsController.cc.
References providers_.
std::shared_ptr< DataProxyProvider > edm::eventsetup::EventSetupsController::getESProducerAndRegisterProcess | ( | ParameterSet const & | pset, |
unsigned | subProcessIndex | ||
) |
Definition at line 86 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, esproducers_, edm::ParameterSet::id(), and edm::isTransientEqual().
Referenced by edm::eventsetup::ModuleMakerTraits::getComponentAndRegisterProcess().
ParameterSet const * edm::eventsetup::EventSetupsController::getESProducerPSet | ( | ParameterSetID const & | psetID, |
unsigned | subProcessIndex | ||
) | const |
Definition at line 277 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, esproducers_, Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::checkESProducerSharing().
std::shared_ptr< EventSetupRecordIntervalFinder > edm::eventsetup::EventSetupsController::getESSourceAndRegisterProcess | ( | ParameterSet const & | pset, |
unsigned | subProcessIndex | ||
) |
Definition at line 112 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, essources_, edm::ParameterSet::id(), and edm::isTransientEqual().
Referenced by edm::eventsetup::SourceMakerTraits::getComponentAndRegisterProcess().
|
inline |
Definition at line 98 of file EventSetupsController.h.
Referenced by edm::eventsetup::ModuleMakerTraits::getComponentAndRegisterProcess(), edm::eventsetup::SourceMakerTraits::getComponentAndRegisterProcess(), edm::eventsetup::ModuleMakerTraits::putComponent(), and edm::eventsetup::SourceMakerTraits::putComponent().
bool edm::eventsetup::EventSetupsController::isFirstMatch | ( | ParameterSetID const & | psetID, |
unsigned | subProcessIndex, | ||
unsigned | precedingProcessIndex | ||
) | const |
Definition at line 177 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, esproducers_, Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::checkESProducerSharing().
bool edm::eventsetup::EventSetupsController::isLastMatch | ( | ParameterSetID const & | psetID, |
unsigned | subProcessIndex, | ||
unsigned | precedingProcessIndex | ||
) | const |
Definition at line 202 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, esproducers_, Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::checkESProducerSharing().
bool edm::eventsetup::EventSetupsController::isMatchingESProducer | ( | ParameterSetID const & | psetID, |
unsigned | subProcessIndex, | ||
unsigned | precedingProcessIndex | ||
) | const |
Definition at line 252 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, esproducers_, Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::doRecordsMatch().
bool edm::eventsetup::EventSetupsController::isMatchingESSource | ( | ParameterSetID const & | psetID, |
unsigned | subProcessIndex, | ||
unsigned | precedingProcessIndex | ||
) | const |
Definition at line 227 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, essources_, Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::doRecordsMatch().
bool edm::eventsetup::EventSetupsController::isWithinValidityInterval | ( | IOVSyncValue const & | syncValue | ) | const |
Definition at line 77 of file EventSetupsController.cc.
References providers_.
void edm::eventsetup::EventSetupsController::lookForMatches | ( | ParameterSetID const & | psetID, |
unsigned | subProcessIndex, | ||
unsigned | precedingProcessIndex, | ||
bool & | firstProcessWithThisPSet, | ||
bool & | precedingHasMatchingPSet | ||
) | const |
Definition at line 143 of file EventSetupsController.cc.
References allElectronIsolations_cfi::elements, esproducers_, Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::checkESProducerSharing().
std::shared_ptr< EventSetupProvider > edm::eventsetup::EventSetupsController::makeProvider | ( | ParameterSet & | iPSet, |
ActivityRegistry * | activityRegistry | ||
) |
Definition at line 30 of file EventSetupsController.cc.
References edm::eventsetup::fillEventSetupProvider(), edm::eventsetup::makeEventSetupProvider(), and providers_.
Referenced by edm::SubProcess::SubProcess().
|
inline |
Definition at line 126 of file EventSetupsController.h.
|
privatedelete |
|
inline |
Definition at line 120 of file EventSetupsController.h.
void edm::eventsetup::EventSetupsController::putESProducer | ( | ParameterSet const & | pset, |
std::shared_ptr< DataProxyProvider > const & | component, | ||
unsigned | subProcessIndex | ||
) |
Definition at line 103 of file EventSetupsController.cc.
References esproducers_, and edm::ParameterSet::id().
Referenced by edm::eventsetup::ModuleMakerTraits::putComponent().
void edm::eventsetup::EventSetupsController::putESSource | ( | ParameterSet const & | pset, |
std::shared_ptr< EventSetupRecordIntervalFinder > const & | component, | ||
unsigned | subProcessIndex | ||
) |
Definition at line 129 of file EventSetupsController.cc.
References essources_, and edm::ParameterSet::id().
Referenced by edm::eventsetup::SourceMakerTraits::putComponent().
|
private |
Definition at line 148 of file EventSetupsController.h.
Referenced by clearComponents(), getESProducerAndRegisterProcess(), getESProducerPSet(), isFirstMatch(), isLastMatch(), isMatchingESProducer(), lookForMatches(), and putESProducer().
|
private |
Definition at line 149 of file EventSetupsController.h.
Referenced by clearComponents(), getESSourceAndRegisterProcess(), isMatchingESSource(), and putESSource().
|
private |
Definition at line 151 of file EventSetupsController.h.
Referenced by finishConfiguration().
|
private |
Definition at line 136 of file EventSetupsController.h.
Referenced by checkESProducerSharing(), eventSetupForInstance(), finishConfiguration(), forceCacheClear(), isWithinValidityInterval(), and makeProvider().