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