thepeg is hosted by Hepforge, IPPP Durham
ThePEG 2.3.0
ScalarSpinInfo.h
1// -*- C++ -*-
2//
3// ScalarSpinInfo.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_ScalarSpinInfo_H
10#define ThePEG_ScalarSpinInfo_H
11// This is the declaration of the ScalarSpinInfo class.
12
13#include "ThePEG/EventRecord/SpinInfo.h"
14#include "ScalarSpinInfo.fh"
15
16namespace ThePEG {
17namespace Helicity {
18
27class ScalarSpinInfo: public SpinInfo {
28
29public:
30
37
43 ScalarSpinInfo(const Lorentz5Momentum & p, bool time)
44 : SpinInfo(PDT::Spin0, p, time) {}
46
47public:
48
52 static void Init();
53
57 virtual EIPtr clone() const
58 {
59 tcSpinPtr temp = this;
60 return const_ptr_cast<SpinPtr>(temp);
61 }
62
66 virtual void transform(const LorentzMomentum &,const LorentzRotation &);
67
68private:
69
74
75};
76
77}
78}
79
80
81namespace ThePEG {
82
83}
84#endif /* ThePEG_ScalarSpinInfo_H */
The ScalarSpinInfo class is designed to be the implementation of the spin information for a scalar pa...
ScalarSpinInfo()
Default constructor.
virtual void transform(const LorentzMomentum &, const LorentzRotation &)
Perform a lorentz rotation of the spin information.
virtual EIPtr clone() const
Standard clone methods.
static void Init()
Standard Init function.
ScalarSpinInfo(const Lorentz5Momentum &p, bool time)
Standard Constructor.
ScalarSpinInfo & operator=(const ScalarSpinInfo &)=delete
Private and non-existent assignment operator.
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
PDT is a helper class implementing enumerations for charge, colour and spin to be used by the Particl...
Definition: PDT.h:24
RCPtr is a reference counted (smart) pointer.
Definition: RCPtr.h:60
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition: RCPtr.h:696
The SpinInfo is the base class for the spin information for the spin correlation algorithm.
Definition: SpinInfo.h:58
This is the main namespace within which all identifiers in ThePEG are declared.
Definition: FactoryBase.h:28