herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
SingletonFormFactor.h
1// -*- C++ -*-
2#ifndef HERWIG_SingletonFormFactor_H
3#define HERWIG_SingletonFormFactor_H
4//
5// This is the declaration of the SingletonFormFactor class.
6//
7
8#include "BaryonFormFactor.h"
9#include "ThePEG/PDT/ParticleData.h"
10#include "ThePEG/PDT/ParticleData.h"
11
12namespace Herwig {
13using namespace ThePEG;
14
25
26public:
27
32
33public:
34
42
48 void persistentInput(PersistentIStream & is, int version);
50
54 static void Init();
55
56public:
57
77 virtual void SpinHalfSpinHalfFormFactor(Energy2 q2,int iloc, int id0, int id1,
78 Energy m0, Energy m1,
79 Complex & f1v,Complex & f2v,Complex & f3v,
80 Complex & f1a,Complex & f2a,Complex & f3a,
81 FlavourInfo flavour,
82 Virtuality virt=SpaceLike);
84
91 virtual void dataBaseOutput(ofstream & os,bool header,bool create) const;
92
93protected:
94
101 virtual IBPtr clone() const {return new_ptr(*this);}
102
107 virtual IBPtr fullclone() const {return new_ptr(*this);}
109
110protected:
111
112
120 virtual void doinit();
122
123private:
124
129
130private:
131
135 Energy _mcharm;
136
140 Energy _mstrange;
141
146
151
155 double _thetaxi;
156
160 double _thetaxip;
161
165 vector<Energy> _polemass;
166
170 vector<double> _xi;
171
175 vector<double> _nmM;
176
180 vector<Energy> _mquark;
181
182};
183
184}
185
186#endif /* HERWIG_SingletonFormFactor_H */
The BaryonFormFactor class is the base class for the implementation of the form-factors for the weak ...
Virtuality
Whether the form factor is space- or time-like.
The SingletonFormFactor class implements the form-factors from PRD43, 2939 for the decay of spin-1/2 ...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
vector< double > _xi
The parameter for the form factors.
virtual void SpinHalfSpinHalfFormFactor(Energy2 q2, int iloc, int id0, int id1, Energy m0, Energy m1, Complex &f1v, Complex &f2v, Complex &f3v, Complex &f1a, Complex &f2a, Complex &f3a, FlavourInfo flavour, Virtuality virt=SpaceLike)
The form factor for the weak decay of a spin baryon to a spin baryon.
double _thetaxi
The mixing angle for the .
vector< Energy > _mquark
The mass of the quark for the form factor.
double _thetasigma
The mixing angle for the .
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Energy _mcharm
The charm quark mass.
vector< Energy > _polemass
The pole masses for the dependence of the form factors.
static void Init()
Standard Init function used to initialize the interfaces.
SingletonFormFactor()
Default constructor.
double _thetaxip
The mixing angle for the .
virtual void dataBaseOutput(ofstream &os, bool header, bool create) const
Output the setup information for the particle database.
virtual IBPtr clone() const
Make a simple clone of this object.
Energy _mstrange
The strange quark mass.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
vector< double > _nmM
The normalisation factor, , for the form factors.
SingletonFormFactor & operator=(const SingletonFormFactor &)=delete
Private and non-existent assignment operator.
double _thetalambda
The mixing angle for the .
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
-*- C++ -*-
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr