XIAEventBuilder/ChainAnalysis.C

21 lines
322 B
C++
Raw Permalink Normal View History

2021-12-16 10:30:38 -05:00
#include "TChain.h"
void ChainAnalysis(){
TChain * chain = new TChain("tree");
/******************/
2021-12-16 10:30:38 -05:00
//chain->Add("Dec15-07-00[0-9].root");
chain->Add("ti74pt7a-*.root");
/******************/
printf("\033[31m");
2021-12-16 10:30:38 -05:00
chain->GetListOfFiles()->Print();
printf("\033[m");
2021-12-16 10:30:38 -05:00
chain->Process("Analyzer.C+");
}