24 if (mydbservice.isAvailable()) {
25 if (mydbservice->isNewTagRequest(
"SiStripApvSimulationParametersRcd")) {
27 *
obj, mydbservice->beginOfTime(),
"SiStripApvSimulationParametersRcd");
30 *
obj, mydbservice->currentTime(),
"SiStripApvSimulationParametersRcd");
33 edm::LogError(
"SiStripApvSimulationParametersBuilder") <<
"Service is unavailable";
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
Log< level::Error, false > LogError
void createOneIOV(const T &payload, cond::Time_t firstSinceTime, const std::string &recordName)
const edm::ESGetToken< SiStripApvSimulationParameters, SiStripApvSimulationParametersRcd > m_parametersToken
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
SiStripApvSimulationParametersBuilder(const edm::ParameterSet &iConfig)
~SiStripApvSimulationParametersBuilder() override