23 if (mydbservice.isAvailable()) {
24 if (mydbservice->isNewTagRequest(
"SiStripApvSimulationParametersRcd")) {
26 *
obj, mydbservice->beginOfTime(),
"SiStripApvSimulationParametersRcd");
29 *
obj, mydbservice->currentTime(),
"SiStripApvSimulationParametersRcd");
32 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