210
210
else if(phaseModel == "timevarying") return normal;
211
211
else if(phaseModel == "electrostatic") return electrostatic;
212
212
else if(phaseModel == "nofield"||phaseModel == "none") return noField;
213
else throw(Squeal(Squeal::recoverable, "Did not recognise field phasing model "+phaseModel, "BTPillBox::SetFieldDuringPhasing"));
213
else throw(MAUS::Exception(MAUS::Exception::recoverable, "Did not recognise field phasing model "+phaseModel, "BTPillBox::SetFieldDuringPhasing"));