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){