herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
Herwig::SpinorHelicity::WeylSpinor< Type, Value > Class Template Reference

Base class for Weyl spinors. More...

#include <SpinorHelicity.h>

Public Types

typedef complex< Value > ComplexType
 
typedef pair< ComplexType, ComplexType > ComponentsType
 
typedef Type Tag
 
typedef WeylSpinorTraits< Tag > Traits
 
typedef Value ValueType
 

Public Member Functions

 WeylSpinor (const ComponentsType &c=ComponentsType())
 Construct from components.
 
template<class MValue >
 WeylSpinor (const LorentzVector< MValue > &p)
 Construct from momentum.
 
const ComponentsType & components () const
 Return the components.
 
const ComplexType & s1 () const
 Return the first component.
 
const ComplexType & s2 () const
 Return the second component.
 

Private Attributes

ComponentsType theComponents
 The components.
 

Detailed Description

template<class Type, class Value>
class Herwig::SpinorHelicity::WeylSpinor< Type, Value >

Base class for Weyl spinors.

Author
Simon Platzer

Definition at line 183 of file SpinorHelicity.h.

Member Typedef Documentation

◆ ComplexType

template<class Type , class Value >
typedef complex<Value> Herwig::SpinorHelicity::WeylSpinor< Type, Value >::ComplexType

Definition at line 187 of file SpinorHelicity.h.

◆ ComponentsType

template<class Type , class Value >
typedef pair<ComplexType,ComplexType> Herwig::SpinorHelicity::WeylSpinor< Type, Value >::ComponentsType

Definition at line 188 of file SpinorHelicity.h.

◆ Tag

template<class Type , class Value >
typedef Type Herwig::SpinorHelicity::WeylSpinor< Type, Value >::Tag

Definition at line 189 of file SpinorHelicity.h.

◆ Traits

template<class Type , class Value >
typedef WeylSpinorTraits<Tag> Herwig::SpinorHelicity::WeylSpinor< Type, Value >::Traits

Definition at line 190 of file SpinorHelicity.h.

◆ ValueType

template<class Type , class Value >
typedef Value Herwig::SpinorHelicity::WeylSpinor< Type, Value >::ValueType

Definition at line 191 of file SpinorHelicity.h.

Constructor & Destructor Documentation

◆ WeylSpinor() [1/2]

template<class Type , class Value >
Herwig::SpinorHelicity::WeylSpinor< Type, Value >::WeylSpinor ( const ComponentsType &  c = ComponentsType())
inlineexplicit

Construct from components.

Definition at line 205 of file SpinorHelicity.h.

◆ WeylSpinor() [2/2]

template<class Type , class Value >
template<class MValue >
Herwig::SpinorHelicity::WeylSpinor< Type, Value >::WeylSpinor ( const LorentzVector< MValue > &  p)
inlineexplicit

Construct from momentum.

Definition at line 212 of file SpinorHelicity.h.

Member Function Documentation

◆ components()

template<class Type , class Value >
const ComponentsType & Herwig::SpinorHelicity::WeylSpinor< Type, Value >::components ( ) const
inline

Return the components.

Definition at line 218 of file SpinorHelicity.h.

References Herwig::SpinorHelicity::WeylSpinor< Type, Value >::theComponents.

◆ s1()

template<class Type , class Value >
const ComplexType & Herwig::SpinorHelicity::WeylSpinor< Type, Value >::s1 ( ) const
inline

Return the first component.

Definition at line 223 of file SpinorHelicity.h.

References Herwig::SpinorHelicity::WeylSpinor< Type, Value >::theComponents.

◆ s2()

template<class Type , class Value >
const ComplexType & Herwig::SpinorHelicity::WeylSpinor< Type, Value >::s2 ( ) const
inline

Return the second component.

Definition at line 228 of file SpinorHelicity.h.

References Herwig::SpinorHelicity::WeylSpinor< Type, Value >::theComponents.

Member Data Documentation

◆ theComponents

template<class Type , class Value >
ComponentsType Herwig::SpinorHelicity::WeylSpinor< Type, Value >::theComponents
private

The documentation for this class was generated from the following file: