herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
CzyzNucleonFormFactor.h
1// -*- C++ -*-
2#ifndef Herwig_CzyzNucleonFormFactor_H
3#define Herwig_CzyzNucleonFormFactor_H
4//
5// This is the declaration of the CzyzNucleonFormFactor class.
6//
7
8#include "BaryonFormFactor.h"
9
10namespace Herwig {
11
12using namespace ThePEG;
13
22
23public:
24
29
47 virtual void SpinHalfSpinHalfFormFactor(Energy2 q2,int iloc, int id0, int id1,
48 Energy m0, Energy m1,
49 Complex & f1v,Complex & f2v,Complex & f3v,
50 Complex & f1a,Complex & f2a,Complex & f3a,
51 FlavourInfo flavour,
52 Virtuality virt=SpaceLike);
53
60 virtual void dataBaseOutput(ofstream & os,bool header,bool create) const;
61
62public:
63
71
77 void persistentInput(PersistentIStream & is, int version);
79
86 static void Init();
87
88protected:
89
96 virtual IBPtr clone() const;
97
102 virtual IBPtr fullclone() const;
104
105protected:
106
112 virtual void doinit();
113
114private:
115
121
122private:
123
127 vector<Energy> rhoMasses_;
128
132 vector<Energy> rhoWidths_;
133
137 vector<Energy> omegaMasses_;
138
142 vector<Energy> omegaWidths_;
143
147 vector<double> c1Re_;
148
152 vector<double> c1Im_;
153
157 vector<double> c2Re_;
158
162 vector<double> c2Im_;
163
167 vector<double> c3Re_;
168
172 vector<double> c3Im_;
173
177 vector<double> c4Re_;
178
182 vector<double> c4Im_;
183
187 vector<Complex> c1_;
188
192 vector<Complex> c2_;
193
197 vector<Complex> c3_;
198
202 vector<Complex> c4_;
203
207 double mup_;
208
212 double mun_;
213
217 double a_;
218
222 double b_;
223};
224
225}
226
227#endif /* Herwig_CzyzNucleonFormFactor_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 CzyzNucleonFormFactor class implements the model of Phys.Rev.
double mun_
Neutron magentic moment.
static void Init()
The standard Init function used to initialize the interfaces.
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.
vector< double > c1Re_
The real part of the couplings.
vector< Energy > omegaMasses_
The masses of the resonances.
virtual IBPtr clone() const
Make a simple clone of this object.
vector< double > c2Im_
The imaginary part of the couplings.
vector< Energy > omegaWidths_
The widths of the resonances.
vector< Complex > c4_
The complex coupling.
vector< double > c1Im_
The imaginary part of the couplings.
virtual void dataBaseOutput(ofstream &os, bool header, bool create) const
Output the setup information for the particle database.
double mup_
Proton magentic moment.
vector< Complex > c1_
The complex coupling.
CzyzNucleonFormFactor & operator=(const CzyzNucleonFormFactor &)=delete
The assignment operator is private and must never be called.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
vector< Energy > rhoMasses_
The masses of the resonances.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
vector< Energy > rhoWidths_
The widths of the resonances.
vector< double > c4Im_
The imaginary part of the couplings.
vector< double > c3Im_
The imaginary part of the couplings.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
vector< double > c4Re_
The real part of the couplings.
vector< double > c3Re_
The real part of the couplings.
vector< double > c2Re_
The real part of the couplings.
vector< Complex > c2_
The complex coupling.
virtual void doinit()
Initialize this object after the setup phase before saving an EventGenerator to disk.
CzyzNucleonFormFactor()
The default constructor.
vector< Complex > c3_
The complex coupling.
-*- C++ -*-
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr