24 cout <<
"Big troubles: could not find directory \"" <<
dirname <<
"\"" << endl;
39 if (!
name.BeginsWith(
"epochmonitoring___"))
continue;
85 cout <<
"Big troubles: could not find directory \"" <<
dirname <<
"\"" << endl;
94 if (!
gROOT->GetClass(
titkeyTit->GetClassName())->InheritsFrom(
"TH1F"))
continue;
97 if (!
name.BeginsWith(
"convergencetest___"))
continue;
98 if (!
name.Contains(
"_train_"))
continue;
99 if (
name.EndsWith(
"_B"))
continue;
102 if (!
name.EndsWith(
"_S")) {
103 cout <<
"Big troubles with histogram: " <<
name <<
" -> should end with _S" << endl;
121 cout <<
"Big troubles with histogram: " << bgd <<
" -> cannot find!" << endl;
125 cout <<
"sig = " << sig->
GetName() << endl;
126 cout <<
"bgd = " << bgd->
GetName() << endl;
164 cout <<
"Big troubles in epoch parsing: \"" <<
es <<
"\" is not float" << endl;
172 c->GetPad(0)->SetLeftMargin( 0.105 );
177 c->GetLeftMargin() + 0.5, 1 -
c->GetTopMargin() );
178 legend->SetFillStyle( 1 );
182 legend->SetMargin( 0.15 );
192 sig->
Draw(
"samehist");
193 bgd->
Draw(
"samehist");
199 foutname.ReplaceAll(
"convergencetest___",
"");
202 cout <<
"storing file: " <<
foutname << endl;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
const_iterator begin() const
const_iterator end() const
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetTextAlign(Short_t align=11)
Set the text alignment.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextSize(Float_t tsize=1)
Set the text size.
TDirectory * GetDirectory(const char *apath, Bool_t printError=false, const char *funcname="GetDirectory") override
Find a directory named "apath".
Describe directory structure in memory.
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)
void SetTitle(const char *title) override
Change/set the title.
virtual Double_t GetMean(Int_t axis=1) const
For axis = 1,2 or 3 returns the mean value of the histogram along X,Y or Z axis.
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 Draw(Option_t *option="") override
Draw this histogram with options.
Double_t GetRMS(Int_t axis=1) const
This function returns the Standard Deviation (Sigma) of the distribution not the Root Mean Square (RM...
2-D histogram with a float per channel (see TH1 documentation)
Book space in a file, create I/O buffers, to fill them, (un)compress them.
virtual const char * GetClassName() const
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.
const char * GetTitle() const override
Returns title of object.
Collectable string class.
Mother of all ROOT objects.
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Base class for several text objects.
virtual TText * DrawTextNDC(Double_t x, Double_t y, const char *text)
Draw this text with new coordinates in NDC.
void SetSignalAndBackgroundStyle(TH1 *sig, TH1 *bkg, TH1 *all=nullptr)
TFile * OpenFile(const TString &fin)
void SetFrameStyle(TH1 *frame, Float_t scale=1.0)
void NormalizeHists(TH1 *sig, TH1 *bkg=nullptr)
void draw_network(TString dataset, TFile *f, TDirectory *d, const TString &hName="weights_hist", Bool_t movieMode=kFALSE, const TString &epoch="")
void DrawMLPoutputMovie(TString dataset, TFile *file, const TString &methodType, const TString &methodTitle)
void DrawNetworkMovie(TString dataset, TFile *file, const TString &methodType, const TString &methodTitle)
void MovieMaker(TString dataset, TString methodType="Method_MLP", TString methodTitle="MLP")
Short_t Max(Short_t a, Short_t b)
Returns the largest of a and b.
Short_t Min(Short_t a, Short_t b)
Returns the smallest of a and b.