29#include "Higgs_trained_model.hxx"
36 std::string inputFileName =
"Higgs_data.root";
37 std::string inputFile =
"http://root.cern.ch/files/" + inputFileName;
42 int nslots = df1.GetNSlots();
43 std::cout <<
"Running using " << nslots <<
" threads" << std::endl;
44 auto h1 = df1.DefineSlot(
"DNN_Value", SofieFunctor<7, TMVA_SOFIE_Higgs_trained_model::Session>(nslots),
45 {
"m_jj",
"m_jjj",
"m_lv",
"m_jlv",
"m_bb",
"m_wbb",
"m_wwbb"})
46 .Histo1D({
"h_sig",
"", 100, 0, 1},
"DNN_Value");
49 nslots = df2.GetNSlots();
50 auto h2 = df2.DefineSlot(
"DNN_Value", SofieFunctor<7, TMVA_SOFIE_Higgs_trained_model::Session>(nslots),
51 {
"m_jj",
"m_jjj",
"m_lv",
"m_jlv",
"m_bb",
"m_wbb",
"m_wwbb"})
52 .Histo1D({
"h_bkg",
"", 100, 0, 1},
"DNN_Value");
55 h2->SetLineColor(
kBlue);
#define R__ADD_INCLUDE_PATH(PATH)
R__EXTERN TStyle * gStyle
ROOT's RDataFrame offers a modern, high-level interface for analysis of data stored in TTree ,...
virtual void SetLineColor(Color_t lcolor)
Set the line color.
virtual TObject * DrawClone(Option_t *option="") const
Draw a clone of this object in the current selected pad with: gROOT->SetSelectedPad(c1).
void SetOptStat(Int_t stat=1)
The type of information printed in the histogram statistics box can be selected via the parameter mod...
void EnableImplicitMT(UInt_t numthreads=0)
Enable ROOT's implicit multi-threading for all objects and methods that provide an internal paralleli...