PTSample-class function

The PTSample class