A PSet class and common header file