68 pluginManager =
gROOT->GetPluginManager();
71 if(jobName==
"" && methodTitle==
"") {
72 myMethodTitle = theOption.
Copy();
75 myMethodTitle.
Remove(firstPoint,myMethodTitle.
Length() - firstPoint);
76 myMethodTitle.
Remove(0,firstUnderscore-1);
78 else myMethodTitle = methodTitle;
79 pluginHandler = pluginManager->
FindHandler(
"TMVA@@MethodBase", myMethodTitle);
82 std::cerr <<
"Couldn't find plugin handler for TMVA@@MethodBase and " << methodTitle << std::endl;
87 if(jobName==
"" && methodTitle==
"") {
100 struct registration {
static Roo_reg_AGKInteg1D instance
static ClassifierFactory & Instance()
access to the ClassifierFactory singleton creates the instance if needed
Bool_t Register(const std::string &name, Creator creator)
registers a classifier creator function under the method type name
Class that contains all the data information.
Interface for all concrete MVA method implementations.
static Types & Instance()
The single instance of "Types" if existing already, or create it (Singleton)
Bool_t AddTypeMapping(Types::EMVA method, const TString &methodname)
Longptr_t ExecPlugin(int nargs)
Int_t LoadPlugin()
Load the plugin library for this handler.
This class implements a plugin library manager.
TPluginHandler * FindHandler(const char *base, const char *uri=nullptr)
Returns the handler if there exists a handler for the specified URI.
TString Copy() const
Copy a string.
Ssiz_t First(char c) const
Find first occurrence of a character c.
Ssiz_t Last(char c) const
Find last occurrence of a character c.
TString & Remove(Ssiz_t pos)