#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 16 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 29 of file DTCalibDBUtils.h.
References cond::service::PoolDBOutputService::beginOfTime(), gather_cfg::cout, cond::service::PoolDBOutputService::currentTime(), cmsCodeRules.cppFunctionSkipper::exception, edm::Service< T >::isAvailable(), cond::service::PoolDBOutputService::isNewTagRequest(), record, cms::Exception::what(), and cond::service::PoolDBOutputService::writeOne().
Referenced by DTTTrigOffsetCalibration::endJob(), DTTTrigWriter::endJob(), DTT0Calibration::endJob(), DTTPDeadWriter::endJob(), DTT0CalibrationNew::endJob(), DTTTrigCalibration::endJob(), and DTLocalTriggerSynchTest::endJob().