Back to home page

EIC code displayed by LXR

 
 

    


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

0001 // -*- C++ -*-
0002 //
0003 // Direction.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_Direction_XH
0010 #define ThePEG_Direction_XH
0011 //
0012 // This is the declarations of the exception classes used by the
0013 // Direction class.
0014 //
0015 
0016 #include "ThePEG/Utilities/Exception.h"
0017 
0018 namespace ThePEG {
0019 
0020 /** @cond EXCEPTIONCLASSES */
0021 /** Exception class used by Direction when multiple objects of the
0022  *  same direction class is requested. */
0023 struct MultipleDirectionException: public Exception {
0024   /** Constructor */
0025   MultipleDirectionException(int);
0026 };
0027 
0028 /** Exception class used by Direction when an undefined direction is
0029  *  used. */
0030 struct UndefinedDirectionException: public Exception {
0031   /** Constructor */
0032   UndefinedDirectionException(int);
0033 };
0034 /** @endcond */
0035 
0036 }
0037 
0038 #endif /* ThePEG_Direction_XH */
0039