From 42e0b95a1a329e89e3365523bdaf81cfa04a2571 Mon Sep 17 00:00:00 2001 From: Vratislav Chudoba Date: Thu, 4 Oct 2018 01:17:29 +0300 Subject: [PATCH] First picture for IZV RAS practically finished --- macros/izvRAN/.rootrc | 21 +++++ macros/izvRAN/figSpectraIZV.cxx | 76 +++++++++++++++ macros/izvRAN/figures/spectra50new.root | Bin 0 -> 10752 bytes macros/izvRAN/load_libs.cxx | 47 ++++++++++ macros/izvRAN/rootlogonIZV.C | 117 ++++++++++++++++++++++++ 5 files changed, 261 insertions(+) create mode 100644 macros/izvRAN/.rootrc create mode 100755 macros/izvRAN/figSpectraIZV.cxx create mode 100755 macros/izvRAN/figures/spectra50new.root create mode 100644 macros/izvRAN/load_libs.cxx create mode 100644 macros/izvRAN/rootlogonIZV.C diff --git a/macros/izvRAN/.rootrc b/macros/izvRAN/.rootrc new file mode 100644 index 0000000..0e1061d --- /dev/null +++ b/macros/izvRAN/.rootrc @@ -0,0 +1,21 @@ +# Default histogram binnings for TTree::Draw(). + +#Rint.Logon: ./rootlogonThesis.C +#Rint.Logon: ./rootlogon6panels.C +#Rint.Logon: ./rootlogonPresentation.C +Rint.Logon: ./rootlogonIZV.C +#Rint.Logon: ./rootlogonThesis4panels.C +#Rint.Logon: ./rootlogonPAC.C + +#Gui.DefaultFont: -adobe-helvetica-medium-r-*-*-12-*-*-*-*-*-iso8859-5 + +Canvas.ShowToolBar: true +Canvas.ShowEditor: true + +Hist.Binning.1D.x: 100 + +#Hist.Binning.2D.x: 40 +Hist.Binning.2D.x: 100 +#Hist.Binning.2D.y: 40 +Hist.Binning.2D.y: 100 +Hist.Binning.2D.Prof: 100 \ No newline at end of file diff --git a/macros/izvRAN/figSpectraIZV.cxx b/macros/izvRAN/figSpectraIZV.cxx new file mode 100755 index 0000000..1e26649 --- /dev/null +++ b/macros/izvRAN/figSpectraIZV.cxx @@ -0,0 +1,76 @@ +#if !defined(__CLING__) + +#include "TFile.h" +#include "TCanvas.h" +#include "TH1F.h" + +#endif + +void figSpectraIZV() +{ + +// TFile *fr = new TFile("figures/spectra.root", "READ"); +// TFile *fr = new TFile("figures/spectra100new.root", "READ"); + TFile *fr = new TFile("figures/spectra50new.root", "READ"); + +// fr->ls(); + + TH1F *hExp[4]; + TH1F *hSim[4]; + + TH1F *hCurr = 0; + + TString heName; + TString hsName; + + hCurr = (TH1F*)fr->Get("heSpectrum4560"); + hExp[0] = new TH1F(*hCurr); + hCurr = (TH1F*)fr->Get("heSpectrum6075"); + hExp[1] = new TH1F(*hCurr); + hCurr = (TH1F*)fr->Get("heSpectrum7590"); + hExp[2] = new TH1F(*hCurr); + hCurr = (TH1F*)fr->Get("heSpectrum90120"); + hExp[3] = new TH1F(*hCurr); + + + hCurr = (TH1F*)fr->Get("hsSpectrum4560"); + hSim[0] = new TH1F(*hCurr); + hCurr = (TH1F*)fr->Get("hsSpectrum6075"); + hSim[1] = new TH1F(*hCurr); + hCurr = (TH1F*)fr->Get("hsSpectrum7590"); + hSim[2] = new TH1F(*hCurr); + hCurr = (TH1F*)fr->Get("hsSpectrum90120"); + hSim[3] = new TH1F(*hCurr); + + + + TCanvas *c1 = new TCanvas(); + c1->ToggleEditor(); +// c1->SetWindowSize(800, 1200); +// c1->SetWindowSize(800, 800); + c1->SetWindowSize(1333, 787); + c1->Divide(2, 2, .001, .001); + + + for (Int_t i = 0; i < 4; i++) { + c1->cd(i+1); + + hExp[i]->SetTitle(""); + hSim[i]->SetTitle(""); + + hSim[i]->SetXTitle("#it{E}, MeV"); + hSim[i]->Smooth(); + hExp[i]->SetLineWidth(2); + hSim[i]->SetLineColor(kGray+1); + + + + hSim[i]->Draw(""); + hExp[i]->Draw("E same"); + + if (i==0) hSim[i]->GetYaxis()->SetRangeUser(0,13000); + } + +// c1->SaveAs("figures/spectra.eps"); + +} diff --git a/macros/izvRAN/figures/spectra50new.root b/macros/izvRAN/figures/spectra50new.root new file mode 100755 index 0000000000000000000000000000000000000000..e28193533ad9e48b4215e018d9007f60bed2607f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KiTc)9e^j1J+71_m0t zayvZfSjJ$Z5k}6%*TpcU!VR1y5;oR24ToNA3{C9{)h*ikMXIDGTk2|*5?ssfuR1m` zi@sFa0fBf$hyw(&Gk>79sjDv)Wzz-e81!;*38y{LiN0V=efVa0!P&J^;^ol(5x|%# ztKULm_rMB~V>0^m6j69j7G>q!iaFy|HFcA0mOh<#bLvjj=zjPO_OG>JUZL+RGrX&H z&)8#*&7EjTPR^@idMjJ`=3)66F|+tuCVR#r(3*y4>ml=BhXFFfK6OB$D{h{fv~UU1 zcj`w3*!;`>RBa}^ls3lChxd#ioxQ`nv(_SgkpNpQAJ$4DR{JF|Az?UzoNmGGFaYJa zU>&bO2I2IAoQ(_(2W$L|&$yFheL1;x2adIajrAj(aq-A;+g}BpI0b~%^*JaGb+?mP zmz#(Ii-0QUMCRbnTLmHqCk%KL;Fla_IyIXt+cqS+7Qs|LgIL@f6JCSY!W$&(zBI>Z z>sOp5_>ogMgPFlZdnXH}i-Load("libTree") ) { +// Error("load_libs.cxx", "libTree.so was not loaded"); +// return; +// } + if ( gSystem->Load("../../libAculData.so") ) { + Error("load_libs.cxx", "libAculData.so was not loaded"); + return; + } + if ( gSystem->Load("../../libTELoss.so") ) { + Error("load_libs.cxx", "libTELoss.so was not loaded"); + return; + } + if ( gSystem->Load("../../libDetectors.so") ) { + Error("load_libs.cxx", "libDetectors.so was not loaded"); + return; + } + + +// if ( gSystem->Load("~/work/Eclipse/makefilesBe/libThreads.so") ) { +// Error("load_libs.cxx", "libThreads.so was not loaded"); +// return; +// } + + + if ( gSystem->Load("../../libBe.so") ) { + Error("load_libs.cxx", "libBe.so was not loaded"); + return; + } + +// if ( gSystem->Load("~/work/Eclipse/makefilesBe/libThreads.so") ) { +// Error("load_libs.cxx", "libThreads.so was not loaded"); +// return; +// } + + + + Info("load_libs.cxx", "Libraries loaded"); + +} diff --git a/macros/izvRAN/rootlogonIZV.C b/macros/izvRAN/rootlogonIZV.C new file mode 100644 index 0000000..c30c550 --- /dev/null +++ b/macros/izvRAN/rootlogonIZV.C @@ -0,0 +1,117 @@ +#if !defined(__CLING__) + +#include "TROOT.h" +#include "TStyle.h" + +#endif + +void rootlogonIZV() +{ + + Info("rootlogonIZV.C", "This settings are used to make a nice pictures for IZV RAS"); + + gROOT->ProcessLine(".x load_libs.cxx"); + + //gStyle choice +// gROOT->SetStyle("Default"); +// gROOT->SetStyle("Classic"); + gROOT->SetStyle("Plain"); +// gROOT->SetStyle("Bold"); +// gROOT->SetStyle("Video"); + +// return; + +// gStyle->SetOptStat("n"); +// gStyle->SetOptStat("ne"); + gStyle->SetOptStat(""); + + //canvas size and position +// gStyle->SetCanvasDefX(85); +// gStyle->SetCanvasDefY(224); + +// gStyle->SetCanvasDefW(649); +// gStyle->SetCanvasDefH(727); + + //marker attributes + gStyle->SetMarkerStyle(20); + gStyle->SetMarkerSize(0.1); + gStyle->SetMarkerColor(1); + +// gStyle->SetLabelOffset(0.55, "X"); + + gStyle->SetLabelSize(0.06, "X"); +// gStyle->SetLabelSize(0.07, "X"); + gStyle->SetTitleSize(0.07, "X"); +// gStyle->SetTitleSize(0.11, "X"); + gStyle->SetTitleOffset(0.89, "X"); +// gStyle->SetTitleOffset(0.55, "X"); +// gStyle->SetTitleXSize(0.11); + + gStyle->SetLabelSize(0.06, "Y"); +// gStyle->SetLabelSize(0.07, "Y"); + gStyle->SetTitleSize(0.11, "Y"); + gStyle->SetTitleOffset(0.61, "Y"); + gStyle->SetTitleYSize(0.11); + + + + //line attributes + gStyle->SetHistLineWidth(1); +// gStyle->SetHistLineWidth(2); +// gStyle->SetHistLineWidth(3); + + gStyle->SetTitleBorderSize(0); + + gStyle->SetFrameLineWidth(0); + + + gStyle->SetTitleFont(132, "X"); + gStyle->SetTitleFont(132, "Y"); + gStyle->SetLabelFont(132, "X"); + gStyle->SetLabelFont(132, "Y"); + + gStyle->SetPadTopMargin(0.04); + gStyle->SetPadBottomMargin(0.13); + gStyle->SetPadLeftMargin(0.13); + gStyle->SetPadRightMargin(0.03); +// gStyle->SetTitleOffset(1.3, "Y"); +// gStyle->SetLabelSize(0.05, "X"); +// gStyle->SetLabelSize(0.05, "Y"); +// gStyle->SetTitleSize(0.06, "X"); +// gStyle->SetTitleSize(0.06, "Y"); + +// + + gROOT->ForceStyle(); + + return; + + //parameters used for pictures in EXON paper +// gStyle->SetStatBorderSize(0); +// gStyle->SetTitleBorderSize(0); +// gStyle->SetTitleAlign(12); +// gStyle->SetTitleX(0.83); +// gStyle->SetTitleY(0.85); + gStyle->SetTitleX(0.83); //for Fig2 + gStyle->SetTitleY(0.9); //for Fig2 + gStyle->SetTitleFontSize(0.08); +// gStyle->SetTitleFillColor(0); +// gStyle->SetLineWidth(1); +// gStyle->SetHistLineWidth(1); + gStyle->SetHistLineWidth(3); + gStyle->SetPadTopMargin(0.05); + gStyle->SetPadBottomMargin(0.13); + gStyle->SetPadLeftMargin(0.14); + gStyle->SetPadRightMargin(0.05); + gStyle->SetTitleOffset(1.3, "Y"); + gStyle->SetLabelSize(0.05, "X"); + gStyle->SetLabelSize(0.05, "Y"); + gStyle->SetTitleSize(0.06, "X"); + gStyle->SetTitleSize(0.06, "Y"); + + +// gStyle->SetAxisColor(1); + gStyle->SetLabelColor(1, "X"); + gStyle->SetLabelColor(1, "Y"); + +} -- 2.18.1