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";
#define DEFINE_FWK_MODULE(type)
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
bool getData(T &iHolder) const
SiStripApvSimulationParametersBuilder(const edm::ParameterSet &iConfig)
~SiStripApvSimulationParametersBuilder() override