12 #ifndef ROOT_TTreeDrawArgsParser 13 #define ROOT_TTreeDrawArgsParser ~TTreeDrawArgsParser()
Destructor.
Bool_t ParseVarExp()
Split variables and parse name and parameters in brackets.
TString GetVarExp() const
Returns the variable string, i.e. [var1[:var2[:var2[:var4]]]].
Bool_t SplitVariables(TString variables)
Parse expression [var1 [:var2 [:var3] ...]], number of variables cannot be greater than fgMaxDimensio...
static Int_t fgMaxParameters
Int_t GetNoParameters() const
Bool_t fParameterGiven[9]
Bool_t GetShouldDraw() const
Bool_t ParseOption()
Check if options contain some data important for choosing the type of the drawn object.
Double_t GetIfSpecified(Int_t num, Double_t def) const
static Int_t fgMaxDimension
Bool_t GetOptionSame() const
void SetObjectName(const char *s)
TString GetSelection() const
TString GetObjectName() const
#define ClassDef(name, id)
TTreeDrawArgsParser::EOutputType DefineType()
Put the type of the draw result into fOutputType and return it.
TString GetObjectTitle() const
Returns the desired plot title.
TString GetProofSelectorName() const
Returns apropriate TSelector class name for proof for the object that is to be drawn assumes that Par...
static Int_t GetMaxDimension()
return fgMaxDimension (cannot be inline)
Double_t GetParameter(int num) const
returns num-th parameter from brackets in the expression in case of an error (wrong number) returns 0...
Bool_t ParseName(TString name)
Syntax:
void SetOriginal(TObject *o)
void ClearPrevious()
Resets all the variables of the class.
Int_t GetDimension() const
A class that parses all parameters for TTree::Draw().
Mother of all ROOT objects.
TObject * GetOriginal() const
Bool_t Parse(const char *varexp, const char *selection, Option_t *option)
Parses parameters from TTree::Draw().
void variables(TString dataset, TString fin="TMVA.root", TString dirName="InputVariables_Id", TString title="TMVA Input Variables", Bool_t isRegression=kFALSE, Bool_t useTMVAStyle=kTRUE)
Bool_t IsSpecified(int num) const
returns kTRUE if the num-th parameter was specified otherwise returns fFALSE in case of an error (wro...
TTreeDrawArgsParser()
Constructor - cleans all the class variables.