diff --git a/tutorials/dataframe/tdf001_introduction.C b/tutorials/dataframe/tdf001_introduction.C index cb77f6b02f7d31ee7050470d7c362c0613ccea5c..e9f9e4473bb04a58d68bab50d016c8b69ef1368e 100644 --- a/tutorials/dataframe/tdf001_introduction.C +++ b/tutorials/dataframe/tdf001_introduction.C @@ -11,14 +11,6 @@ /// \author Enrico Guiraud // ## Preparation -// This notebook can be compiled with this invocation -// `g++ -o tdf001_introduction tdf001_introduction.C `root-config --cflags --libs` -lTreePlayer` - -#include "TFile.h" -#include "TH1F.h" -#include "TTree.h" - -#include "ROOT/TDataFrame.hxx" // A simple helper function to fill a test tree: this makes the example // stand-alone. @@ -168,8 +160,3 @@ int tdf001_introduction() return 0; } - -int main() -{ - return tdf001_introduction(); -} diff --git a/tutorials/dataframe/tdf002_dataModel.C b/tutorials/dataframe/tdf002_dataModel.C index 97980a355612ccc66a14ae18f45ce3f9972dd482..5ce65d765d5e41e958f720dbbe396a8e447aab51 100644 --- a/tutorials/dataframe/tdf002_dataModel.C +++ b/tutorials/dataframe/tdf002_dataModel.C @@ -9,21 +9,6 @@ /// \date December 2016 /// \author Danilo Piparo -// ## Preparation -// This notebook can be compiled with this invocation -// `g++ -o tdf002_dataModel tdf002_dataModel.C `root-config --cflags --libs` -lTreePlayer` - -#include "Math/Vector3D.h" -#include "Math/Vector4D.h" -#include "TCanvas.h" -#include "TMath.h" -#include "TRandom3.h" -#include "TFile.h" -#include "TH1D.h" -#include "TTree.h" - -#include "ROOT/TDataFrame.hxx" - using FourVector = ROOT::Math::XYZTVector; using FourVectors = std::vector<FourVector>; using CylFourVector = ROOT::Math::RhoEtaPhiVector; @@ -127,8 +112,3 @@ int tdf002_dataModel() return 0; } - -int main() -{ - return tdf002_dataModel(); -} diff --git a/tutorials/dataframe/tdf004_cutFlowReport.C b/tutorials/dataframe/tdf004_cutFlowReport.C index 69b4183e747b6a86aa798856d961c40e4bb8d8ce..944dead643a884ad87832e6ad196c83e74b426b4 100644 --- a/tutorials/dataframe/tdf004_cutFlowReport.C +++ b/tutorials/dataframe/tdf004_cutFlowReport.C @@ -8,16 +8,6 @@ /// \date December 2016 /// \author Danilo Piparo -#include "Math/Vector3D.h" -#include "Math/Vector4D.h" -#include "TCanvas.h" -#include "TMath.h" -#include "TRandom3.h" -#include "TFile.h" -#include "TTree.h" - -#include "ROOT/TDataFrame.hxx" - using FourVector = ROOT::Math::XYZTVector; using FourVectors = std::vector<FourVector>; using CylFourVector = ROOT::Math::RhoEtaPhiVector; @@ -80,9 +70,3 @@ void tdf004_cutFlowReport() std::cout << "All stats:" << std::endl; d.Report(); } - -int main() -{ - tdf004_cutFlowReport(); - return 0; -}