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;
#define DEFINE_FWK_MODULE(type)
cond::Time_t beginOfTime() const
Log< level::Error, false > LogError
void createOneIOV(const T &payload, cond::Time_t firstSinceTime, const std::string &recordName)
T getUntrackedParameter(std::string const &, T const &) const
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)
cond::Time_t currentTime() const
std::vector< int > identifiers
Log< level::Warning, true > LogPrint
std::unique_ptr< BaseFunction > corrector_
~DBWriter() override=default
std::vector< double > parameters
DBWriter(const edm::ParameterSet &)