60 <<
"cond::Time_t ilumi = " << ilumi <<
" = " 66 poolDbService->
writeOneIOV(beamParam, ilumi,
"CTPPSBeamParametersRcd");
68 throw std::runtime_error(
"PoolDBService required.");
void analyze(const edm::Event &, const edm::EventSetup &) override
LuminosityBlockNumber_t luminosityBlock() const
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
WriteCTPPSBeamParameters(const edm::ParameterSet &)
edm::ESGetToken< CTPPSBeamParameters, CTPPSBeamParametersRcd > tokenBeamParameters_
~WriteCTPPSBeamParameters() override=default
unsigned long long Time_t
Hash writeOneIOV(const T &payload, Time_t time, const std::string &recordName)
#define DEFINE_FWK_MODULE(type)
Log< level::Info, false > LogInfo
LuminosityBlockID id() const
boost::posix_time::ptime to_boost(Time_t iValue)