BOSS 7.0.9
BESIII Offline Software System
|
Go to the source code of this file.
Functions | |
gStyle | SetCanvasColor (0) |
gStyle | SetFillColor (0) |
gStyle | SetPadTickX (1) |
gStyle | SetPadTickY (1) |
gStyle | SetTitleXOffset (1.) |
gStyle | SetTitleYOffset (1.) |
gStyle | SetTitleXSize (0.06) |
gStyle | SetTitleYSize (0.06) |
gStyle | SetLabelSize (0.055,"x") |
gStyle | SetLabelSize (0.055,"y") |
gStyle | SetMarkerSize (1.8) |
gStyle | SetLineWidth (2.5) |
gStyle | SetPadLeftMargin (0.15) |
gStyle | SetPadTopMargin (0.1) |
gStyle | SetPadBottomMargin (0.15) |
TFile | f ("all10.root") |
for (Int_t j=1;j< 18;j++) | |
TFile | f ("all09.root") |
cout<<"............"<< endl;TGraph *gr1=new TGraphErrors(18, x, eff_single, errx, err_single);TGraph *gr2=new TGraphErrors(18, x, eff_single2, errx, err_single2);TGraph *gr3=new TGraphErrors(18, x, eff_single3, errx, err_single3);TCanvas *c1=new TCanvas("c1","p", 100, 10, 600, 400);TMultiGraph *mg=new TMultiGraph();gr1-> | SetLineColor (2) |
gr2 | SetLineColor (3) |
gr3 | SetLineColor (4) |
gr1 | SetMarkerColor (2) |
gr2 | SetMarkerColor (3) |
gr3 | SetMarkerColor (4) |
gr1 | SetMarkerStyle (20) |
gr2 | SetMarkerStyle (22) |
gr3 | SetMarkerStyle (23) |
mg | Add (gr1) |
mg | Add (gr2) |
mg | Draw ("AP") |
mg | GetYaxis () -> SetRangeUser(0.8, 1.02) |
mg | GetXaxis () -> SetRangeUser(0.05, 1.05) |
text | AddText ("Boss 6.5.1") |
text | SetTextColor (2) |
text | SetBorderSize (0) |
legend | AddEntry (gr1,"1T tsf+pat","p") |
legend | AddEntry (gr2,"0.9T tsf+pat","p") |
legend | Draw () |
Variables | |
Double_t | errx [20] ={0} |
Double_t | x [20] ={0.025,0.075,0.125,0.175,0.225,0.275,0.325,0.375,0.425,0.475,0.525,0.575,0.625,0.675,0.725,0.775,0.825,0.875,0.925,0.975} |
Double_t | eventNo =5000. |
Char_t | cut [200] |
Int_t | kal_single [20] |
Int_t | mc_single [20] |
Double_t | eff_single [20] |
Double_t | err_single [20] |
Int_t | kal_single2 [20] |
Int_t | mc_single2 [20] |
Double_t | eff_single2 [20] |
Double_t | err_single2 [20] |
Int_t | kal_single3 [20] |
Int_t | mc_single3 [20] |
Double_t | eff_single3 [20] |
Double_t | err_single3 [20] |
TPaveText * | text = new TPaveText(0.98,0.62,0.78,0.67,"tr") |
TLegend * | legend =new TLegend(0.55,0.45,0.75,0.65) |
mg Add | ( | gr1 | ) |
mg Add | ( | gr2 | ) |
legend AddEntry | ( | gr1 | , |
"1T tsf+pat" | , | ||
"p" | |||
) |
legend AddEntry | ( | gr2 | , |
"0.9T tsf+pat" | , | ||
"p" | |||
) |
text AddText | ( | "Boss 6.5.1" | ) |
Referenced by BesPaveText::SetText().
mg Draw | ( | "AP" | ) |
legend Draw | ( | ) |
TFile f | ( | "all09.root" | ) |
TFile f | ( | "all10.root" | ) |
for | ( | ) |
Definition at line 58 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
mg GetXaxis | ( | ) | -> SetRangeUser(0.05, 1.05) |
mg GetYaxis | ( | ) | -> SetRangeUser(0.8, 1.02) |
legend SetBorderSize | ( | 0 | ) |
Referenced by BesPaveText::BesPaveText().
gStyle SetCanvasColor | ( | 0 | ) |
Referenced by MdcCalibAlg::finalize(), and main().
gStyle SetFillColor | ( | 0 | ) |
Referenced by BesPaveText::BesPaveText().
gStyle SetLabelSize | ( | 0. | 055, |
"x" | |||
) |
gStyle SetLabelSize | ( | 0. | 055, |
"y" | |||
) |
cout<<"............"<< endl;TGraph *gr1=new TGraphErrors(18, x, eff_single, errx, err_single);TGraph *gr2=new TGraphErrors(18, x, eff_single2, errx, err_single2);TGraph *gr3=new TGraphErrors(18, x, eff_single3, errx, err_single3);TCanvas *c1=new TCanvas("c1","p", 100, 10, 600, 400);TMultiGraph *mg=new TMultiGraph(); gr1-> SetLineColor | ( | 2 | ) |
gr2 SetLineColor | ( | 3 | ) |
gr3 SetLineColor | ( | 4 | ) |
gStyle SetLineWidth | ( | 2. | 5 | ) |
gr1 SetMarkerColor | ( | 2 | ) |
gr2 SetMarkerColor | ( | 3 | ) |
gr3 SetMarkerColor | ( | 4 | ) |
gStyle SetMarkerSize | ( | 1. | 8 | ) |
Referenced by BesMarker2D::BesMarker2D(), and BesMarker2D::Paint().
gr1 SetMarkerStyle | ( | 20 | ) |
gr2 SetMarkerStyle | ( | 22 | ) |
gr3 SetMarkerStyle | ( | 23 | ) |
gStyle SetPadBottomMargin | ( | 0. | 15 | ) |
gStyle SetPadLeftMargin | ( | 0. | 15 | ) |
gStyle SetPadTickX | ( | 1 | ) |
gStyle SetPadTickY | ( | 1 | ) |
gStyle SetPadTopMargin | ( | 0. | 1 | ) |
text SetTextColor | ( | 2 | ) |
gStyle SetTitleXOffset | ( | 1. | ) |
gStyle SetTitleXSize | ( | 0. | 06 | ) |
gStyle SetTitleYOffset | ( | 1. | ) |
gStyle SetTitleYSize | ( | 0. | 06 | ) |
Char_t cut[200] |
Definition at line 35 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Referenced by for().
Double_t eff_single[20] |
Definition at line 39 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Double_t eff_single2[20] |
Definition at line 45 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Double_t eff_single3[20] |
Definition at line 50 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Double_t err_single[20] |
Definition at line 40 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Double_t err_single2[20] |
Definition at line 46 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Double_t err_single3[20] |
Definition at line 51 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Double_t errx[20] ={0} |
Definition at line 30 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Double_t eventNo =5000. |
Definition at line 34 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Int_t kal_single[20] |
Definition at line 37 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Referenced by for().
Int_t kal_single2[20] |
Definition at line 43 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Int_t kal_single3[20] |
Definition at line 48 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
TLegend* legend =new TLegend(0.55,0.45,0.75,0.65) |
Definition at line 178 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Int_t mc_single[20] |
Definition at line 38 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Referenced by for().
Int_t mc_single2[20] |
Definition at line 44 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Int_t mc_single3[20] |
Definition at line 49 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
TPaveText* text = new TPaveText(0.98,0.62,0.78,0.67,"tr") |
Definition at line 168 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.
Referenced by xmlBase::Dom::getText(), MemorySnooper::MemorySnooper(), BesHeader::SetAllWith(), and ers::Core::tokenize().
Double_t x[20] ={0.025,0.075,0.125,0.175,0.225,0.275,0.325,0.375,0.425,0.475,0.525,0.575,0.625,0.675,0.725,0.775,0.825,0.875,0.925,0.975} |
Definition at line 32 of file Validation/SingleAlg/SingleAlg-00-00-02/share/eff.cxx.