|
|
Go to the documentation of this file. 1 #ifndef FWCore_Framework_EventSetupsController_h
2 #define FWCore_Framework_EventSetupsController_h
40 namespace eventsetup {
42 class DataProxyProvider;
43 class EventSetupProvider;
109 std::vector<std::shared_ptr<const EventSetupImpl>>&);
119 unsigned subProcessIndex);
121 std::shared_ptr<DataProxyProvider>
const& component,
122 unsigned subProcessIndex);
125 unsigned subProcessIndex);
127 std::shared_ptr<EventSetupRecordIntervalFinder>
const& component,
128 unsigned subProcessIndex);
136 unsigned subProcessIndex,
137 unsigned precedingProcessIndex,
138 bool& firstProcessWithThisPSet,
139 bool& precedingHasMatchingPSet)
const;
146 unsigned subProcessIndex,
147 unsigned precedingProcessIndex)
const;
150 unsigned subProcessIndex,
151 unsigned precedingProcessIndex)
const;
155 std::vector<propagate_const<std::shared_ptr<EventSetupProvider>>>
const&
providers()
const {
return providers_; }
169 std::vector<propagate_const<std::shared_ptr<EventSetupProvider>>>
providers_;
std::vector< unsigned > subProcessIndexes_
void eventSetupForInstance(IOVSyncValue const &, WaitingTaskHolder const &taskToStartAfterIOVInit, WaitingTaskList &endIOVWaitingTasks, std::vector< std::shared_ptr< const EventSetupImpl >> &)
std::shared_ptr< EventSetupProvider > makeProvider(ParameterSet &, ActivityRegistry *, ParameterSet const *eventSetupPset=nullptr)
EventSetupRecordIntervalFinder const * finderGet() const
std::multimap< ParameterSetID, ESSourceInfo > const & essources() const
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_
void setMaxConcurrentIOVs(unsigned int nStreams, unsigned int nConcurrentLumis)
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)
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_
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)