1 #ifndef FWCore_Framework_EventSetupsController_h
2 #define FWCore_Framework_EventSetupsController_h
33 namespace eventsetup {
41 std::shared_ptr<DataProxyProvider>
const& pr) :
58 std::shared_ptr<EventSetupRecordIntervalFinder>
const& fi) :
62 std::shared_ptr<EventSetupRecordIntervalFinder>
const&
finder()
const {
return finder_; }
68 std::shared_ptr<EventSetupRecordIntervalFinder>
finder_;
84 void putESProducer(
ParameterSet const& pset, std::shared_ptr<DataProxyProvider>
const& component,
unsigned subProcessIndex);
87 void putESSource(
ParameterSet const& pset, std::shared_ptr<EventSetupRecordIntervalFinder>
const& component,
unsigned subProcessIndex);
94 unsigned subProcessIndex,
95 unsigned precedingProcessIndex,
96 bool& firstProcessWithThisPSet,
97 bool& precedingHasMatchingPSet)
const;
100 unsigned subProcessIndex,
101 unsigned precedingProcessIndex)
const;
104 unsigned subProcessIndex,
105 unsigned precedingProcessIndex)
const;
108 unsigned subProcessIndex,
109 unsigned precedingProcessIndex)
const;
112 unsigned subProcessIndex,
113 unsigned precedingProcessIndex)
const;
116 unsigned subProcessIndex)
const;
134 std::vector<std::shared_ptr<EventSetupProvider> >
providers_;
void lookForMatches(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex, bool &firstProcessWithThisPSet, bool &precedingHasMatchingPSet) const
std::shared_ptr< EventSetupRecordIntervalFinder > const & finder() const
std::shared_ptr< EventSetupRecordIntervalFinder > getESSourceAndRegisterProcess(ParameterSet const &pset, unsigned subProcessIndex)
std::vector< unsigned > const & subProcessIndexes() const
std::shared_ptr< EventSetupProvider > makeProvider(ParameterSet &)
bool isFirstMatch(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
std::vector< unsigned > subProcessIndexes_
ParameterSet const * pset() const
bool isMatchingESProducer(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
void checkESProducerSharing()
std::vector< unsigned > & subProcessIndexes()
void putESSource(ParameterSet const &pset, std::shared_ptr< EventSetupRecordIntervalFinder > const &component, unsigned subProcessIndex)
std::multimap< ParameterSetID, ESSourceInfo > const & essources() const
std::vector< unsigned > & subProcessIndexes()
std::vector< unsigned > const & subProcessIndexes() const
void putESProducer(ParameterSet const &pset, std::shared_ptr< DataProxyProvider > const &component, unsigned subProcessIndex)
std::multimap< ParameterSetID, ESProducerInfo > esproducers_
bool isLastMatch(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
bool mustFinishConfiguration_
ParameterSet const * getESProducerPSet(ParameterSetID const &psetID, unsigned subProcessIndex) const
std::multimap< ParameterSetID, ESProducerInfo > const & esproducers() const
void eventSetupForInstance(IOVSyncValue const &syncValue)
unsigned indexOfNextProcess() const
std::shared_ptr< DataProxyProvider > getESProducerAndRegisterProcess(ParameterSet const &pset, unsigned subProcessIndex)
std::shared_ptr< EventSetupRecordIntervalFinder > finder_
std::shared_ptr< DataProxyProvider > provider_
std::multimap< ParameterSetID, ESSourceInfo > essources_
ESProducerInfo(ParameterSet const *ps, std::shared_ptr< DataProxyProvider > const &pr)
std::shared_ptr< DataProxyProvider > const & provider() const
std::vector< std::shared_ptr< EventSetupProvider > > const & providers() const
bool mustFinishConfiguration() const
void forceCacheClear() const
ParameterSet const * pset_
ParameterSet const * pset_
ESSourceInfo(ParameterSet const *ps, std::shared_ptr< EventSetupRecordIntervalFinder > const &fi)
std::vector< unsigned > subProcessIndexes_
EventSetupsController const & operator=(EventSetupsController const &)
bool isMatchingESSource(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
std::vector< std::shared_ptr< EventSetupProvider > > providers_
ParameterSet const * pset() const