From 370e43343fbd8b644116b655d1500964a70718ba Mon Sep 17 00:00:00 2001 From: Balogh Laszlo Date: Mon, 30 Oct 2017 14:30:35 +0100 Subject: [PATCH] add and use clean.sh --- clean.sh | 2 ++ src/Plotter.cc | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) create mode 100755 clean.sh diff --git a/clean.sh b/clean.sh new file mode 100755 index 0000000..5be4ee0 --- /dev/null +++ b/clean.sh @@ -0,0 +1,2 @@ +rm *.root +rm -rf bm1d_build diff --git a/src/Plotter.cc b/src/Plotter.cc index b39c6f6..3c27edd 100644 --- a/src/Plotter.cc +++ b/src/Plotter.cc @@ -5,8 +5,8 @@ Plotter::Plotter() fOut = new TFile("result.root", "RECREATE"); canv = new TCanvas("canc","display",800,400); BM1DTree = new TTree("BM1DTree","BM1DTree"); - BM1DTree->Branch("tl",&tl, "tl/D"); - BM1DTree->Branch("xl",&xl, "xl/D"); + BM1DTree->Branch("t",&tl, "t/D"); + BM1DTree->Branch("x",&xl, "x/D"); } void Plotter::Plot(Int_t n, std::vector t, std::vector x){