|
|
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;
107 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_; }
167 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)
T & get_underlying(propagate_const< T > &)
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
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)