#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(), jets_cff::payload, record, cms::Exception::what(), and cond::service::PoolDBOutputService::writeOne().
Referenced by DTLocalTriggerSynchTest::dqmEndJob(), DTTPGParamsWriter::endJob(), DTTTrigOffsetCalibration::endJob(), DTT0CalibrationRMS::endJob(), DTTTrigWriter::endJob(), DTTPDeadWriter::endJob(), DTTTrigCalibration::endJob(), and DTT0Calibration::endJob().