#include "TROOT.h" #include "TFile.h" #include "example.cc" void run_example(){ TString filename = "ECAL_200GeV_muons_build.root"; example ss(filename); TString output_folder="./"; double mipcut=0.5; int minimun_nslabs_with_hit=6; ss.ShowerDistributions(output_folder, "200GeV_muons", mipcut, minimun_nslabs_with_hit); gSystem->Exit(0); }