updated ntuple version
added pat loop to example
updated TTHPAT