#include <DTCalibDBUtils.h>
Public Member Functions | |
DTCalibDBUtils () | |
Constructor. More... | |
virtual | ~DTCalibDBUtils () |
Destructor. More... | |
Static Public Member Functions | |
template<typename T > | |
static void | writeToDB (std::string record, T *payload) |
Simple interface to PoolDBOutputService to write objects to DB.
Definition at line 15 of file DTCalibDBUtils.h.
DTCalibDBUtils::DTCalibDBUtils | ( | ) |
Constructor.
|
virtual |
Destructor.
|
inlinestatic |
Write the payload to the DB using PoolDBOutputService. New payload are created in the DB, existing payload are appended.
Definition at line 28 of file DTCalibDBUtils.h.
References cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::currentTime(), cppFunctionSkipper::exception, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), record, cms::Exception::what(), and cond::service::PoolDBOutputService::writeOne().
Referenced by DTLocalTriggerSynchTest::dqmEndJob(), DTTTrigOffsetCalibration::endJob(), DTTPGParamsWriter::endJob(), DTTTrigWriter::endJob(), DTT0Calibration::endJob(), DTTPDeadWriter::endJob(), DTT0CalibrationNew::endJob(), and DTTTrigCalibration::endJob().