16 static int icanvas = -1;
19 100 + (icanvas)*40, 0 + (icanvas+1)*20, 600, 580*0.8 );
21 TH1* estimatorHistTrain = (
TH1*)lhdir->
Get(
"estimatorHistTrain" );
22 TH1* estimatorHistTest = (
TH1*)lhdir->
Get(
"estimatorHistTest" );
30 estimatorHistTrain->
SetMaximum( max + 0.1*(max - min) );
31 estimatorHistTrain->
SetMinimum( min - 0.1*(max - min) );
44 estimatorHistTrain->
Draw(
"hist");
45 estimatorHistTest ->
Draw(
"samehist");
51 legend->
AddEntry(estimatorHistTrain,
"Training Sample",
"l");
52 legend->
AddEntry(estimatorHistTest,
"Test sample",
"l");
60 TString fname = dataset+
"/plots/annconvergencetest";
77 cout <<
"Could not locate directory 'Method_MLP' in file " << fin << endl;
81 TIter keyIter(&titles);
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title Offset is a correction factor with respect to the "s...
virtual const char * GetName() const
Returns name of object.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual Double_t GetMaximum(Double_t maxval=FLT_MAX) const
Return maximum value smaller than maxval of bins in the range, unless the value has been overridden b...
void imgconv(TCanvas *c, const TString &fname)
virtual void SetMaximum(Double_t maximum=-1111)
This class displays a legend box (TPaveText) containing several legend entries.
virtual TObject * Get(const char *namecycle)
Return pointer to object identified by namecycle.
TFile * OpenFile(const TString &fin)
virtual void Draw(Option_t *option="")
Draw this legend with its current attributes.
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
TVirtualPad * cd(Int_t subpadnumber=0)
Set current canvas & pad.
virtual void SetMinimum(Double_t minimum=-1111)
Short_t Min(Short_t a, Short_t b)
void SetMargin(Float_t margin)
TKey * NextKey(TIter &keyIter, TString className)
Book space in a file, create I/O buffers, to fill them, (un)compress them.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
void Initialize(Bool_t useTMVAStyle=kTRUE)
virtual void Draw(Option_t *option="")
Draw this histogram with options.
char * Form(const char *fmt,...)
static constexpr double m2
void plot_logo(Float_t v_scale=1.0, Float_t skew=1.0)
virtual TDirectory * GetDirectory(const char *apath, Bool_t printError=false, const char *funcname="GetDirectory")
Find a directory named "apath".
virtual Double_t GetMinimum(Double_t minval=-FLT_MAX) const
Return minimum value larger than minval of bins in the range, unless the value has been overridden by...
TLegendEntry * AddEntry(const TObject *obj, const char *label="", Option_t *option="lpf")
Add a new entry to this legend.
Describe directory structure in memory.
virtual TObject * ReadObj()
To read a TObject* from the file.
Float_t GetTopMargin() const
Short_t Max(Short_t a, Short_t b)
virtual void SetTitle(const char *title)
See GetStatOverflows for more information.
virtual void Update()
Update canvas pad buffers.
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Float_t GetRightMargin() const
TAxis * GetXaxis()
Get the behaviour adopted by the object about the statoverflows. See EStatOverflows for more informat...
const char * Data() const
UInt_t GetListOfTitles(TDirectory *rfdir, TList &titles)
void annconvergencetest(TString dataset, TDirectory *lhdir)