#include #include #include #include #include #include int reader() { // TFile *f1 = TFile::Open("output.root"); auto f = new TFile("output.root"); auto T = (TTree*)f->Get("MONTECARLO"); //eventNumber_ Int_t n_events=(Int_t)T->GetEntries(); cout<<"number of event : "<GetEntry(i)<