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
auto setWhatProduced(T *iThis, const es::Label &iLabel={})
Label label(const std::string &iString, int iIndex)
ESProducts< std::remove_reference_t< TArgs >... > products(TArgs &&...args)