62 edm::LogInfo(
"WriteCTPPSBeamParameters::analyze") <<
"cond::Time_t ilumi = " << ilumi
68 poolDbService->
writeOne( p, ilumi,
"CTPPSBeamParametersRcd" );
71 throw std::runtime_error(
"PoolDBService required.");
LuminosityBlockID id() const
void analyze(const edm::Event &, const edm::EventSetup &) override
WriteCTPPSBeamParameters(const edm::ParameterSet &)
~WriteCTPPSBeamParameters() override=default
#define DEFINE_FWK_MODULE(type)
unsigned long long Time_t
void writeOne(T *payload, Time_t time, const std::string &recordName, bool withlogging=false)
LuminosityBlock const & getLuminosityBlock() const
LuminosityBlockNumber_t luminosityBlock() const
T const * product() const
boost::posix_time::ptime to_boost(Time_t iValue)