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_;
77 std::shared_ptr<EventSetupProvider> makeProvider(
ParameterSet&);
79 void eventSetupForInstance(
IOVSyncValue const& syncValue);
81 void forceCacheClear()
const;
83 std::shared_ptr<DataProxyProvider> getESProducerAndRegisterProcess(
ParameterSet const&
pset,
unsigned subProcessIndex);
84 void putESProducer(
ParameterSet const& pset, std::shared_ptr<DataProxyProvider>
const& component,
unsigned subProcessIndex);
86 std::shared_ptr<EventSetupRecordIntervalFinder> getESSourceAndRegisterProcess(
ParameterSet const& pset,
unsigned subProcessIndex);
87 void putESSource(
ParameterSet const& pset, std::shared_ptr<EventSetupRecordIntervalFinder>
const& component,
unsigned subProcessIndex);
89 void clearComponents();
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;
118 std::vector<std::shared_ptr<EventSetupProvider> >
const&
providers()
const {
return providers_; }
120 std::multimap<ParameterSetID, ESProducerInfo>
const&
esproducers()
const {
return esproducers_; }
122 std::multimap<ParameterSetID, ESSourceInfo>
const&
essources()
const {
return essources_; }
131 void checkESProducerSharing();
134 std::vector<std::shared_ptr<EventSetupProvider> >
providers_;
std::shared_ptr< EventSetupRecordIntervalFinder > const & finder() const
std::vector< unsigned > const & subProcessIndexes() const
std::vector< unsigned > subProcessIndexes_
ParameterSet const * pset() const
std::vector< unsigned > & subProcessIndexes()
std::multimap< ParameterSetID, ESSourceInfo > const & essources() const
std::vector< unsigned > & subProcessIndexes()
std::vector< unsigned > const & subProcessIndexes() const
std::multimap< ParameterSetID, ESProducerInfo > esproducers_
bool mustFinishConfiguration_
std::multimap< ParameterSetID, ESProducerInfo > const & esproducers() const
unsigned indexOfNextProcess() const
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
ParameterSet const * pset_
ParameterSet const * pset_
ESSourceInfo(ParameterSet const *ps, std::shared_ptr< EventSetupRecordIntervalFinder > const &fi)
std::vector< unsigned > subProcessIndexes_
std::vector< std::shared_ptr< EventSetupProvider > > providers_
ParameterSet const * pset() const