Fix bug with multiple files

* When input is a list of file, only the first file was read and all the
subsequent events were the last one of the first TTree.
* Change execution mode of NA62AnalysisBuilder.py