34 return std::make_unique<ESTestDataA>(
value_);
52 return std::make_unique<ESTestDataB>(
value_);
85 throw cms::Exception(
"TestError") <<
"Either function numberOfRecordTypes or index returns incorrect value";
109 return std::make_unique<ESTestDataC>(
value_);
127 return std::make_unique<ESTestDataD>(
value_);
145 return std::make_unique<ESTestDataE>(
value_);
163 return std::make_unique<ESTestDataF>(
value_);
181 return std::make_unique<ESTestDataG>(
value_);
199 return std::make_unique<ESTestDataH>(
value_);
217 return std::make_unique<ESTestDataI>(
value_);
235 return std::make_unique<ESTestDataJ>(
value_);
253 return std::make_unique<ESTestDataK>(
value_);
276 return std::make_unique<ESTestDataA>(
valueA_);
281 return std::make_unique<ESTestDataZ>(
valueZ_);
296 throw cms::Exception(
"TestError") <<
"TestESProductResolverTemplateJ::make, unexpected cacheIdentifier";
319 std::vector<std::shared_ptr<TestESProductResolverTemplateJ>>
proxies_;
324 : expectedCacheIds_(
pset.getUntrackedParameter<
std::
vector<unsigned
int>>(
"expectedCacheIds")) {
325 usingRecord<ESTestRecordJ>();
330 std::vector<unsigned int> emptyDefaultVector;
331 desc.addUntracked<std::vector<unsigned int>>(
"expectedCacheIds", emptyDefaultVector);
338 while (iovIndex >=
proxies_.size()) {
342 keyedResolversVector.emplace_back(dataKey,
proxies_[iovIndex]);
343 return keyedResolversVector;
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
ESTestProducerJ(edm::ParameterSet const &)
ESTestProducerE(edm::ParameterSet const &)
ESTestProducerAZ(edm::ParameterSet const &)
TestESProductResolverTemplateJ(std::vector< unsigned int > const *expectedCacheIds)
ESTestProducerF(edm::ParameterSet const &)
ESTestProducerI(edm::ParameterSet const &)
std::unique_ptr< ESTestDataA > produceA(ESTestRecordA const &)
ESTestProducerB(edm::ParameterSet const &)
ESTestProducerH(edm::ParameterSet const &)
std::unique_ptr< ESTestDataD > produce(ESTestRecordD const &)
std::unique_ptr< ESTestDataA > produce(ESTestRecordA const &)
std::unique_ptr< ESTestDataJ > produce(ESTestRecordJ const &)
unsigned long long cacheIdentifier() const
static void fillDescriptions(edm::ConfigurationDescriptions &)
edm::ReusableObjectHolder< HostType > holder_
std::unique_ptr< ESTestDataE > produce(ESTestRecordE const &)
ESTestProducerA(edm::ParameterSet const &pset)
const ESTestDataJ * make(const ESTestRecordJ &record, const edm::eventsetup::DataKey &key) override
void const * getAfterPrefetchImpl() const override
std::unique_ptr< ESTestDataH > produce(ESTestRecordH const &)
std::unique_ptr< ESTestDataG > produce(ESTestRecordG const &)
std::unique_ptr< ESTestDataK > produce(ESTestRecordK const &)
void addDefault(ParameterSetDescription const &psetDescription)
std::unique_ptr< ESTestDataF > produce(ESTestRecordF const &)
std::unique_ptr< ESTestDataZ > produceZ(ESTestRecordZ const &)
std::unique_ptr< ESTestDataI > produce(ESTestRecordI const &)
ESTestProducerBUsingHost(edm::ParameterSet const &)
ESTestProducerD(edm::ParameterSet const &)
#define DEFINE_FWK_EVENTSETUP_MODULE(type)
std::shared_ptr< T > makeOrGet(FM &&iMakeFunc)
Takes an object from the queue if one is available, or creates one using iMakeFunc.
std::unique_ptr< ESTestDataB > produce(ESTestRecordB const &)
std::vector< unsigned > expectedCacheIds_
std::optional< edmtest::ESTestDataA > produce(ESTestRecordA const &rec)
KeyedResolversVector registerResolvers(const edm::eventsetup::EventSetupRecordKey &, unsigned int iovIndex) override
std::vector< std::pair< DataKey, std::shared_ptr< ESProductResolver > >> KeyedResolversVector
std::vector< std::shared_ptr< TestESProductResolverTemplateJ > > proxies_
void invalidateCache() override
ESTestESProductResolverProviderJ(edm::ParameterSet const &)
edm::ESProductHost< ESTestDataB, ESTestRecordC, ESTestRecordD, ESTestRecordE, ESTestRecordF, ESTestRecordG, ESTestRecordH > HostType
ESTestProducerA(edm::ParameterSet const &pset)
ESTestProducerC(edm::ParameterSet const &)
ESTestProducerG(edm::ParameterSet const &)
std::optional< edmtest::ESTestDataA > produce(ESTestRecordA const &rec)
ESTestProducerK(edm::ParameterSet const &)
std::shared_ptr< ESTestDataB > produce(ESTestRecordB const &)
The Signals That Services Can Subscribe To This is based on ActivityRegistry h
Helper function to determine trigger accepts.
std::unique_ptr< ESTestDataC > produce(ESTestRecordC const &)
std::vector< unsigned > const * expectedCacheIds_
ESTestProducerA(edm::ParameterSet const &)