28 cout <<
"Cannot open flie: " << fin << endl;
39 Int_t countCanvas = 0;
49 cout <<
"Use MVA output of Method " << methodS <<endl;
52 if (methodS.
Contains(
"Cuts") )
continue;
55 cout <<
"--- Found variable: \"" << methodS <<
"\"" << endl;
60 countCanvas*50+200, countCanvas*20,
width,
width*1.0 );
85 cout <<
"Expression = " << expr << endl;
95 "type==1",
"", 500000 );
97 "type==0",
"", 500000, 10000 );
104 for (
Int_t i=1; i<=nbin; i++) {
105 for (
Int_t j=1; j<=nbin; j++) {
108 z = (z - zminS)/(zmaxS - zminS);
116 z = (z - zminB)/(zmaxB - zminB);
129 for (
Int_t i=1; i<=nbin; i++) {
130 for (
Int_t j=1; j<=nbin; j++) {
133 z = 1*(z - zminS)/(zmaxS - zminS) - 0;
138 z = 1*(z - zminB)/(zmaxB - zminB) - 0;
165 const Int_t nlevels = 3;
191 const Int_t nlevelsR = 1;
212 frameS->
Draw(
"contsame" );
213 refS->
Draw(
"cont3same" );
214 refB->
Draw(
"cont3same" );
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 cname
virtual void SetTitleOffset(Float_t offset=1)
Set distance between the axis and the axis title.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetLineWidth(Width_t lwidth)
Set the line width.
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual void SetMarkerColor(Color_t mcolor=1)
Set the marker color.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
A TTree is a list of TBranches.
TObject * Get(const char *namecycle) override
Return pointer to object identified by namecycle.
A ROOT file is an on-disk file, usually with extension .root, that stores objects in a file-system-li...
virtual void SetTitleSize(Float_t size=0.02, Option_t *axis="X")
Set the axis' title size.
void SetTitle(const char *title) override
Change/set the title.
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...
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)
virtual void SetContour(Int_t nlevels, const Double_t *levels=nullptr)
Set the number and values of contour levels.
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...
virtual void SetLabelSize(Float_t size=0.02, Option_t *axis="X")
Set size of axis' labels.
2-D histogram with a float per channel (see TH1 documentation)
void SetBinContent(Int_t bin, Double_t content) override
Set bin content.
Double_t GetBinContent(Int_t binx, Int_t biny) const override
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
Int_t GetEntries() const override
Return the number of objects in array (i.e.
Bool_t EndsWith(const char *pat, ECaseCompare cmp=kExact) const
Return true if string ends with the specified string.
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 SetTitleW(Float_t w=0)
void SetTitleH(Float_t h=0)
A TTree represents a columnar dataset.
void Initialize(Bool_t useTMVAStyle=kTRUE)
TFile * OpenFile(const TString &fin)
void imgconv(TCanvas *c, const TString &fname)
void mvaweights(TString fin="TMVA.root", Bool_t useTMVAStyle=kTRUE)