CMS 3D CMS Logo

Public Member Functions

PhysicsTools::MVATrainerLooperImpl< Record_t > Class Template Reference

#include <MVATrainerLooperImpl.h>

Inheritance diagram for PhysicsTools::MVATrainerLooperImpl< Record_t >:
PhysicsTools::MVATrainerLooper edm::ESProducerLooper edm::ESProducer edm::EventSetupRecordIntervalFinder edm::EDLooper edm::ESProxyFactoryProducer edm::EDLooperBase edm::eventsetup::DataProxyProvider

List of all members.

Public Member Functions

 MVATrainerLooperImpl (const edm::ParameterSet &params)
boost::shared_ptr
< Calibration::MVAComputer
produce (const Record_t &record)
virtual ~MVATrainerLooperImpl ()

Detailed Description

template<class Record_t>
class PhysicsTools::MVATrainerLooperImpl< Record_t >

Definition at line 19 of file MVATrainerLooperImpl.h.


Constructor & Destructor Documentation

template<class Record_t >
PhysicsTools::MVATrainerLooperImpl< Record_t >::MVATrainerLooperImpl ( const edm::ParameterSet params) [inline]

Definition at line 21 of file MVATrainerLooperImpl.h.

References PhysicsTools::MVATrainerLooper::addTrainer(), and edm::ESProducer::setWhatProduced().

                                                            :
                MVATrainerLooper(params)
        {
                setWhatProduced(this, "trainer");
                addTrainer(new Trainer(params));
        }
template<class Record_t >
virtual PhysicsTools::MVATrainerLooperImpl< Record_t >::~MVATrainerLooperImpl ( ) [inline, virtual]

Definition at line 28 of file MVATrainerLooperImpl.h.

{}

Member Function Documentation

template<class Record_t >
boost::shared_ptr<Calibration::MVAComputer> PhysicsTools::MVATrainerLooperImpl< Record_t >::produce ( const Record_t &  record) [inline]

Definition at line 31 of file MVATrainerLooperImpl.h.

References begin, and PhysicsTools::MVATrainerLooper::getTrainers().

        { return (*getTrainers().begin())->getCalibration(); }