Commit a3558bcf authored by Vratislav Chudoba's avatar Vratislav Chudoba

Pictures for IZV RAN finished.

parent 402c433b
...@@ -551,16 +551,17 @@ void figIZVBestFits(Bool_t saveFigs = 0) ...@@ -551,16 +551,17 @@ void figIZVBestFits(Bool_t saveFigs = 0)
c1->Update(); c1->Update();
TText *t1[12]; TText *t1[12];
TString panel[12] = {"a)", "b)", "c)", "d)", TString panel[12] = {"a", "b", "c", "d",
"e)", "f)", "g)", "h)", "e", "f", "g", "h",
"i)", "j)", "k)", "l)"}; "i", "j", "k", "l"};
for (Int_t i = 0; i < 12; i++) { for (Int_t i = 0; i < 12; i++) {
c1->cd(i+1); c1->cd(i+1);
t1[i] = new TText(0.18,0.87,panel[i].Data()); // t1[i] = new TText(0.18,0.87,panel[i].Data());
t1[i] = new TText(0.5,0.92,panel[i].Data());
// t1[i] = new TText(0.5,0.95,panel[i].Data()); // t1[i] = new TText(0.5,0.95,panel[i].Data());
t1[i]->SetNDC(); t1[i]->SetNDC();
t1[i]->SetTextFont(132); t1[i]->SetTextFont(12);
t1[i]->SetTextSize(0.07); t1[i]->SetTextSize(0.07);
t1[i]->Draw(); t1[i]->Draw();
} }
......
...@@ -57,7 +57,7 @@ void figIZVCorrGS(const Bool_t saveFigs = 0) ...@@ -57,7 +57,7 @@ void figIZVCorrGS(const Bool_t saveFigs = 0)
c1->Divide(4, 1, .001, .001); c1->Divide(4, 1, .001, .001);
TText *t1[4]; TText *t1[4];
TString panel[4] = {"a)", "b)", "c)", "d)"}; TString panel[4] = {"a", "b", "c", "d"};
for (Int_t i = 0; i < 4; i++) { for (Int_t i = 0; i < 4; i++) {
c1->cd(i+1); c1->cd(i+1);
...@@ -87,14 +87,16 @@ void figIZVCorrGS(const Bool_t saveFigs = 0) ...@@ -87,14 +87,16 @@ void figIZVCorrGS(const Bool_t saveFigs = 0)
hExp[i]->Chi2Test(hSim[i], "P"); hExp[i]->Chi2Test(hSim[i], "P");
t1[i] = new TText(0.18,0.87,panel[i].Data()); // t1[i] = new TText(0.18,0.87,panel[i].Data());
t1[i] = new TText(0.5,0.92,panel[i].Data());
t1[i]->SetNDC(); t1[i]->SetNDC();
t1[i]->SetTextFont(132); t1[i]->SetTextFont(12);
t1[i]->SetTextSize(0.07); t1[i]->SetTextSize(0.07);
t1[i]->Draw(); t1[i]->Draw();
} }
c1->Update(); c1->Update();
cout << saveFigs << endl;
if (saveFigs) { if (saveFigs) {
// c2->SaveAs("figures/PresGSepsilonTright7590.png"); // c2->SaveAs("figures/PresGSepsilonTright7590.png");
......
...@@ -46,7 +46,8 @@ void figIZVCorrLeftES(const Bool_t saveFigs = 0) ...@@ -46,7 +46,8 @@ void figIZVCorrLeftES(const Bool_t saveFigs = 0)
cout << "Fig. 4" << endl; cout << "Fig. 4" << endl;
TText *t1[6]; TText *t1[6];
TString panel[6] = {"a)", "b)", "c)", "d)", "e)", "f)"}; // TString panel[6] = {"a)", "b)", "c)", "d)", "e)", "f)"};
TString panel[6] = {"a", "d", "c", "f", "b", "e"};
for (Int_t i = 0; i < 6; i++) { for (Int_t i = 0; i < 6; i++) {
c4->cd(canMap[i]); c4->cd(canMap[i]);
...@@ -105,10 +106,11 @@ void figIZVCorrLeftES(const Bool_t saveFigs = 0) ...@@ -105,10 +106,11 @@ void figIZVCorrLeftES(const Bool_t saveFigs = 0)
hAlphaExp90120[i]->Chi2Test(hAlphaSim90120[i], "P"); hAlphaExp90120[i]->Chi2Test(hAlphaSim90120[i], "P");
t1[i] = new TText(0.18,0.87,panel[i].Data()); // t1[i] = new TText(0.18,0.87,panel[i].Data());
t1[i] = new TText(0.5,0.92,panel[i].Data());
// t1[i] = new TText(0.5,0.95,panel[i].Data()); // t1[i] = new TText(0.5,0.95,panel[i].Data());
t1[i]->SetNDC(); t1[i]->SetNDC();
t1[i]->SetTextFont(132); t1[i]->SetTextFont(12);
t1[i]->SetTextSize(0.07); t1[i]->SetTextSize(0.07);
t1[i]->Draw(); t1[i]->Draw();
......
...@@ -68,7 +68,7 @@ void figIZVCorrRightGS(const Bool_t saveFigs = 0) ...@@ -68,7 +68,7 @@ void figIZVCorrRightGS(const Bool_t saveFigs = 0)
cout << "Fig. 3" << endl; cout << "Fig. 3" << endl;
TText *t1[6]; TText *t1[6];
TString panel[6] = {"a)", "b)", "c)", "d)", "e)", "f)"}; TString panel[6] = {"a", "d", "c", "f", "b", "e"};
for (Int_t i = 0; i < 6; i++) { for (Int_t i = 0; i < 6; i++) {
c2->cd(canMap[i]); c2->cd(canMap[i]);
...@@ -107,10 +107,10 @@ void figIZVCorrRightGS(const Bool_t saveFigs = 0) ...@@ -107,10 +107,10 @@ void figIZVCorrRightGS(const Bool_t saveFigs = 0)
hCorrExp[i]->Chi2Test(hCorrSim[i], "P"); hCorrExp[i]->Chi2Test(hCorrSim[i], "P");
t1[i] = new TText(0.18,0.87,panel[i].Data()); // t1[i] = new TText(0.18,0.87,panel[i].Data());
// t1[i] = new TText(0.5,0.95,panel[i].Data()); t1[i] = new TText(0.5,0.92,panel[i].Data());
t1[i]->SetNDC(); t1[i]->SetNDC();
t1[i]->SetTextFont(132); t1[i]->SetTextFont(12);
t1[i]->SetTextSize(0.07); t1[i]->SetTextSize(0.07);
t1[i]->Draw(); t1[i]->Draw();
} }
......
...@@ -76,13 +76,17 @@ void figSpectraIZV(const Bool_t saveFigs = 0) ...@@ -76,13 +76,17 @@ void figSpectraIZV(const Bool_t saveFigs = 0)
if (i==0) hSim[i]->GetYaxis()->SetRangeUser(0,13000); if (i==0) hSim[i]->GetYaxis()->SetRangeUser(0,13000);
t1[i] = new TText(0.18,0.87,panel[i].Data()); // t1[i] = new TText(0.18,0.87,panel[i].Data());
t1[i] = new TText(0.5,0.92,panel[i].Data());
t1[i]->SetNDC(); t1[i]->SetNDC();
t1[i]->SetTextFont(132); t1[i]->SetTextFont(12);
t1[i]->SetTextSize(0.07); t1[i]->SetTextSize(0.07);
t1[i]->Draw(); t1[i]->Draw();
} }
// c1->Update();
// c1->Update();
if (saveFigs) { if (saveFigs) {
// c2->SaveAs("figures/PresGSepsilonTright7590.png"); // c2->SaveAs("figures/PresGSepsilonTright7590.png");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment