From 1bac8ae13339db26282953014d04082285d3f4bb Mon Sep 17 00:00:00 2001 From: Danilo Piparo <danilo.piparo@cern.ch> Date: Sat, 29 Sep 2018 12:56:26 +0200 Subject: [PATCH] [DF] Improve tutorials doc --- tutorials/dataframe/df017_vecOpsHEP.C | 2 +- tutorials/dataframe/df017_vecOpsHEP.py | 2 +- tutorials/dataframe/df022_useKahan.C | 3 --- tutorials/dataframe/df102_NanoAODDimuonAnalysis.C | 2 +- 4 files changed, 3 insertions(+), 6 deletions(-) diff --git a/tutorials/dataframe/df017_vecOpsHEP.C b/tutorials/dataframe/df017_vecOpsHEP.C index b3007bf3c6e..c467f8f864d 100644 --- a/tutorials/dataframe/df017_vecOpsHEP.C +++ b/tutorials/dataframe/df017_vecOpsHEP.C @@ -8,8 +8,8 @@ /// We want to plot the transverse momentum of these particles if the energy is /// greater than 100. /// -/// \macro_image /// \macro_code +/// \macro_image /// /// \date March 2018 /// \author Danilo Piparo, Andre Vieira Silva diff --git a/tutorials/dataframe/df017_vecOpsHEP.py b/tutorials/dataframe/df017_vecOpsHEP.py index 5d7f1649948..c213c612c0d 100644 --- a/tutorials/dataframe/df017_vecOpsHEP.py +++ b/tutorials/dataframe/df017_vecOpsHEP.py @@ -4,8 +4,8 @@ ## This tutorial shows how VecOps can be used to slim down the programming ## model typically adopted in HEP for analysis. ## -## \macro_image ## \macro_code +## \macro_image ## ## \date March 2018 ## \author Danilo Piparo, Andre Vieira Silva diff --git a/tutorials/dataframe/df022_useKahan.C b/tutorials/dataframe/df022_useKahan.C index 27a194cf46e..f0c4a2e8478 100644 --- a/tutorials/dataframe/df022_useKahan.C +++ b/tutorials/dataframe/df022_useKahan.C @@ -78,9 +78,6 @@ public: void df022_useKahan() { - static constexpr double c1 = 1. / 100000000; - static constexpr double c2 = 1. * 100000000; - // We enable implicit parallelism ROOT::EnableImplicitMT(2); diff --git a/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C b/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C index 817d408a7f9..190f72ef510 100644 --- a/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C +++ b/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C @@ -90,7 +90,7 @@ void df102_NanoAODDimuonAnalysis() h.GetXaxis()->SetTitleSize(0.04); h.GetYaxis()->SetTitle("N_{Events}"); h.GetYaxis()->SetTitleSize(0.04); - h.Draw(); + h.DrawClone(); TLatex label; label.SetNDC(true); -- GitLab