#include <MVATrainerContainerSave.h>
Definition at line 17 of file MVATrainerContainerSave.h.
PhysicsTools::MVATrainerContainerSave::MVATrainerContainerSave |
( |
const edm::ParameterSet & |
params | ) |
|
|
explicit |
void PhysicsTools::MVATrainerContainerSave::endJob |
( |
void |
| ) |
|
|
virtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 67 of file MVATrainerContainerSave.cc.
References cond::service::PoolDBOutputService::beginOfTime(), calib, cond::service::PoolDBOutputService::createNewIOV(), cond::service::PoolDBOutputService::endOfTime(), getRecordName(), edm::Service< T >::isAvailable(), and saved.
72 edm::LogInfo(
"MVATrainerSave") <<
"Saving calibration data in CondDB.";
77 <<
"DBService unavailable" << std::endl;
79 dbService->
createNewIOV<Calibration::MVAComputerContainer>(
cond::Time_t beginOfTime() const
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
cond::Time_t endOfTime() const
virtual std::string PhysicsTools::MVATrainerContainerSave::getRecordName |
( |
| ) |
const |
|
protectedpure virtual |
bool PhysicsTools::MVATrainerContainerSave::saved |
|
private |
std::vector<std::string> PhysicsTools::MVATrainerContainerSave::toCopy |
|
private |
std::vector<std::string> PhysicsTools::MVATrainerContainerSave::toPut |
|
private |