thepeg is hosted by Hepforge, IPPP Durham
ThePEG  2.2.1
HelicityDefinitions.h
Go to the documentation of this file.
1 // -*- C++ -*-
2 //
3 // HelicityDefinitions.h is a part of ThePEG - Toolkit for HEP Event Generation
4 // Copyright (C) 2003-2019 Peter Richardson, 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_HelicityDefinitions_H
10 #define THEPEG_HelicityDefinitions_H
11 // This is the declaration of the HelicityDefinitions class.
12 
13 #include "ThePEG/Config/ThePEG.h"
14 #include "ThePEG/Utilities/Exception.h"
15 
26 namespace ThePEG {
27 
32 namespace Helicity {
33 
37 enum class SpinorType {
38  u,
39  v,
40  unknown
41 };
42 
51 };
52 
55 class HelicityLogicalError: public Exception {};
56 
58 class HelicityConsistencyError: public Exception {};
61 }
62 }
63 
64 #endif /* THEPEG_HelicityDefinitions_H */
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28
This is the main config header file for ThePEG.
Include the phase factor.
VectorPhase
Definition of the enumerated values of the phase to include in the calculation of the polarization ve...
SpinorType
Enumeration to specify spinor type.
Exception is the base class for all exceptions to be used in ThePEG.
Definition: Exception.h:44