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

Weyl spinor product. More...

#include <SpinorHelicity.h>

Inheritance diagram for Herwig::SpinorHelicity::SpinorProduct< Type, Value >:

Public Types

typedef SpinorMultiplicationTraits< Value >::ComplexResultType ResultType
 
typedef WeylSpinor< Type, Value > LeftSpinorType
 
typedef WeylSpinorTraits< Type >::ConjugateSpinorTag RightSpinorTag
 
typedef WeylSpinor< RightSpinorTag, Value > RightSpinorType
 

Public Member Functions

 SpinorProduct (const LeftSpinorType &left, const RightSpinorType &right)
 Construct from two spinors; note that the spinor metric is included, when constructing spinors. More...
 
 operator ResultType () const
 Implicitly convert to complex value.
 
ResultType eval () const
 Return result.
 
SpinorProductoperator+= (const SpinorProduct &other)
 
SpinorProductoperator-= (const SpinorProduct &other)
 
SpinorProductoperator*= (double x)
 
SpinorProductoperator*= (complex< double > x)
 

Private Attributes

ResultType theResult
 The result.
 

Detailed Description

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

Weyl spinor product.

Author
Simon Platzer

Definition at line 252 of file SpinorHelicity.h.

Constructor & Destructor Documentation

◆ SpinorProduct()

template<class Type , class Value >
Herwig::SpinorHelicity::SpinorProduct< Type, Value >::SpinorProduct ( const LeftSpinorType left,
const RightSpinorType right 
)
inlineexplicit

Construct from two spinors; note that the spinor metric is included, when constructing spinors.

Typedefs break zero products like <p|q]

Definition at line 279 of file SpinorHelicity.h.


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