1 #ifndef FWCore_Framework_EventSetupsController_h 2 #define FWCore_Framework_EventSetupsController_h 34 namespace eventsetup {
61 std::shared_ptr<EventSetupRecordIntervalFinder>
const&
finder()
const {
return finder_; }
67 std::shared_ptr<EventSetupRecordIntervalFinder>
finder_;
77 void eventSetupForInstance(
IOVSyncValue const& syncValue);
79 bool isWithinValidityInterval(
IOVSyncValue const& syncValue)
const;
81 void forceCacheClear()
const;
83 std::shared_ptr<DataProxyProvider> getESProducerAndRegisterProcess(
ParameterSet const&
pset,
84 unsigned subProcessIndex);
86 std::shared_ptr<DataProxyProvider>
const& component,
87 unsigned subProcessIndex);
89 std::shared_ptr<EventSetupRecordIntervalFinder> getESSourceAndRegisterProcess(
ParameterSet const& pset,
90 unsigned subProcessIndex);
92 std::shared_ptr<EventSetupRecordIntervalFinder>
const& component,
93 unsigned subProcessIndex);
95 void finishConfiguration();
96 void clearComponents();
101 unsigned subProcessIndex,
102 unsigned precedingProcessIndex,
103 bool& firstProcessWithThisPSet,
104 bool& precedingHasMatchingPSet)
const;
106 bool isFirstMatch(
ParameterSetID const& psetID,
unsigned subProcessIndex,
unsigned precedingProcessIndex)
const;
108 bool isLastMatch(
ParameterSetID const& psetID,
unsigned subProcessIndex,
unsigned precedingProcessIndex)
const;
111 unsigned subProcessIndex,
112 unsigned precedingProcessIndex)
const;
115 unsigned subProcessIndex,
116 unsigned precedingProcessIndex)
const;
120 std::vector<std::shared_ptr<EventSetupProvider> >
const&
providers()
const {
return providers_; }
122 std::multimap<ParameterSetID, ESProducerInfo>
const&
esproducers()
const {
return esproducers_; }
124 std::multimap<ParameterSetID, ESSourceInfo>
const&
essources()
const {
return essources_; }
133 void checkESProducerSharing();
136 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