1 #ifndef FWCore_Framework_EventSetupsController_h
2 #define FWCore_Framework_EventSetupsController_h
23 #include <boost/shared_ptr.hpp>
34 namespace eventsetup {
42 boost::shared_ptr<DataProxyProvider>
const& pr) :
59 boost::shared_ptr<EventSetupRecordIntervalFinder>
const& fi) :
63 boost::shared_ptr<EventSetupRecordIntervalFinder>
const&
finder()
const {
return finder_; }
69 boost::shared_ptr<EventSetupRecordIntervalFinder>
finder_;
85 void putESProducer(
ParameterSet const& pset, boost::shared_ptr<DataProxyProvider>
const& component,
unsigned subProcessIndex);
88 void putESSource(
ParameterSet const& pset, boost::shared_ptr<EventSetupRecordIntervalFinder>
const& component,
unsigned subProcessIndex);
95 unsigned subProcessIndex,
96 unsigned precedingProcessIndex,
97 bool& firstProcessWithThisPSet,
98 bool& precedingHasMatchingPSet)
const;
101 unsigned subProcessIndex,
102 unsigned precedingProcessIndex)
const;
105 unsigned subProcessIndex,
106 unsigned precedingProcessIndex)
const;
109 unsigned subProcessIndex,
110 unsigned precedingProcessIndex)
const;
113 unsigned subProcessIndex,
114 unsigned precedingProcessIndex)
const;
117 unsigned subProcessIndex)
const;
135 std::vector<boost::shared_ptr<EventSetupProvider> >
providers_;
boost::shared_ptr< DataProxyProvider > provider_
boost::shared_ptr< EventSetupRecordIntervalFinder > finder_
void lookForMatches(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex, bool &firstProcessWithThisPSet, bool &precedingHasMatchingPSet) const
std::vector< unsigned > const & subProcessIndexes() const
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()
std::vector< boost::shared_ptr< EventSetupProvider > > const & providers() const
std::multimap< ParameterSetID, ESSourceInfo > const & essources() const
std::vector< unsigned > & subProcessIndexes()
std::vector< unsigned > const & subProcessIndexes() const
std::multimap< ParameterSetID, ESProducerInfo > esproducers_
bool isLastMatch(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
bool mustFinishConfiguration_
void putESSource(ParameterSet const &pset, boost::shared_ptr< EventSetupRecordIntervalFinder > const &component, unsigned subProcessIndex)
ESSourceInfo(ParameterSet const *ps, boost::shared_ptr< EventSetupRecordIntervalFinder > const &fi)
boost::shared_ptr< EventSetupRecordIntervalFinder > const & finder() const
ParameterSet const * getESProducerPSet(ParameterSetID const &psetID, unsigned subProcessIndex) const
std::multimap< ParameterSetID, ESProducerInfo > const & esproducers() const
void putESProducer(ParameterSet const &pset, boost::shared_ptr< DataProxyProvider > const &component, unsigned subProcessIndex)
void eventSetupForInstance(IOVSyncValue const &syncValue)
boost::shared_ptr< DataProxyProvider > getESProducerAndRegisterProcess(ParameterSet const &pset, unsigned subProcessIndex)
unsigned indexOfNextProcess() const
std::multimap< ParameterSetID, ESSourceInfo > essources_
bool mustFinishConfiguration() const
boost::shared_ptr< EventSetupRecordIntervalFinder > getESSourceAndRegisterProcess(ParameterSet const &pset, unsigned subProcessIndex)
void forceCacheClear() const
std::vector< boost::shared_ptr< EventSetupProvider > > providers_
ParameterSet const * pset_
ParameterSet const * pset_
boost::shared_ptr< EventSetupProvider > makeProvider(ParameterSet &)
std::vector< unsigned > subProcessIndexes_
EventSetupsController const & operator=(EventSetupsController const &)
ESProducerInfo(ParameterSet const *ps, boost::shared_ptr< DataProxyProvider > const &pr)
bool isMatchingESSource(ParameterSetID const &psetID, unsigned subProcessIndex, unsigned precedingProcessIndex) const
boost::shared_ptr< DataProxyProvider > const & provider() const
ParameterSet const * pset() const