1 #ifndef PhysicsTools_MVATrainer_MVATrainerLooperImpl_h
2 #define PhysicsTools_MVATrainer_MVATrainerLooperImpl_h
14 namespace PhysicsTools {
16 template<
class Record_t>
28 std::shared_ptr<Calibration::MVAComputer>
33 template<
class Record_t>
44 std::vector<edm::ParameterSet>
trainers =
48 for(std::vector<edm::ParameterSet>::const_iterator iter =
49 trainers.begin(); iter != trainers.end(); iter++)
61 std::shared_ptr<MVATrainerContainer> trainerCalib(
65 bool untrained =
false;
92 trainedESLabel(trainerCalib);
95 edm::es::l<kTrained>(trainedCalib));
104 "calibrationRecord")) {}
112 #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)