Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/ThePEG/Utilities/SimplePhaseSpace.xh is written in an unsupported language. File is not indexed.

0001 // -*- C++ -*-
0002 //
0003 // SimplePhaseSpace.xh is a part of ThePEG - Toolkit for HEP Event Generation
0004 // Copyright (C) 1999-2019 Leif Lonnblad
0005 //
0006 // ThePEG is licenced under version 3 of the GPL, see COPYING for details.
0007 // Please respect the MCnet academic guidelines, see GUIDELINES for details.
0008 //
0009 #ifndef ThePEG_SimplePhaseSpace_XH
0010 #define ThePEG_SimplePhaseSpace_XH
0011 
0012 // #include "SimplePhaseSpace.fh"
0013 
0014 namespace ThePEG {
0015 
0016 /** @cond EXCEPTIONCLASSES */
0017 /** Exception class used by SimplePhaseSpace. */
0018 struct ImpossibleKinematics: public std::runtime_error {
0019   /** Constructor. */
0020   ImpossibleKinematics()
0021     : runtime_error("Impossible kinematics in SimplePhaseSpace.") {
0022     breakThePEG();
0023   }
0024 };
0025 /** @endcond */
0026 
0027 }
0028 
0029 #endif /* ThePEG_SimplePhaseSpace_XH */
0030