35 else if (type ==
"resolution")
37 else if (type ==
"background")
40 edm::LogPrint(
"DBWriter") <<
"Error: unrecognized type. Use one of those: 'scale', 'resolution', 'background'"
78 edm::LogError(
"DBWriter") <<
"Service is unavailable" << std::endl;
T getUntrackedParameter(std::string const &, T const &) const
#define DEFINE_FWK_MODULE(type)
Log< level::Error, false > LogError
void createOneIOV(const T &payload, cond::Time_t firstSinceTime, const std::string &recordName)
void analyze(const edm::Event &, const edm::EventSetup &) override
void appendOneIOV(const T &payload, cond::Time_t sinceTime, const std::string &recordName)
bool isNewTagRequest(const std::string &recordName)
std::vector< int > identifiers
cond::Time_t beginOfTime() const
Log< level::Warning, true > LogPrint
std::unique_ptr< BaseFunction > corrector_
cond::Time_t currentTime() const
~DBWriter() override=default
std::vector< double > parameters
DBWriter(const edm::ParameterSet &)