ANASEN_analysis/processRun.C

15 lines
241 B
C++
Raw Normal View History

2024-04-15 13:29:57 -04:00
#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+");
}