52      cout << 
"--- Probas.C: no methods found!" << endl;
 
   63   while ( (key = (
TKey*)next()) ) {
 
   70         cout << 
"+++ No titles found for classifier: " << methodName << endl;
 
   83         if (
nhists==0) cout << 
"*** No histograms found!" << endl;
 
   92                !
hname.Contains(
"original") && !
hname.Contains(
"smoothed")) {
 
  100               if (sig == 0 || bgd == 0) {
 
  101                  cout << 
"*** probas.C: big troubles in probas.... histogram: " << 
hname << 
" not found" << endl;
 
  108               for (
int i=0; i<= 5; i++) {
 
  127                  cout << 
"*** probas.C: big troubles - did not find probability histograms" << endl;
 
  138                     sig->SetTitle( 
TString(
"TMVA output for classifier: ") + methodTitle );
 
  141                     cout << 
"--- Book canvas no: " << 
countCanvas << endl;
 
  154                                                           bgd->GetMean() - 
nrms*bgd->GetRMS() ),
 
  155                                                sig->GetXaxis()->GetXmin() );
 
  157                                                           bgd->GetMean() + 
nrms*bgd->GetRMS() ),
 
  158                                                sig->GetXaxis()->GetXmax() );
 
  166                     TH2F* frame = 
new TH2F( 
TString(
"frame") + sig->GetName() + 
"_proba", sig->GetTitle(),
 
  179                     sig->SetMarkerSize( 0.7 );
 
  180                     sig->SetMarkerStyle( 20 );
 
  181                     sig->SetLineWidth(1);
 
  184                     bgd->SetMarkerSize( 0.7 );
 
  185                     bgd->SetMarkerStyle( 24 );
 
  186                     bgd->SetLineWidth(1);
 
  191                     sigF->SetFillStyle( 0 );
 
  192                     bkgF->SetFillStyle( 0 );
 
  193                     sigF->Draw(
"samehist");
 
  194                     bkgF->Draw(
"samehist");
 
  197                     frame->
Draw(
"sameaxis");
 
  201                                                   c->GetLeftMargin() + 0.4, 1 - 
c->GetTopMargin() );
 
  202                     legend->AddEntry(sig,
"Signal data",
"P");
 
  204                     legend->AddEntry(bgd,
"Background data",
"P");
 
  222            cout << 
"--- No PDFs found for method " << methodTitle << 
". Did you request \"CreateMVAPdfs\" in the option string?" << endl;
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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...
TH1 is the base class of all histogram classes in ROOT.
void Draw(Option_t *option="") override
Draw this histogram with options.
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 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 * Data() const
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
UInt_t GetListOfTitles(TDirectory *rfdir, TList &titles)
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)
void SetSignalAndBackgroundStyle(TH1 *sig, TH1 *bkg, TH1 *all=nullptr)
TFile * OpenFile(const TString &fin)
void SetFrameStyle(TH1 *frame, Float_t scale=1.0)
Int_t getBackgroundLine()
UInt_t GetListOfMethods(TList &methods, TDirectory *dir=nullptr)
void GetMethodName(TString &name, TKey *mkey)
UInt_t GetListOfKeys(TList &keys, TString inherits, TDirectory *dir=nullptr)
void imgconv(TCanvas *c, const TString &fname)
void probas(TString dataset, TString fin="TMVA.root", Bool_t useTMVAStyle=kTRUE)
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.