This macro provides an example of using a trained model with Keras and make inference using SOFIE and RDataFrame This macro uses as input a Keras model generated with the TMVA_Higgs_Classification.C tutorial You need to run that macro before to generate the trained Keras model Then you need to run the macro TMVA_SOFIE_Keras_HiggsModel.C to generate the corresponding header file using SOFIE. 
Execute in this order: 
root TMVA_Higgs_Classification.C
root TMVA_SOFIE_RDataFrame.C
 
 
#include "Higgs_trained_model.hxx"
 
 
void nthreads = 2){
 
 
 
   std::cout << 
"Running using " << 
nslots << 
" threads" << std::endl;
 
                            {"m_jj", "m_jjj", "m_lv", "m_jlv", "m_bb", "m_wbb", "m_wwbb"})
                .Histo1D({"h_sig", "", 100, 0, 1}, "DNN_Value");
 
   auto nslots),
                            {"m_jj", "m_jjj", "m_lv", "m_jlv", "m_bb", "m_wbb", "m_wwbb"})
                .Histo1D({"h_bkg", "", 100, 0, 1}, "DNN_Value");
 
   kBlue);
 
 
   h2->DrawClone();
 
}
#define R__ADD_INCLUDE_PATH(PATH)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
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...
 
   - Author
 - Lorenzo Moneta 
 
Definition in file TMVA_SOFIE_RDataFrame.C.