Compare leaves of trees in two files
The added macro is meant to compare the data stored in trees of two different files for identity. The macro generates a list of all relevant leaves of one of the trees, loops over all these leaves and draws the difference of the data in the leaves of the two different files. If the data is identical the result is a histogram with a delta function at 0 which can easily be detected. The macro returns 0 in case all detected leaves are identical and a non zero value if this isn't the case.
macro/tools/TreeCompareAuto.C
0 → 100644
Please register or sign in to comment