thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
SimplePhaseSpace.xh
1// -*- C++ -*-
2//
3// SimplePhaseSpace.xh is a part of ThePEG - Toolkit for HEP Event Generation
4// Copyright (C) 1999-2019 Leif Lonnblad
5//
6// ThePEG is licenced under version 3 of the GPL, see COPYING for details.
7// Please respect the MCnet academic guidelines, see GUIDELINES for details.
8//
9#ifndef ThePEG_SimplePhaseSpace_XH
10#define ThePEG_SimplePhaseSpace_XH
11
12// #include "SimplePhaseSpace.fh"
13
14namespace ThePEG {
15
16/** @cond EXCEPTIONCLASSES */
17/** Exception class used by SimplePhaseSpace. */
18struct ImpossibleKinematics: public std::runtime_error {
19 /** Constructor. */
20 ImpossibleKinematics()
21 : runtime_error("Impossible kinematics in SimplePhaseSpace.") {
22 breakThePEG();
23 }
24};
25/** @endcond */
26
27}
28
29#endif /* ThePEG_SimplePhaseSpace_XH */
30