33 if (
name.BeginsWith(
"InputVariables_")) {
55 while ((key = (
TKey*)next())) {
69 if (!
gROOT->GetClass(
titkey->GetClassName())->InheritsFrom(
"TDirectory"))
continue;
75 cout <<
"--- Found directory for method: " << methodName <<
"::" << methodTitle << endl;
86 cout <<
":\t mva distribution not available (this is normal for Cut classifier)" << endl;
111 for(
Int_t i=0; i<
hists.GetEntriesFast(); ++i){
139 c->GetPad(0)->SetLeftMargin( 0.105 );
144 c->GetLeftMargin() + (
htype == kCompareType ? 0.40 : 0.3), 1 -
c->GetTopMargin() );
145 legend->SetFillStyle( 1 );
157 for(
Int_t i=0; i<
hists.GetEntriesFast(); ++i){
166 if (
htype == kCompareType) {
176 cout <<
":\t comparison histogram for overtraining check not available!" << endl;
183 1 -
c->GetRightMargin(), 1 -
c->GetTopMargin() );
216 for(
Int_t i=0; i<
hists.GetEntriesFast(); ++i){
217 ((
TH1*)
hists[i])->SetLineWidth( 1 );
223 cout <<
"--- Perform Kolmogorov-Smirnov tests" << endl;
224 cout <<
"--- Goodness of consistency for class " <<
classnames.at(
icls)<< endl;
241 frame->
Draw(
"sameaxis");
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static char * Format(const char *format, va_list ap)
Format a string in a circular formatting buffer (using a printf style format descriptor).
const_iterator begin() const
const_iterator end() const
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
TDirectory * GetDirectory(const char *apath, Bool_t printError=false, const char *funcname="GetDirectory") override
Find a directory named "apath".
Describe directory structure in memory.
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
virtual TList * GetListOfKeys() const
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
1-D histogram with a float per channel (see TH1 documentation)
TH1 is the base class of all histogram classes in ROOT.
virtual void SetMaximum(Double_t maximum=-1111)
void Draw(Option_t *option="") override
Draw this histogram with options.
virtual void SetMinimum(Double_t minimum=-1111)
Book space in a file, create I/O buffers, to fill them, (un)compress them.
virtual const char * GetClassName() const
virtual TObject * ReadObj()
To read a TObject* from the file.
This class displays a legend box (TPaveText) containing several legend entries.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
const char * Data() const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
void Initialize(Bool_t useTMVAStyle=kTRUE)
void GetMethodTitle(TString &name, TKey *ikey)
void plot_logo(Float_t v_scale=1.0, Float_t skew=1.0)
TFile * OpenFile(const TString &fin)
void SetFrameStyle(TH1 *frame, Float_t scale=1.0)
void GetMethodName(TString &name, TKey *mkey)
void SetMultiClassStyle(TObjArray *hists)
void NormalizeHist(TH1 *h)
std::vector< TString > GetClassNames(TDirectory *dir)
void imgconv(TCanvas *c, const TString &fname)
void mvasMulticlass(TString dataset, TString fin="TMVAMulticlass.root", HistType htype=kMVAType, Bool_t useTMVAStyle=kTRUE)