Commit bd77b386 authored by Vratislav Chudoba's avatar Vratislav Chudoba

Cosmetic changes.

parent 3540d8a7
......@@ -278,17 +278,25 @@ void BeAnalysis::SaveEpsilonTHist(Int_t interval, Int_t chain) {
TFile fw("figures/epsilonT.root", "UPDATE");
TString hName;
if (heeT[interval][chain] != 0) {
hName.Form("heeT%d_%d_%d%d", interval, chain, kMinAngle, kMaxAngle);
heeT[interval][chain]->SetName(hName.Data());
heeT[interval][chain]->Write();
Info("BeAnalysis::SaveEpsilonTHist", "Histogram saved.");
}
if (hseT[interval][chain] != 0) {
Info("BeAnalysis::SaveEpsilonTHist", "Histogram saved.");
hName.Form("hseT%d_%d_%d%d", interval, chain, kMinAngle, kMaxAngle);
hseT[interval][chain]->SetName(hName.Data());
hseT[interval][chain]->Write();
Info("BeAnalysis::SaveEpsilonTHist", "Histogram saved.");
}
if (hieT[interval][chain] != 0) {
Info("BeAnalysis::SaveEpsilonTHist", "Histogram saved.");
hName.Form("hieT%d_%d_%d%d", interval, chain, kMinAngle, kMaxAngle);
hieT[interval][chain]->SetName(hName.Data());
hieT[interval][chain]->Write();
Info("BeAnalysis::SaveEpsilonTHist", "Histogram saved.");
}
fw.Close();
......@@ -298,17 +306,25 @@ void BeAnalysis::SaveCosThetaTHist(Int_t interval, Int_t chain) {
TFile fw("figures/cosThetaT.root", "UPDATE");
TString hName;
if (hecoskT[interval][chain] != 0) {
hName.Form("hecoskT%d_%d_%d%d", interval, chain, kMinAngle, kMaxAngle);
hecoskT[interval][chain]->SetName(hName.Data());
hecoskT[interval][chain]->Write();
Info("BeAnalysis::SaveCosThetaTHist", "Histogram saved.");
}
if (hscoskT[interval][chain] != 0) {
Info("BeAnalysis::SaveCosThetaTHist", "Histogram saved.");
hName.Form("hscoskT%d_%d_%d%d", interval, chain, kMinAngle, kMaxAngle);
hscoskT[interval][chain]->SetName(hName.Data());
hscoskT[interval][chain]->Write();
Info("BeAnalysis::SaveCosThetaTHist", "Histogram saved.");
}
if (hicoskT[interval][chain] != 0) {
Info("BeAnalysis::SaveCosThetaTHist", "Histogram saved.");
hName.Form("hicoskT%d_%d_%d%d", interval, chain, kMinAngle, kMaxAngle);
hicoskT[interval][chain]->SetName(hName.Data());
hicoskT[interval][chain]->Write();
Info("BeAnalysis::SaveCosThetaTHist", "Histogram saved.");
}
fw.Close();
......
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