2021-12-16 10:30:38 -05:00
|
|
|
#include "TChain.h"
|
|
|
|
|
|
|
|
void ChainAnalysis(){
|
|
|
|
|
|
|
|
TChain * chain = new TChain("tree");
|
|
|
|
|
2021-12-16 15:24:18 -05:00
|
|
|
/******************/
|
2021-12-16 10:30:38 -05:00
|
|
|
|
2021-12-16 15:24:18 -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();
|
2021-12-16 15:24:18 -05:00
|
|
|
printf("\033[m");
|
2021-12-16 10:30:38 -05:00
|
|
|
chain->Process("Analyzer.C+");
|
|
|
|
|
|
|
|
|
|
|
|
}
|