Commit 554f7bb1 authored by Vratislav Chudoba's avatar Vratislav Chudoba

Number of bins changed to 30

parent 581a3411
...@@ -573,11 +573,11 @@ void BeAnalysis::CosThetaTk() { ...@@ -573,11 +573,11 @@ void BeAnalysis::CosThetaTk() {
chs[j]->SetLineColor(kGray+1); chs[j]->SetLineColor(kGray+1);
chs[j]->SetFillColor(kGray+1); chs[j]->SetFillColor(kGray+1);
hsName.Form("hscoskT%d_%d", i, j); hsName.Form("hscoskT%d_%d", i, j);
drawCommand.Form("fCosThetaTk>>%s(50,-1,1)", hsName.Data()); drawCommand.Form("fCosThetaTk>>%s(30,-1,1)", hsName.Data());
chs[j]->Draw(drawCommand.Data(), cQ && crBeE[i] && crAngles && sRatio[j], "", sEventsECuts[i][j]); chs[j]->Draw(drawCommand.Data(), cQ && crBeE[i] && crAngles && sRatio[j], "", sEventsECuts[i][j]);
hscoskT[i][j] = (TH1F*)gPad->FindObject(hsName.Data()); hscoskT[i][j] = (TH1F*)gPad->FindObject(hsName.Data());
heName.Form("hecoskT%d_%d", i, j); heName.Form("hecoskT%d_%d", i, j);
drawCommand.Form("fCosThetaTk>>%s(50,-1,1)", heName.Data()); drawCommand.Form("fCosThetaTk>>%s(30,-1,1)", heName.Data());
che->Draw(drawCommand.Data(), cQ && cBeE[i] && cAngles, "E same", eEventsECuts[i][j]); che->Draw(drawCommand.Data(), cQ && cBeE[i] && cAngles, "E same", eEventsECuts[i][j]);
hecoskT[i][j] = (TH1F*)gPad->FindObject(heName.Data()); hecoskT[i][j] = (TH1F*)gPad->FindObject(heName.Data());
...@@ -608,7 +608,7 @@ void BeAnalysis::CosThetaTk() { ...@@ -608,7 +608,7 @@ void BeAnalysis::CosThetaTk() {
hiName.Form("hicoskT%d_%d", i, j); hiName.Form("hicoskT%d_%d", i, j);
drawCommand.Form("sCosThetaTk>>%s(50,0,1)", hiName.Data()); drawCommand.Form("sCosThetaTk>>%s(30,0,1)", hiName.Data());
ti[j]->Draw(drawCommand.Data(), ciBeE[i] && sRatio[j], "same"); ti[j]->Draw(drawCommand.Data(), ciBeE[i] && sRatio[j], "same");
hicoskT[i][j] = (TH1F*)gPad->FindObject(hiName.Data()); hicoskT[i][j] = (TH1F*)gPad->FindObject(hiName.Data());
Float_t rightmax = 1.1*hicoskT[i][j]->GetMaximum(); Float_t rightmax = 1.1*hicoskT[i][j]->GetMaximum();
...@@ -858,13 +858,13 @@ void BeAnalysis::ThetaAT() { ...@@ -858,13 +858,13 @@ void BeAnalysis::ThetaAT() {
if (!kChains[j]) continue; if (!kChains[j]) continue;
cThetaAT[i]->cd(j+1); cThetaAT[i]->cd(j+1);
hsName.Form("hsthetaAT%d_%d", i, j); hsName.Form("hsthetaAT%d_%d", i, j);
hsthetaAT[i][j] = new TH1F(hsName.Data(), "title", 50, 0, 3.14); hsthetaAT[i][j] = new TH1F(hsName.Data(), "title", 30, 0, 3.14);
hsthetaAT[i][j]->SetLineColor(kGray+1); hsthetaAT[i][j]->SetLineColor(kGray+1);
hsthetaAT[i][j]->SetFillColor(kGray+1); hsthetaAT[i][j]->SetFillColor(kGray+1);
drawCommand.Form("fAThetaCM>>%s", hsthetaAT[i][j]->GetName()); drawCommand.Form("fAThetaCM>>%s", hsthetaAT[i][j]->GetName());
chs[j]->Draw(drawCommand.Data(), cQ && crBeE[i] && crAngles && crEpsilonT && sRatio[j], "goff", sEventsECuts[i][j]); chs[j]->Draw(drawCommand.Data(), cQ && crBeE[i] && crAngles && crEpsilonT && sRatio[j], "goff", sEventsECuts[i][j]);
heName.Form("hethetaAT%d_%d", i, j); heName.Form("hethetaAT%d_%d", i, j);
hethetaAT[i][j] = new TH1F(heName.Data(), "title", 50, 0, 3.14); hethetaAT[i][j] = new TH1F(heName.Data(), "title", 30, 0, 3.14);
drawCommand.Form("fAThetaCM>>%s", hethetaAT[i][j]->GetName()); drawCommand.Form("fAThetaCM>>%s", hethetaAT[i][j]->GetName());
che->Draw(drawCommand.Data(), cQ && cBeE[i] && cAngles && cEpsilonT, "goff", eEventsECuts[i][j]); che->Draw(drawCommand.Data(), cQ && cBeE[i] && cAngles && cEpsilonT, "goff", eEventsECuts[i][j]);
...@@ -891,7 +891,7 @@ void BeAnalysis::ThetaAT() { ...@@ -891,7 +891,7 @@ void BeAnalysis::ThetaAT() {
cThetaAT[i]->Update(); cThetaAT[i]->Update();
hiName.Form("hithetaAT%d_%d", i, j); hiName.Form("hithetaAT%d_%d", i, j);
drawCommand.Form("sACM.Theta()>>%s(50,0,3.14)", hiName.Data()); drawCommand.Form("sACM.Theta()>>%s(30,0,3.14)", hiName.Data());
ti[j]->Draw(drawCommand.Data(), ciEpsilon && ciBeE[i] && sRatio[j], "same"); ti[j]->Draw(drawCommand.Data(), ciEpsilon && ciBeE[i] && sRatio[j], "same");
hithetaAT[i][j] = (TH1F*)gPad->FindObject(hiName.Data()); hithetaAT[i][j] = (TH1F*)gPad->FindObject(hiName.Data());
Float_t rightmax = 1.1*hithetaAT[i][j]->GetMaximum(); Float_t rightmax = 1.1*hithetaAT[i][j]->GetMaximum();
......
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