34 #ifndef ROOT_TMVA_Reader 35 #define ROOT_TMVA_Reader 116 virtual const char*
GetName()
const {
return "Reader"; }
void SetVerbose(Bool_t v)
std::map< TString, IMethod * > fMethodMap
virtual ~Reader(void)
destructor
void AddVariable(const TString &expression, Float_t *)
Add a float variable or expression to the reader.
Double_t fMvaEventErrorUpper
const std::vector< Float_t > & EvaluateRegression(const TString &methodTag, Double_t aux=0)
evaluates MVA for given set of input variables
Virtual base Class for all MVA method.
virtual const char * GetName() const
Returns name of object.
Double_t GetRarity(const TString &methodTag, Double_t mvaVal=-9999999)
evaluates the MVA's rarity
Double_t GetMVAError() const
void DecodeVarNames(const std::string &varNames)
decodes "name1:name2:..." form
TString GetMethodTypeFromFile(const TString &filename)
read the method type from the file
#define ClassDef(name, id)
DataInputHandler fDataInputHandler
Double_t GetMVAErrorUpper() const
void DeclareOptions()
declaration of configuration options
IMethod * BookMVA(const TString &methodTag, const TString &weightfile)
read method name from weight file
Double_t GetMVAErrorLower() const
Class that contains all the data information.
DataSetManager * fDataSetManager
std::vector< Float_t > fTmpEvalVec
Bool_t Verbose(void) const
Reader(const TString &theOption="", Bool_t verbose=0)
constructor
Multivariate optimisation of signal efficiency for given background efficiency, applying rectangular ...
void AddSpectator(const TString &expression, Float_t *)
Add a float spectator or expression to the reader.
Class that contains all the data information.
Double_t EvaluateMVA(const std::vector< Float_t > &, const TString &methodTag, Double_t aux=0)
Evaluate a std::vector<float> of input data for a given method The parameter aux is obligatory for th...
ostringstream derivative to redirect and format output
void Init(void)
default initialisation (no member variables)
Interface for all concrete MVA method implementations.
The Reader class serves to use the MVAs in a specific analysis context.
Abstract ClassifierFactory template that handles arbitrary types.
IMethod * FindMVA(const TString &methodTag)
return pointer to method with tag "methodTag"
const DataSetInfo & DataInfo() const
Double_t GetProba(const TString &methodTag, Double_t ap_sig=0.5, Double_t mvaVal=-9999999)
evaluates probability of MVA for given set of input variables
const std::vector< Float_t > & EvaluateMulticlass(const TString &methodTag, Double_t aux=0)
evaluates MVA for given set of input variables
MethodCuts * FindCutsMVA(const TString &methodTag)
special function for Cuts to avoid dynamic_casts in ROOT macros, which are not properly handled by CI...