68   for(
Int_t i=0; i<
hists->GetEntriesFast(); ++i){
 
 
  100      gROOT->SetStyle(
"TMVA");
 
  106   TMVAStyle->SetTitle(
"TMVA style based on \"Plain\" with modifications defined in tmvaglob.C");
 
  108   gROOT->SetStyle(
"TMVA");
 
  110   TMVAStyle->SetLineStyleString( 5, 
"[52 12]" );
 
  111   TMVAStyle->SetLineStyleString( 6, 
"[22 12]" );
 
  112   TMVAStyle->SetLineStyleString( 7, 
"[22 10 7 10]" );
 
  115   TMVAStyle->SetPalette((
gConfig().fVariablePlotting.fUsePaperStyle ? 18 : 1),0);
 
  151   TMVAStyle->SetLineStyleString(2,
"[12 12]"); 
 
 
  172   while ((o = 
itc())) 
delete o;
 
 
  183      gROOT->SetStyle(
"Plain");
 
 
  200      cout << 
"--- Opening root file " << 
fin << 
" in read mode" << endl;
 
 
  216      cout << 
"*** Error in TMVAGlob::imgconv: canvas is NULL" << endl;
 
  225            Error(
"imgconv",
"Error creating plot directory: %s",dir.
Data());
 
  236      if (
gConfig().fVariablePlotting.fUsePaperStyle) {
 
  240         if (
gConfig().fVariablePlotting.fPlotFormat == Config::VariablePlotting::kGIF)
 
  242         else if (
gConfig().fVariablePlotting.fPlotFormat == Config::VariablePlotting::kPDF)
 
  244         else if (
gConfig().fVariablePlotting.fPlotFormat == Config::VariablePlotting::kEPS)
 
 
  265      cout << 
"+++ Could not open image:  " << 
fullName << endl;
 
 
  275      cout << 
"+++ Could not open image tmva_logo.gif" << endl;
 
  298   p1->SetRightMargin(0);
 
  299   p1->SetBottomMargin(0);
 
  300   p1->SetLeftMargin(0);
 
 
  318   if (
h->GetSumw2N() == 0) 
h->Sumw2();
 
  319   if(
h->GetSumOfWeights()!=0) {
 
  320      Float_t dx = (
h->GetXaxis()->GetXmax() - 
h->GetXaxis()->GetXmin())/
h->GetNbinsX();
 
  321      h->Scale( 1.0/
h->GetSumOfWeights()/
dx );
 
 
  327   if (
bkg && 
bkg->GetSumw2N() == 0) 
bkg->Sumw2();
 
  333   if (
bkg != 0 && 
bkg->GetSumOfWeights()!=0) {
 
  334      Float_t dx = (
bkg->GetXaxis()->GetXmax() - 
bkg->GetXaxis()->GetXmin())/
bkg->GetNbinsX();
 
  335      bkg->Scale( 1.0/
bkg->GetSumOfWeights()/
dx );
 
 
  345   name.ReplaceAll(
"Method_",
"");
 
 
  356   name.ReplaceAll(
"Method_",
"");
 
 
  376         if (key==0) loop = 
kFALSE;
 
 
  406      cout << 
"tmvaglob::GetNumberOfTargets is called with *dir==NULL :( " << endl;
 
  413   while ((key = (
TKey*)next())) {
 
 
  426   while ((key = (
TKey*)next())) {
 
 
  440   std::vector<TString> names;
 
  442   while ((key = (
TKey*)next())) {
 
  452      std::vector<TString>::const_iterator iter = names.begin();
 
  453      while(iter != names.end()){
 
  454         if(
name.CompareTo(*iter)==0)
 
  459         names.push_back(
name);
 
 
  466   return names.end() - names.begin();
 
 
  475   std::vector<TString> names;
 
  477   while ((key = (
TKey*)next())) {
 
  485      name.ReplaceAll(
"_Deco",
"");
 
  486      name.ReplaceAll(
"_Gauss",
"");
 
  487      name.ReplaceAll(
"_PCA",
"");
 
  488      name.ReplaceAll(
"_Id",
"");
 
  489      name.ReplaceAll(
"_vs_",
"");
 
  490      name.Remove(0, pos + 2);
 
  506      std::vector<TString>::const_iterator iter = names.begin();
 
  507      while(iter != names.end()){
 
  508         if(
name.CompareTo(*iter)==0)
 
  513         names.push_back(
name);
 
 
  568               cout << 
"HUUUGE TROUBLES IN TMVAGlob::ExistMethodName() --> contact authors" << endl;
 
  577               if (
cl_->InheritsFrom(
"TDirectory")) {
 
 
  611   cout << 
"--- Found " << 
ni << 
" classifier types" << endl;
 
 
  621   while ((key = (
TKey*)next())) {
 
  631               if (!
gROOT->GetClass(
jobkey->GetClassName())->InheritsFrom(
"TDirectory")) 
continue;
 
  634               cout << 
"jobdir name  " << 
jobDir->GetName() << endl;
 
 
  647   if (
rfdir==0) 
return 0;
 
  650      cout << 
"+++ Directory '" << 
rfdir->GetName() << 
"' contains no keys" << endl;
 
  666   cout << 
"--- Found " << 
ni << 
" instance(s) of the method " << 
rfdir->GetName() << endl;
 
 
  679      cout << 
"+++ Could not locate directory '" << methodName << endl;
 
  687      cout << 
"+++ Directory '" << methodName << 
"' contains no keys" << endl;
 
  703   cout << 
"--- Found " << 
ni << 
" instance(s) of the method " << methodName << endl;
 
 
  711                                                          "InputVariables_Deco",
 
  712                                                          "InputVariables_PCA",
 
  713                                                          "InputVariables_Gauss_Deco" };
 
  719      cout << 
"+++ Could not locate input variable directory '" << 
directories[
type] << endl;
 
 
  729   if (dir==0) 
return 0;
 
  733      cout << 
"+++ Could not find CorrelationPlots directory 'CorrelationPlots'" << endl;
 
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Error(const char *location, const char *msgfmt,...)
Use this function in case an error occurred.
Option_t Option_t SetLineWidth
Option_t Option_t SetFillStyle
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t r
Option_t Option_t SetLineColor
Option_t Option_t SetFillColor
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t Int_t Int_t Window_t TString Int_t GCValues_t GetPrimarySelectionOwner GetDisplay GetScreen GetColormap GetNativeEvent const char const char dpyName wid window const char font_name cursor keysym reg const char only_if_exist regb h Point_t winding char text const char depth char const char Int_t count const char ColorStruct_t color const char Pixmap_t Pixmap_t PictureAttributes_t attr const char char ret_data h unsigned char height h Atom_t Int_t ULong_t ULong_t unsigned char prop_list Atom_t Atom_t Atom_t Time_t type
R__EXTERN TStyle * gStyle
R__EXTERN TSystem * gSystem
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetLabelSize(Float_t size=0.04)
Set size of axis labels.
virtual void SetTitleSize(Float_t size=0.04)
Set size of axis title.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetFillStyle(Style_t fstyle)
Set the fill area style.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
TClass instances represent classes, structs and namespaces in the ROOT type system.
Bool_t InheritsFrom(const char *cl) const override
Return kTRUE if this class inherits from a class with name "classname".
static TClass * GetClass(const char *name, Bool_t load=kTRUE, Bool_t silent=kFALSE)
Static method returning pointer to TClass of the specified class name.
virtual void SetOwner(Bool_t enable=kTRUE)
Set whether this collection is the owner (enable==true) of its content.
Bool_t cd() override
Change current directory to "this" directory.
TList * GetListOfKeys() const override
TFile * GetFile() const override
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...
static TFile * Open(const char *name, Option_t *option="", const char *ftitle="", Int_t compress=ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault, Int_t netopt=0)
Create / open a file.
void Close(Option_t *option="") override
Close a file.
TH1 is the base class of all histogram classes in ROOT.
virtual void SetLabelOffset(Float_t offset=0.005, Option_t *axis="X")
Set offset between axis and axis' labels.
virtual Double_t GetSumOfWeights() const
Return the sum of weights across all bins excluding under/overflows.
virtual Int_t GetNbinsX() const
virtual void Scale(Double_t c1=1, Option_t *option="")
Multiply this histogram by a constant c1.
virtual Int_t GetSumw2N() const
virtual void Sumw2(Bool_t flag=kTRUE)
Create structure to store sum of squares of weights.
An abstract interface to image processing library.
static TImage * Open(const char *file, EImageFileTypes type=kUnknown)
Open a specified image file.
Book space in a file, create I/O buffers, to fill them, (un)compress them.
virtual const char * GetClassName() const
Short_t GetCycle() const
Return cycle number associated to this key.
virtual TObject * ReadObj()
To read a TObject* from the file.
void Clear(Option_t *option="") override
Remove all objects from the list.
void Add(TObject *obj) override
class TMVA::Config::VariablePlotting fVariablePlotting
const char * GetName() const override
Returns name of object.
Mother of all ROOT objects.
The most important graphics class in the ROOT system.
const char * Data() const
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
TString & Remove(Ssiz_t pos)
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
TStyle objects may be created to define special styles.
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
Float_t GetPadRightMargin() const
Float_t GetPadTopMargin() const
virtual int mkdir(const char *name, Bool_t recursive=kFALSE)
Make a file system directory.
virtual Bool_t AccessPathName(const char *path, EAccessMode mode=kFileExists)
Returns FALSE if one can access a file using the specified access mode.
UInt_t GetListOfJobs(TFile *file, TList &jobdirs)
UInt_t GetListOfTitles(TDirectory *rfdir, TList &titles)
void Initialize(Bool_t useTMVAStyle=kTRUE)
Int_t GetNumberOfInputVariablesMultiClass(TDirectory *dir)
Int_t GetNumberOfInputVariables(TDirectory *dir)
TKey * NextKey(TIter &keyIter, TString className)
void GetMethodTitle(TString &name, TKey *ikey)
void plot_logo(Float_t v_scale=1.0, Float_t skew=1.0)
Int_t getBackgroundFill()
TDirectory * GetInputVariablesDir(TMVAGlob::TypeOfPlot type, TDirectory *dir=nullptr)
void SetSignalAndBackgroundStyle(TH1 *sig, TH1 *bkg, TH1 *all=nullptr)
TFile * OpenFile(const TString &fin)
void SetFrameStyle(TH1 *frame, Float_t scale=1.0)
TKey * FindMethod(TString name, TDirectory *dir=nullptr)
void NormalizeHists(TH1 *sig, TH1 *bkg=nullptr)
Int_t getBackgroundLine()
Bool_t ExistMethodName(TString name, TDirectory *dir=nullptr)
UInt_t GetListOfMethods(TList &methods, TDirectory *dir=nullptr)
void GetMethodName(TString &name, TKey *mkey)
Int_t GetNumberOfTargets(TDirectory *dir)
TImage * findImage(const char *imageName)
std::vector< TString > GetInputVariableNames(TDirectory *dir)
void SetMultiClassStyle(TObjArray *hists)
void NormalizeHist(TH1 *h)
TDirectory * GetCorrelationPlotsDir(TMVAGlob::TypeOfPlot type, TDirectory *dir=nullptr)
std::vector< TString > GetClassNames(TDirectory *dir)
UInt_t GetListOfKeys(TList &keys, TString inherits, TDirectory *dir=nullptr)
void imgconv(TCanvas *c, const TString &fname)