28 cout <<
"Cannot open flie: " <<
fin << endl;
49 cout <<
"Use MVA output of Method " <<
methodS <<endl;
51 if (!
methodS.BeginsWith(
"MVA_") ||
methodS.EndsWith(
"_Proba"))
continue;
52 if (
methodS.Contains(
"Cuts") )
continue;
55 cout <<
"--- Found variable: \"" <<
methodS <<
"\"" << endl;
85 cout <<
"Expression = " <<
expr << endl;
95 "type==1",
"", 500000 );
97 "type==0",
"", 500000, 10000 );
112 frameS->SetBinContent( i,
j, z );
115 z =
frameB->GetBinContent( i,
j );
121 frameB->SetBinContent( i,
j, z );
134 frameS->SetBinContent( i,
j, z );
137 z =
frameB->GetBinContent( i,
j );
139 frameB->SetBinContent( i,
j, z );
144 frameS->SetMinimum( -1.0 );
145 frameS->SetMaximum( +1.0 );
146 frameB->SetMinimum( -1.0 );
147 frameB->SetMaximum( +1.0 );
177 frameS->SetLineColor( 104 );
178 frameS->SetFillColor( 104 );
179 frameS->SetLineWidth( 3 );
180 frameB->SetLineColor( 102 );
181 frameB->SetFillColor( 102 );
182 frameB->SetLineWidth( 3 );
185 refS->SetMarkerSize( 0.2 );
186 refS->SetMarkerColor( 104 );
188 refB->SetMarkerSize( 0.2 );
189 refB->SetMarkerColor( 102 );
201 refS->SetLineColor( 104 );
202 refS->SetFillColor( 104 );
203 refS->SetLineWidth( 3 );
204 refB->SetLineColor( 102 );
205 refB->SetFillColor( 102 );
206 refB->SetLineWidth( 3 );
212 frameS->Draw(
"contsame" );
213 refS->Draw(
"cont3same" );
214 refB->Draw(
"cont3same" );
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
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.
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 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 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)
virtual void SetTitle(const char *title="")
Set the title of the TNamed.
static TString Format(const char *fmt,...)
Static method which formats a string using a printf style format descriptor and return a TString.
TStyle objects may be created to define special styles.
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)