Read n-tuples in distinct workers, fill histograms, merge them and fit.
We express parallelism with multiprocessing as it is done with multithreading in mt102_readNtuplesFillHistosAndFit.
{
Printf(
" No files in the TChain: did you run mp101_fillNtuples.C before?");
return 1;
}
}
};
return 0;
}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
void Printf(const char *fmt,...)
Formats a string in a circular formatting buffer and prints the string.
This class provides an interface to process a TTree dataset in parallel with multi-process technology...
A chain is a collection of files containing TTree objects.
1-D histogram with a float per channel (see TH1 documentation)
A simple, robust and fast interface to read values from ROOT columnar datasets such as TTree,...
- Date
- January 2016
- Author
- Danilo Piparo
Definition in file mp_readNtuplesFillHistosAndFit.C.