thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
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
14#include "ThePEG/Utilities/Exception.h"
15
26namespace ThePEG {
27
32namespace Helicity {
33
37enum class SpinorType {
38 u,
39 v,
40 unknown
41};
42
51};
52
55class HelicityLogicalError: public Exception {};
56
58class HelicityConsistencyError: public Exception {};
61}
62}
63
64#endif /* THEPEG_HelicityDefinitions_H */
This is the main config header file for ThePEG.
Exception is the base class for all exceptions to be used in ThePEG.
Definition: Exception.h:44
SpinorType
Enumeration to specify spinor type.
@ unknown
Undefined spinor type.
VectorPhase
Definition of the enumerated values of the phase to include in the calculation of the polarization ve...
@ vector_phase
Include the phase factor.
@ vector_nophase
No phase-factor.
@ default_vector_phase
Default option.
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28