#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 | forceCacheClear () const |
boost::shared_ptr < DataProxyProvider > | getESProducerAndRegisterProcess (ParameterSet const &pset, unsigned subProcessIndex) |
ParameterSet const * | getESProducerPSet (ParameterSetID const &psetID, unsigned subProcessIndex) const |
boost::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 |
void | lookForMatches (ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex, bool &firstProcessWithThisPSet, bool &precedingHasMatchingPSet) const |
boost::shared_ptr < EventSetupProvider > | makeProvider (ParameterSet &) |
bool | mustFinishConfiguration () const |
std::vector< boost::shared_ptr < EventSetupProvider > > const & | providers () const |
void | putESProducer (ParameterSet const &pset, boost::shared_ptr< DataProxyProvider > const &component, unsigned subProcessIndex) |
void | putESSource (ParameterSet const &pset, boost::shared_ptr< EventSetupRecordIntervalFinder > const &component, unsigned subProcessIndex) |
Private Member Functions | |
void | checkESProducerSharing () |
EventSetupsController (EventSetupsController const &) | |
EventSetupsController const & | operator= (EventSetupsController const &) |
Private Attributes | |
std::multimap< ParameterSetID, ESProducerInfo > | esproducers_ |
std::multimap< ParameterSetID, ESSourceInfo > | essources_ |
bool | mustFinishConfiguration_ |
std::vector< boost::shared_ptr < EventSetupProvider > > | providers_ |
Description: Manages a group of EventSetups which can share components
Usage: <usage>
Definition at line 73 of file EventSetupsController.h.
edm::eventsetup::EventSetupsController::EventSetupsController | ( | ) |
Definition at line 28 of file EventSetupsController.cc.
|
private |
|
private |
Definition at line 310 of file EventSetupsController.cc.
References providers_.
Referenced by eventSetupForInstance().
void edm::eventsetup::EventSetupsController::clearComponents | ( | ) |
Definition at line 130 of file EventSetupsController.cc.
References esproducers_, and essources_.
Referenced by eventSetupForInstance().
|
inline |
Definition at line 121 of file EventSetupsController.h.
References esproducers_.
|
inline |
Definition at line 123 of file EventSetupsController.h.
References essources_.
void edm::eventsetup::EventSetupsController::eventSetupForInstance | ( | IOVSyncValue const & | syncValue | ) |
Definition at line 49 of file EventSetupsController.cc.
References checkESProducerSharing(), clearComponents(), mustFinishConfiguration_, and providers_.
void edm::eventsetup::EventSetupsController::forceCacheClear | ( | ) | const |
Definition at line 73 of file EventSetupsController.cc.
References providers_.
boost::shared_ptr< DataProxyProvider > edm::eventsetup::EventSetupsController::getESProducerAndRegisterProcess | ( | ParameterSet const & | pset, |
unsigned | subProcessIndex | ||
) |
Definition at line 80 of file EventSetupsController.cc.
References asciidump::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 288 of file EventSetupsController.cc.
References asciidump::elements, esproducers_, edm::hlt::Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::checkESProducerSharing().
boost::shared_ptr< EventSetupRecordIntervalFinder > edm::eventsetup::EventSetupsController::getESSourceAndRegisterProcess | ( | ParameterSet const & | pset, |
unsigned | subProcessIndex | ||
) |
Definition at line 105 of file EventSetupsController.cc.
References asciidump::elements, essources_, edm::ParameterSet::id(), and edm::isTransientEqual().
Referenced by edm::eventsetup::SourceMakerTraits::getComponentAndRegisterProcess().
|
inline |
Definition at line 92 of file EventSetupsController.h.
References providers_.
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 174 of file EventSetupsController.cc.
References asciidump::elements, esproducers_, edm::hlt::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 203 of file EventSetupsController.cc.
References asciidump::elements, esproducers_, edm::hlt::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 260 of file EventSetupsController.cc.
References asciidump::elements, esproducers_, edm::hlt::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 232 of file EventSetupsController.cc.
References asciidump::elements, essources_, edm::hlt::Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::doRecordsMatch().
void edm::eventsetup::EventSetupsController::lookForMatches | ( | ParameterSetID const & | psetID, |
unsigned | subProcessIndex, | ||
unsigned | precedingProcessIndex, | ||
bool & | firstProcessWithThisPSet, | ||
bool & | precedingHasMatchingPSet | ||
) | const |
Definition at line 136 of file EventSetupsController.cc.
References asciidump::elements, esproducers_, edm::hlt::Exception, spr::find(), and edm::errors::LogicError.
Referenced by edm::eventsetup::EventSetupProvider::checkESProducerSharing().
boost::shared_ptr< EventSetupProvider > edm::eventsetup::EventSetupsController::makeProvider | ( | ParameterSet & | iPSet | ) |
Definition at line 32 of file EventSetupsController.cc.
References edm::eventsetup::fillEventSetupProvider(), edm::eventsetup::makeEventSetupProvider(), and providers_.
Referenced by edm::SubProcess::SubProcess().
|
inline |
Definition at line 125 of file EventSetupsController.h.
References mustFinishConfiguration_.
|
private |
|
inline |
Definition at line 119 of file EventSetupsController.h.
References providers_.
void edm::eventsetup::EventSetupsController::putESProducer | ( | ParameterSet const & | pset, |
boost::shared_ptr< DataProxyProvider > const & | component, | ||
unsigned | subProcessIndex | ||
) |
Definition at line 97 of file EventSetupsController.cc.
References esproducers_, and edm::ParameterSet::id().
Referenced by edm::eventsetup::ModuleMakerTraits::putComponent().
void edm::eventsetup::EventSetupsController::putESSource | ( | ParameterSet const & | pset, |
boost::shared_ptr< EventSetupRecordIntervalFinder > const & | component, | ||
unsigned | subProcessIndex | ||
) |
Definition at line 122 of file EventSetupsController.cc.
References essources_, and edm::ParameterSet::id().
Referenced by edm::eventsetup::SourceMakerTraits::putComponent().
|
private |
Definition at line 147 of file EventSetupsController.h.
Referenced by clearComponents(), esproducers(), getESProducerAndRegisterProcess(), getESProducerPSet(), isFirstMatch(), isLastMatch(), isMatchingESProducer(), lookForMatches(), and putESProducer().
|
private |
Definition at line 148 of file EventSetupsController.h.
Referenced by clearComponents(), essources(), getESSourceAndRegisterProcess(), isMatchingESSource(), and putESSource().
|
private |
Definition at line 150 of file EventSetupsController.h.
Referenced by eventSetupForInstance(), and mustFinishConfiguration().
|
private |
Definition at line 135 of file EventSetupsController.h.
Referenced by checkESProducerSharing(), eventSetupForInstance(), forceCacheClear(), indexOfNextProcess(), makeProvider(), and providers().