From ee12776cc5255f3a1e2ccb5dbdb8db3788fee961 Mon Sep 17 00:00:00 2001 From: Danilo Piparo <danilo.piparo@cern.ch> Date: Wed, 5 Sep 2018 15:05:27 +0200 Subject: [PATCH] [DF] Draw the plots in the tutorial notebooks --- tutorials/dataframe/df003_profiles.C | 2 +- tutorials/dataframe/df003_profiles.py | 2 +- tutorials/dataframe/df005_fillAnyObject.C | 2 +- tutorials/dataframe/df006_ranges.C | 2 +- tutorials/dataframe/df007_snapshot.C | 2 +- tutorials/dataframe/df007_snapshot.py | 2 +- tutorials/dataframe/df010_trivialDataSource.C | 2 +- tutorials/dataframe/df010_trivialDataSource.py | 2 +- tutorials/dataframe/df011_ROOTDataSource.C | 2 +- tutorials/dataframe/df011_ROOTDataSource.py | 2 +- tutorials/dataframe/df013_InspectAnalysis.C | 2 +- tutorials/dataframe/df014_CSVDataSource.C | 2 +- tutorials/dataframe/df014_CSVDataSource.py | 2 +- tutorials/dataframe/df015_LazyDataSource.C | 2 +- tutorials/dataframe/df021_createTGraph.C | 2 +- tutorials/dataframe/df102_NanoAODDimuonAnalysis.C | 2 +- 16 files changed, 16 insertions(+), 16 deletions(-) diff --git a/tutorials/dataframe/df003_profiles.C b/tutorials/dataframe/df003_profiles.C index 05ffc22baff..6ea2d46b838 100644 --- a/tutorials/dataframe/df003_profiles.C +++ b/tutorials/dataframe/df003_profiles.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook -nodraw +/// \notebook -draw /// This tutorial illustrates how to use TProfiles in combination with the /// RDataFrame. See the documentation of TProfile and TProfile2D to better /// understand the analogy of this code with the example one. diff --git a/tutorials/dataframe/df003_profiles.py b/tutorials/dataframe/df003_profiles.py index 2f67121c41c..222eadb3fab 100644 --- a/tutorials/dataframe/df003_profiles.py +++ b/tutorials/dataframe/df003_profiles.py @@ -1,6 +1,6 @@ ## \file ## \ingroup tutorial_dataframe -## \notebook -nodraw +## \notebook -draw ## This tutorial illustrates how to use TProfiles in combination with the ## RDataFrame. See the documentation of TProfile and TProfile2D to better ## understand the analogy of this code with the example one. diff --git a/tutorials/dataframe/df005_fillAnyObject.C b/tutorials/dataframe/df005_fillAnyObject.C index e8684f13188..acd2c7c3c92 100644 --- a/tutorials/dataframe/df005_fillAnyObject.C +++ b/tutorials/dataframe/df005_fillAnyObject.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook -nodraw +/// \notebook -draw /// This tutorial shows how to fill any object the class of which exposes a /// `Fill` method. /// \macro_code diff --git a/tutorials/dataframe/df006_ranges.C b/tutorials/dataframe/df006_ranges.C index 48b32782729..0267b9a68a1 100644 --- a/tutorials/dataframe/df006_ranges.C +++ b/tutorials/dataframe/df006_ranges.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook -nodraw +/// \notebook -draw /// This tutorial shows how to express the concept of ranges when working with the RDataFrame. /// \macro_code /// diff --git a/tutorials/dataframe/df007_snapshot.C b/tutorials/dataframe/df007_snapshot.C index 9d8ca48e961..e66e1d3a85f 100644 --- a/tutorials/dataframe/df007_snapshot.C +++ b/tutorials/dataframe/df007_snapshot.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook +/// \notebook -draw /// This tutorial shows how to write out datasets in ROOT formatusing the RDataFrame /// \macro_code /// diff --git a/tutorials/dataframe/df007_snapshot.py b/tutorials/dataframe/df007_snapshot.py index 8f4e3d8477b..30d70a28b07 100644 --- a/tutorials/dataframe/df007_snapshot.py +++ b/tutorials/dataframe/df007_snapshot.py @@ -1,6 +1,6 @@ ## \file ## \ingroup tutorial_dataframe -## \notebook +## \notebook -draw ## This tutorial shows how to write out datasets in ROOT formatusing the RDataFrame ## \macro_code ## diff --git a/tutorials/dataframe/df010_trivialDataSource.C b/tutorials/dataframe/df010_trivialDataSource.C index c921ddb39d5..81c82c8c97a 100644 --- a/tutorials/dataframe/df010_trivialDataSource.C +++ b/tutorials/dataframe/df010_trivialDataSource.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook +/// \notebook -draw /// This tutorial illustrates how use the RDataFrame in combination with a /// RDataSource. In this case we use a TTrivialDS, which is nothing more /// than a simple generator: it does not interface to any existing dataset. diff --git a/tutorials/dataframe/df010_trivialDataSource.py b/tutorials/dataframe/df010_trivialDataSource.py index aa2f313e53f..7efb8c36444 100644 --- a/tutorials/dataframe/df010_trivialDataSource.py +++ b/tutorials/dataframe/df010_trivialDataSource.py @@ -1,6 +1,6 @@ ## \file ## \ingroup tutorial_dataframe -## \notebook +## \notebook -draw ## This tutorial illustrates how use the RDataFrame in combination with a ## RDataSource. In this case we use a TTrivialDS, which is nothing more ## than a simple generator: it does not interface to any existing dataset. diff --git a/tutorials/dataframe/df011_ROOTDataSource.C b/tutorials/dataframe/df011_ROOTDataSource.C index 4128d6ba45e..01bef0755e3 100644 --- a/tutorials/dataframe/df011_ROOTDataSource.C +++ b/tutorials/dataframe/df011_ROOTDataSource.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook +/// \notebook -draw /// This tutorial illustrates how use the RDataFrame in combination with a /// RDataSource. In this case we use a RRootDS. This data source allows to read /// a ROOT dataset from a RDataFrame in a different way, not based on the diff --git a/tutorials/dataframe/df011_ROOTDataSource.py b/tutorials/dataframe/df011_ROOTDataSource.py index 719f996b639..e5adafcee2b 100644 --- a/tutorials/dataframe/df011_ROOTDataSource.py +++ b/tutorials/dataframe/df011_ROOTDataSource.py @@ -1,6 +1,6 @@ ## \file ## \ingroup tutorial_dataframe -## \notebook +## \notebook -draw ## This tutorial illustrates how use the RDataFrame in combination with a ## RDataSource. In this case we use a TRootDS. This data source allows to read ## a ROOT dataset from a RDataFrame in a different way, not based on the diff --git a/tutorials/dataframe/df013_InspectAnalysis.C b/tutorials/dataframe/df013_InspectAnalysis.C index 019f1031cd7..6c4b83e34e2 100644 --- a/tutorials/dataframe/df013_InspectAnalysis.C +++ b/tutorials/dataframe/df013_InspectAnalysis.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook -nodraw +/// \notebook -draw /// Showcase registration of callback functions that act on partial results while /// the event-loop is running using `OnPartialResult` and `OnPartialResultSlot`. /// This tutorial is not meant to run in batch mode. diff --git a/tutorials/dataframe/df014_CSVDataSource.C b/tutorials/dataframe/df014_CSVDataSource.C index 6203e5ab205..ddd58601ffd 100644 --- a/tutorials/dataframe/df014_CSVDataSource.C +++ b/tutorials/dataframe/df014_CSVDataSource.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook +/// \notebook -draw /// This tutorial illustrates how use the RDataFrame in combination with a /// RDataSource. In this case we use a TCsvDS. This data source allows to read /// a CSV file from a RDataFrame. diff --git a/tutorials/dataframe/df014_CSVDataSource.py b/tutorials/dataframe/df014_CSVDataSource.py index 3d99afccfbf..6b5d77e209b 100644 --- a/tutorials/dataframe/df014_CSVDataSource.py +++ b/tutorials/dataframe/df014_CSVDataSource.py @@ -1,6 +1,6 @@ ## \file ## \ingroup tutorial_dataframe -## \notebook +## \notebook -draw ## This tutorial illustrates how use the RDataFrame in combination with a ## RDataSource. In this case we use a TCsvDS. This data source allows to read ## a CSV file from a RDataFrame. diff --git a/tutorials/dataframe/df015_LazyDataSource.C b/tutorials/dataframe/df015_LazyDataSource.C index 7175cf7c3f2..61f9937dd44 100644 --- a/tutorials/dataframe/df015_LazyDataSource.C +++ b/tutorials/dataframe/df015_LazyDataSource.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook +/// \notebook -draw /// This tutorial illustrates how to take advantage of a *lazy data source* /// creating a data frame from columns of one or multiple parent dataframe(s), /// delaying the creation of the columns to the actual usage of the daughter diff --git a/tutorials/dataframe/df021_createTGraph.C b/tutorials/dataframe/df021_createTGraph.C index 830cc082b53..6c7b6b43dc5 100644 --- a/tutorials/dataframe/df021_createTGraph.C +++ b/tutorials/dataframe/df021_createTGraph.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook +/// \notebook -draw /// This tutorial shows how to fill a TGraph using the Dataframe. /// /// \macro_code diff --git a/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C b/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C index e51acb04a6b..631b6b685fe 100644 --- a/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C +++ b/tutorials/dataframe/df102_NanoAODDimuonAnalysis.C @@ -1,6 +1,6 @@ /// \file /// \ingroup tutorial_dataframe -/// \notebook -nodraw +/// \notebook -draw /// This tutorial illustrates how NanoAOD files can be processed with ROOT /// dataframes. The NanoAOD-like input file is filled with events from /// CMS OpenData containing muon candidates from 2011 data -- GitLab