18 double np_ph[Nph] = {353.4, 300.2, 254.3, 215.2, 181.0, 151.3, 125.2, 102.7, 83.3, 66.7, 52.5, 40.2, 30.2, 22.0};
19 double nc_ph[Nph] = {3.890, 3.734, 3.592, 3.453, 3.342, 3.247, 3.151,
20 3.047, 2.965, 2.858, 2.701, 2.599, 2.486, 2.328};
21 double npe_ph[Nph] = {10.068, 9.004, 8.086, 7.304, 6.620, 6.026, 5.504,
22 5.054, 4.666, 4.334, 4.050, 3.804, 3.604, 3.440};
23 double nce_ph[Nph] = {0.235, 0.217, 0.210, 0.206, 0.213, 0.223, 0.239,
24 0.260, 0.283, 0.318, 0.356, 0.405, 0.465, 0.545};
27 double np_br[Nbr] = {357.0, 306.0, 239.0, 168.0, 114.0, 73.0};
28 double nc_br[Nbr] = {3.501, 3.275, 3.155, 3.060, 3.053, 3.014};
29 double npe_br[Nbr] = {8.000, 11.000, 10.000, 9.000, 9.000, 8.000};
30 double nce_br[Nbr] = {0.318, 0.311, 0.306, 0.319, 0.370, 0.429};
37 float Top_margin = 0.;
38 float Left_margin = 0.025;
39 float Right_margin = 0.005;
40 float maxPlotPart = 395;
41 float Marker_Size = 1.3;
44 float Et_200_Min = 0.71;
45 float Et_200_Max = 3.80;
46 float Et_130_Min = 1.21;
47 float Et_130_Max = 3.29;
49 float Nc_200_Min = 1.31;
50 float Nc_200_Max = 4.30;
51 float Nc_130_Min = 1.51;
52 float Nc_130_Max = 3.89;
54 TCanvas *canvasNc =
new TCanvas(
"canvasNc",
"Multiplicity", 630, 10, 600, 500);
61 TPad *padNcUP =
new TPad(
"padNcUP",
"200 GeV", 0.07, 0.60, 1., 1.00);
72 TH1F *frameNcUP =
new TH1F(
"frameNcUP",
"", 100, 0, maxPlotPart);
92 TPad *padNcDN =
new TPad(
"padNcDN",
"130 GeV", 0.07, 0.02, 1., 0.60);
103 TH1F *frameNcDN =
new TH1F(
"frameNcDN",
"", 100, 0, maxPlotPart);
124 t1.SetTextSize(0.0525);
125 t1.DrawLatex(-5, 0.6,
126 "Non-symmetric symbols should be used carefully in plotting."
127 "These two graphs show how misleading");
128 t1.DrawLatex(-5, 0.4,
129 "a careless use of symbols can be. The two plots represent "
130 "the same data sets but because of a bad");
131 t1.DrawLatex(-5, 0.2,
132 "symbol choice, the two plots on the top appear further apart "
133 "than for the bottom example.");
R__EXTERN TStyle * gStyle
virtual void SetLabelSize(Float_t size=0.04)
Set size of axis labels.
virtual void SetLabelOffset(Float_t offset=0.005)
Set distance between the axis and the labels.
virtual void SetFillColor(Color_t fcolor)
Set the fill area color.
virtual void SetMarkerStyle(Style_t mstyle=1)
Set the marker style.
virtual void SetMarkerSize(Size_t msize=1)
Set the marker size.
virtual void SetBottomMargin(Float_t bottommargin)
Set Pad bottom margin in fraction of the pad height.
void SetFrameFillColor(Color_t color=1)
virtual void SetLeftMargin(Float_t leftmargin)
Set Pad left margin in fraction of the pad width.
virtual void SetRightMargin(Float_t rightmargin)
Set Pad right margin in fraction of the pad width.
virtual void SetTopMargin(Float_t topmargin)
Set Pad top margin in fraction of the pad height.
virtual void SetTextFont(Font_t tfont=62)
Set the text font.
TVirtualPad * cd(Int_t subpadnumber=0) override
Set current canvas & pad.
A TGraphErrors is a TGraph with error bars.
void Draw(Option_t *chopt="") override
Draw this graph with its current attributes.
1-D histogram with a float per channel (see TH1 documentation)
virtual void SetNdivisions(Int_t n=510, Option_t *axis="X")
Set the number of divisions to draw an axis.
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)
To draw Mathematical Formula.
The most important graphics class in the ROOT system.
void SetBorderSize(Short_t bordersize) override
TVirtualPad * cd(Int_t subpadnumber=0) override
Set Current pad.
void Draw(Option_t *option="") override
Draw Pad in Current pad (re-parent pad if necessary).
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...