#include <PhysicsTools/MVATrainer/interface/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.
00043 : 00044 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.
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(), and edm::ESHandle< T >::product().
00057 { 00058 edm::ESHandle<Calibration::MVAComputerContainer> handle; 00059 es.get<Record_t>().get(handle); 00060 return handle.product(); 00061 }
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(), and edm::ESHandle< T >::product().
00049 { 00050 edm::ESHandle<Calibration::MVAComputerContainer> handle; 00051 es.get<Record_t>().get("trained", handle); 00052 return handle.product(); 00053 }