1 #ifndef PhysicsTools_MVATrainer_MVATrainerLooperImpl_h 2 #define PhysicsTools_MVATrainer_MVATrainerLooperImpl_h 16 template<
class Record_t>
28 std::shared_ptr<Calibration::MVAComputer>
33 template<
class Record_t>
42 (
"trained", kTrained));
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;
80 trainedCalib = std::make_shared<PhysicsTools::Calibration::MVAComputerContainer>(
91 edm::es::L<Calibration::MVAComputerContainer, kTrainer>
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())
ESProducts< T, S > products(const T &i1, const S &i2)