00001 // -*- C++ -*- 00002 // 00003 // SimplePhaseSpace.xh is a part of ThePEG - Toolkit for HEP Event Generation 00004 // Copyright (C) 1999-2007 Leif Lonnblad 00005 // 00006 // ThePEG is licenced under version 2 of the GPL, see COPYING for details. 00007 // Please respect the MCnet academic guidelines, see GUIDELINES for details. 00008 // 00009 #ifndef ThePEG_SimplePhaseSpace_XH 00010 #define ThePEG_SimplePhaseSpace_XH 00011 00012 // #include "SimplePhaseSpace.fh" 00013 00014 namespace ThePEG { 00015 00018 struct ImpossibleKinematics: public std::runtime_error { 00020 ImpossibleKinematics() 00021 : runtime_error("Impossible kinematics in SimplePhaseSpace.") { 00022 breakThePEG(); 00023 } 00024 }; 00027 } 00028 00029 #endif /* ThePEG_SimplePhaseSpace_XH */ 00030