1 #ifndef FWCore_Framework_EventSetupsController_h 2 #define FWCore_Framework_EventSetupsController_h 34 namespace eventsetup {
42 std::shared_ptr<DataProxyProvider>
const& pr) :
59 std::shared_ptr<EventSetupRecordIntervalFinder>
const& fi) :
63 std::shared_ptr<EventSetupRecordIntervalFinder>
const&
finder()
const {
return finder_; }
69 std::shared_ptr<EventSetupRecordIntervalFinder>
finder_;
80 void eventSetupForInstance(
IOVSyncValue const& syncValue);
82 bool isWithinValidityInterval(
IOVSyncValue const& syncValue)
const;
84 void forceCacheClear()
const;
86 std::shared_ptr<DataProxyProvider> getESProducerAndRegisterProcess(
ParameterSet const&
pset,
unsigned subProcessIndex);
87 void putESProducer(
ParameterSet const& pset, std::shared_ptr<DataProxyProvider>
const& component,
unsigned subProcessIndex);
89 std::shared_ptr<EventSetupRecordIntervalFinder> getESSourceAndRegisterProcess(
ParameterSet const& pset,
unsigned subProcessIndex);
90 void putESSource(
ParameterSet const& pset, std::shared_ptr<EventSetupRecordIntervalFinder>
const& component,
unsigned subProcessIndex);
92 void clearComponents();
97 unsigned subProcessIndex,
98 unsigned precedingProcessIndex,
99 bool& firstProcessWithThisPSet,
100 bool& precedingHasMatchingPSet)
const;
103 unsigned subProcessIndex,
104 unsigned precedingProcessIndex)
const;
107 unsigned subProcessIndex,
108 unsigned precedingProcessIndex)
const;
111 unsigned subProcessIndex,
112 unsigned precedingProcessIndex)
const;
115 unsigned subProcessIndex,
116 unsigned precedingProcessIndex)
const;
119 unsigned subProcessIndex)
const;
121 std::vector<std::shared_ptr<EventSetupProvider> >
const&
providers()
const {
return providers_; }
123 std::multimap<ParameterSetID, ESProducerInfo>
const&
esproducers()
const {
return esproducers_; }
125 std::multimap<ParameterSetID, ESSourceInfo>
const&
essources()
const {
return essources_; }
134 void checkESProducerSharing();
137 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