moved PParams.cpp