thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
PDFBase.xh
1 // -*- C++ -*-
2 //
3 // PDFBase.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_PDFBase_XH
10 #define ThePEG_PDFBase_XH
11 //
12 // This is the declarations of the exception classes used by the
13 // PDFBase class.
14 //
15 
16 #include "ThePEG/Interface/InterfaceBase.xh"
17 
18 namespace ThePEG {
19 
20 /** @cond EXCEPTIONCLASSES */
21 /** Exception class used by RemnantHandler if unable to handle a
22  specified particle. */
23 struct RemnantHandlerCantHandle: public InterfaceException {
24  /** Standard constructor. */
25  RemnantHandlerCantHandle(string, string);
26 };
27 
28 /** Exception class used by PDFBase if unable to handle a
29  specified particle. */
30 struct PDFWrongParticle: public InterfaceException {
31  /** Standard constructor. */
32  PDFWrongParticle(string p, string pdf, string mess);
33 };
34 
35 /** Exception class used by PDFBase if values were outside limits. */
36 struct PDFRange: public Exception {
37  /** Standard constructor. */
38  PDFRange(string pdf, string var, double val, double lim);
39 };
40 /** @endcond */
41 
42 }
43 
44 #endif /* ThePEG_PDFBase_XH */
45