9 #ifndef THEPEG_TensorSpinInfo_H
10 #define THEPEG_TensorSpinInfo_H
13 #include "ThePEG/EventRecord/SpinInfo.h"
14 #include "ThePEG/Helicity/LorentzTensor.h"
15 #include "TensorSpinInfo.fh"
108 for(
unsigned int ix=0;ix<5;++ix)
182 struct BaseClassTrait<ThePEG::Helicity::TensorSpinInfo,1>
183 :
public ClassTraitsType {
193 struct ClassTraits<ThePEG::Helicity::TensorSpinInfo>
194 :
public ClassTraitsBase<ThePEG::Helicity::TensorSpinInfo> {
198 static string className() {
return "ThePEG::Helicity::TensorSpinInfo"; }
vector< LorentzTensor< double > > _currentstates
Basis states in the current frame of the particle.
virtual EIPtr clone() const
Standard clone method.
static void Init()
Standard Init function.
PDT is a helper class implementing enumerations for charge, colour and spin to be used by the Particl...
void setDecayState(unsigned int hel, LorentzTensor< double > in) const
Set the basis state for the decay.
The LorentzRotation class combine a SpinOneLorentzRotation and a spin SpinHalfLorentzRotation to prov...
vector< LorentzTensor< double > > _productionstates
Basis states in the frame in which the particle was produced.
This is the main namespace within which all identifiers in ThePEG are declared.
TensorSpinInfo(const Lorentz5Momentum &p, bool time)
Standard Constructor.
A concreate implementation of ClassDescriptionBase describing a concrete class without persistent dat...
static NoPIOClassDescription< TensorSpinInfo > initTensorSpinInfo
Describe a concrete class without persistent data.
const LorentzTensor< double > & getProductionBasisState(unsigned int hel) const
Get the basis state for the production for the given helicity, hel (0,1,2,3,4 as described above...
TensorSpinInfo & operator=(const TensorSpinInfo &)
Private and non-existent assignment operator.
The SpinInfo is the base class for the spin information for the spin correlation algorithm.
void setBasisState(unsigned int hel, LorentzTensor< double > in) const
Set the basis state, this is production state.
RCPtr is a reference counted (smart) pointer.
vector< LorentzTensor< double > > _decaystates
Basis states in the frame in which the particle decays.
const LorentzTensor< double > & getDecayBasisState(unsigned int hel) const
Get the basis state for the decay for the given helicity, hel (0,1,2,3,4 as described above...
The TensorSpinInfo class is the implementation of the spin information for tensor particles...
TensorSpinInfo()
Default constructor.
bool _decaycalc
True if the decay state has been set.
static string className()
Return the name of class T.
int NthBase
The type of the BaseN'th base class (int means there are no further base classes).
virtual void transform(const LorentzMomentum &, const LorentzRotation &)
Perform a lorentz rotation of the spin information.