|
|
Go to the documentation of this file. 1 #ifndef FWCore_Framework_EventSetupsController_h
2 #define FWCore_Framework_EventSetupsController_h
29 #include "tbb/task_arena.h"
41 namespace eventsetup {
43 class DataProxyProvider;
44 class EventSetupProvider;
92 unsigned int maxConcurrentIOVs = 0,
93 bool dumpOptions =
false);
110 std::vector<std::shared_ptr<const EventSetupImpl>>&);
117 unsigned subProcessIndex);
119 std::shared_ptr<DataProxyProvider>
const& component,
120 unsigned subProcessIndex);
123 unsigned subProcessIndex);
125 std::shared_ptr<EventSetupRecordIntervalFinder>
const& component,
126 unsigned subProcessIndex);
134 unsigned subProcessIndex,
135 unsigned precedingProcessIndex,
136 bool& firstProcessWithThisPSet,
137 bool& precedingHasMatchingPSet)
const;
144 unsigned subProcessIndex,
145 unsigned precedingProcessIndex)
const;
148 unsigned subProcessIndex,
149 unsigned precedingProcessIndex)
const;
153 std::vector<propagate_const<std::shared_ptr<EventSetupProvider>>>
const&
providers()
const {
return providers_; }
168 std::vector<propagate_const<std::shared_ptr<EventSetupProvider>>>
providers_;
193 tbb::task_group& iGroup,
std::vector< unsigned > subProcessIndexes_
void eventSetupForInstanceAsync(IOVSyncValue const &, WaitingTaskHolder const &taskToStartAfterIOVInit, WaitingTaskList &endIOVWaitingTasks, std::vector< std::shared_ptr< const EventSetupImpl >> &)
EventSetupRecordIntervalFinder const * finderGet() const
std::multimap< ParameterSetID, ESSourceInfo > const & essources() const
tbb::task_arena taskArena_
void synchronousEventSetupForInstance(IOVSyncValue const &syncValue, tbb::task_group &iGroup, eventsetup::EventSetupsController &espController)
std::vector< propagate_const< std::shared_ptr< EventSetupProvider > > > const & providers() const
std::multimap< ParameterSetID, ESProducerInfo > const & esproducers() const
std::vector< propagate_const< std::unique_ptr< EventSetupRecordIOVQueue > > > eventSetupRecordIOVQueues_
void putESSource(ParameterSet const &pset, std::shared_ptr< EventSetupRecordIntervalFinder > const &component, unsigned subProcessIndex)
bool isLastMatch(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
ParameterSet const * getESProducerPSet(ParameterSetID const &psetID, unsigned subProcessIndex) const
ParameterSet const * pset_
void lookForMatches(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex, bool &firstProcessWithThisPSet, bool &precedingHasMatchingPSet) const
ESProducerInfo(ParameterSet const *ps, std::shared_ptr< DataProxyProvider > const &pr)
std::vector< unsigned > & subProcessIndexes()
EventSetupsController const & operator=(EventSetupsController const &)=delete
propagate_const< std::shared_ptr< EventSetupRecordIntervalFinder > > finder_
propagate_const< std::shared_ptr< DataProxyProvider > > provider_
ParameterSet const * pset() const
std::vector< propagate_const< std::shared_ptr< EventSetupProvider > > > providers_
std::multimap< ParameterSetID, ESSourceInfo > essources_
std::vector< unsigned > subProcessIndexes_
std::shared_ptr< DataProxyProvider > const & provider()
NumberOfConcurrentIOVs numberOfConcurrentIOVs_
std::vector< unsigned > const & subProcessIndexes() const
void checkESProducerSharing()
bool mustFinishConfiguration() const
std::vector< unsigned > const & subProcessIndexes() const
void putESProducer(ParameterSet const &pset, std::shared_ptr< DataProxyProvider > const &component, unsigned subProcessIndex)
bool isMatchingESSource(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
unsigned indexOfNextProcess() const
constexpr T & get_underlying(propagate_const< T > &)
bool hasNonconcurrentFinder_
bool isMatchingESProducer(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
void finishConfiguration()
std::shared_ptr< DataProxyProvider > getESProducerAndRegisterProcess(ParameterSet const &pset, unsigned subProcessIndex)
void endIOVsAsync(edm::WaitingTaskHolder iEndTask)
std::shared_ptr< EventSetupRecordIntervalFinder > getESSourceAndRegisterProcess(ParameterSet const &pset, unsigned subProcessIndex)
std::shared_ptr< EventSetupRecordIntervalFinder > const & finder()
bool hasNonconcurrentFinder() const
std::vector< unsigned > & subProcessIndexes()
ParameterSet const * pset_
std::shared_ptr< EventSetupProvider > makeProvider(ParameterSet &, ActivityRegistry *, ParameterSet const *eventSetupPset=nullptr, unsigned int maxConcurrentIOVs=0, bool dumpOptions=false)
void initializeEventSetupRecordIOVQueues()
bool mustFinishConfiguration_
bool isFirstMatch(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
std::multimap< ParameterSetID, ESProducerInfo > esproducers_
DataProxyProvider const * providerGet() const
ParameterSet const * pset() const
bool doWeNeedToWaitForIOVsToFinish(IOVSyncValue const &) const
ESSourceInfo(ParameterSet const *ps, std::shared_ptr< EventSetupRecordIntervalFinder > const &fi)