ANASEN_analysis/processRun.C
2024-04-15 13:29:57 -04:00

15 lines
241 B
C

#include "TFile.h"
#include "TString.h"
#include "TROOT.h"
#include "TTree.h"
void processRun(TString runFile){
TFile * file = new TFile(runFile);
TTree * tree = (TTree *) file->Get("tree");
tree->Process("Analyzer.C+");
}