ParameterSet::getParameter does not allow default values. ParameterSet::getUntrackedParameter allows default values. What we tell people to do now is to use the 'new' ParameterSet validation system (i.e. fillDescriptions) for this.