44 "Mes/D:dE/D:F/D:MesSignal/D:MesBackground/D:dESignal/D:dEBackground/D:FSignal/D:FBackground/D",
' ');
54 splot->SetTreeSelection(
55 "Mes:dE:F:MesSignal:dESignal:FSignal:MesBackground:"
56 "dEBackground:FBackground");
61 ne[0]=500;
ne[1]=5000;
62 splot->SetInitialNumbersOfSpecies(
ne);
68 splot->FillSWeightsHists(25);
84 "sPlots of Mes and F signal and background", 800, 600);
85 myc->SetFillColor(40);
91 pt->
AddText(
"sPlots of Mes and F signal and background,");
92 pt->
AddText(
"obtained by the tutorial TestSPlot.C on BABAR MC "
93 "data (sPlot_toyMC.fit)");
95 "M. Pivk and F. R. Le Diberder, Nucl.Inst.Meth.A, physics/0402083");
100 TPad*
pad1 =
new TPad(
"pad1",
"Mes signal",0.02,0.43,0.48,0.83,33);
101 TPad*
pad2 =
new TPad(
"pad2",
"Mes background",0.5,0.43,0.98,0.83,33);
102 TPad*
pad3 =
new TPad(
"pad3",
"F signal", 0.02, 0.02, 0.48, 0.41,33);
103 TPad*
pad4 =
new TPad(
"pad4",
"F background", 0.5, 0.02, 0.98, 0.41,33);
119 sweight00->GetXaxis()->SetLabelSize(0.05);
120 sweight00->GetYaxis()->SetLabelSize(0.06);
121 sweight00->GetXaxis()->SetLabelOffset(0.02);
133 sweight10->GetXaxis()->SetLabelSize(0.05);
134 sweight10->GetYaxis()->SetLabelSize(0.06);
135 sweight10->GetXaxis()->SetLabelOffset(0.02);
147 sweight02->GetXaxis()->SetLabelSize(0.06);
148 sweight02->GetYaxis()->SetLabelSize(0.06);
149 sweight02->GetXaxis()->SetLabelOffset(0.01);
161 sweight12->GetXaxis()->SetLabelSize(0.06);
162 sweight12->GetYaxis()->SetLabelSize(0.06);
163 sweight02->GetXaxis()->SetLabelOffset(0.01);
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
char * Form(const char *fmt,...)
Formats a string in a circular formatting buffer.
R__EXTERN TSystem * gSystem
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetTextColor(Color_t tcolor=1)
Set the text color.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
1-D histogram with a double per channel (see TH1 documentation)
The most important graphics class in the ROOT system.
A Pave (see TPave) with text, lines or/and boxes inside.
virtual TText * AddText(Double_t x1, Double_t y1, const char *label)
Add a new Text line to this pavetext at given coordinates.
void Draw(Option_t *option="") override
Draw this pavetext with its current attributes.
<div class="legacybox"><h2>Legacy Code</h2> TSPlot is a legacy interface: there will be no bug fixes ...
const char * Data() const
TString & ReplaceAll(const TString &s1, const TString &s2)
virtual const char * UnixPathName(const char *unixpathname)
Convert from a local pathname to a Unix pathname.
Base class for several text objects.
A TTree represents a columnar dataset.