PTPattern-class function

The PTPattern class