#include <MVATrainerSaveImpl.h>
Public Member Functions | |
MVATrainerContainerSaveImpl (const edm::ParameterSet ¶ms) | |
Protected Member Functions | |
virtual std::string | getRecordName () const |
virtual const Calibration::MVAComputerContainer * | getToCopy (const edm::EventSetup &es) const |
virtual const Calibration::MVAComputerContainer * | getToPut (const edm::EventSetup &es) const |
Definition at line 41 of file MVATrainerSaveImpl.h.
PhysicsTools::MVATrainerContainerSaveImpl< Record_t >::MVATrainerContainerSaveImpl | ( | const edm::ParameterSet & | params | ) | [inline, explicit] |
Definition at line 43 of file MVATrainerSaveImpl.h.
: MVATrainerContainerSave(params) {}
virtual std::string PhysicsTools::MVATrainerContainerSaveImpl< Record_t >::getRecordName | ( | ) | const [inline, protected, virtual] |
Implements PhysicsTools::MVATrainerContainerSave.
Definition at line 63 of file MVATrainerSaveImpl.h.
{ return Record_t::keyForClass().type().name(); }
virtual const Calibration::MVAComputerContainer* PhysicsTools::MVATrainerContainerSaveImpl< Record_t >::getToCopy | ( | const edm::EventSetup & | es | ) | const [inline, protected, virtual] |
Implements PhysicsTools::MVATrainerContainerSave.
Definition at line 56 of file MVATrainerSaveImpl.h.
References edm::EventSetup::get(), patZpeak::handle, and edm::ESHandle< T >::product().
{ edm::ESHandle<Calibration::MVAComputerContainer> handle; es.get<Record_t>().get(handle); return handle.product(); }
virtual const Calibration::MVAComputerContainer* PhysicsTools::MVATrainerContainerSaveImpl< Record_t >::getToPut | ( | const edm::EventSetup & | es | ) | const [inline, protected, virtual] |
Implements PhysicsTools::MVATrainerContainerSave.
Definition at line 48 of file MVATrainerSaveImpl.h.
References edm::EventSetup::get(), patZpeak::handle, and edm::ESHandle< T >::product().
{ edm::ESHandle<Calibration::MVAComputerContainer> handle; es.get<Record_t>().get("trained", handle); return handle.product(); }