How to build an analysis program based on C++/ROOT

this is a template which can be helpful to make automatically a C++ program for analysis any number of ROOT trees:

S.Chekanov (ANL)