1 #ifndef PhysicsTools_MVATrainer_MVATrainerLooperImpl_h
2 #define PhysicsTools_MVATrainer_MVATrainerLooperImpl_h
7 #include <boost/shared_ptr.hpp>
16 namespace PhysicsTools {
18 template<
class Record_t>
30 boost::shared_ptr<Calibration::MVAComputer>
35 template<
class Record_t>
46 std::vector<edm::ParameterSet>
trainers =
50 for(std::vector<edm::ParameterSet>::const_iterator
iter =
51 trainers.begin();
iter != trainers.end();
iter++)
63 boost::shared_ptr<MVATrainerContainer> trainerCalib(
67 bool untrained =
false;
94 trainedESLabel(trainerCalib);
97 edm::es::l<kTrained>(trainedCalib));
106 "calibrationRecord")) {}
114 #endif // PhysicsTools_MVATrainer_MVATrainerLooperImpl_h
T getParameter(std::string const &) const
Label label(const std::string &iString, int iIndex)
void setWhatProduced(T *iThis, const es::Label &iLabel=es::Label())
MVATrainerComputer * calib
ESProducts< T, S > products(const T &i1, const S &i2)