add TNtuple subclass and example