From 554f7bb1290a0db064bcfa60bcabeb73a96bd530 Mon Sep 17 00:00:00 2001 From: Vratislav Chudoba Date: Wed, 26 Jul 2017 23:09:01 +0300 Subject: [PATCH] Number of bins changed to 30 --- Be/BeAnalysis.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Be/BeAnalysis.cpp b/Be/BeAnalysis.cpp index 420b47f..a349250 100644 --- a/Be/BeAnalysis.cpp +++ b/Be/BeAnalysis.cpp @@ -573,11 +573,11 @@ void BeAnalysis::CosThetaTk() { chs[j]->SetLineColor(kGray+1); chs[j]->SetFillColor(kGray+1); 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]); hscoskT[i][j] = (TH1F*)gPad->FindObject(hsName.Data()); 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]); hecoskT[i][j] = (TH1F*)gPad->FindObject(heName.Data()); @@ -608,7 +608,7 @@ void BeAnalysis::CosThetaTk() { 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"); hicoskT[i][j] = (TH1F*)gPad->FindObject(hiName.Data()); Float_t rightmax = 1.1*hicoskT[i][j]->GetMaximum(); @@ -858,13 +858,13 @@ void BeAnalysis::ThetaAT() { if (!kChains[j]) continue; cThetaAT[i]->cd(j+1); 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]->SetFillColor(kGray+1); drawCommand.Form("fAThetaCM>>%s", hsthetaAT[i][j]->GetName()); chs[j]->Draw(drawCommand.Data(), cQ && crBeE[i] && crAngles && crEpsilonT && sRatio[j], "goff", sEventsECuts[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()); che->Draw(drawCommand.Data(), cQ && cBeE[i] && cAngles && cEpsilonT, "goff", eEventsECuts[i][j]); @@ -891,7 +891,7 @@ void BeAnalysis::ThetaAT() { cThetaAT[i]->Update(); 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"); hithetaAT[i][j] = (TH1F*)gPad->FindObject(hiName.Data()); Float_t rightmax = 1.1*hithetaAT[i][j]->GetMaximum(); -- 2.18.1