herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
ISGWFormFactor.h
1// -*- C++ -*-
2//
3// ISGWFormFactor.h is a part of Herwig - A multi-purpose Monte Carlo event generator
4// Copyright (C) 2002-2019 The Herwig Collaboration
5//
6// Herwig 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 HERWIG_ISGWFormFactor_H
10#define HERWIG_ISGWFormFactor_H
11//
12// This is the declaration of the <ISGWFormFactor class.
13//
14#include "ScalarFormFactor.h"
15#include "ThePEG/StandardModel/StandardModelBase.h"
16#include "ThePEG/PDT/ParticleData.h"
17#include "ThePEG/PDT/EnumParticles.h"
18#include "ThePEG/PDT/EnumParticles.h"
19#include "ThePEG/Repository/EventGenerator.h"
20
21namespace Herwig {
22using namespace ThePEG;
23
36
37public:
38
43
57 virtual void ScalarScalarFormFactor(Energy2 q2,unsigned int iloc,int id0,int id1,Energy m0,
58 Energy m1,Complex & f0,Complex & fp) const;
59
73 virtual void ScalarVectorFormFactor(Energy2 q2, unsigned int iloc, int id0, int id1,
74 Energy m0, Energy m1, Complex & V,
75 Complex & A0,Complex & A1,Complex & A2) const;
76
90 virtual void ScalarTensorFormFactor(Energy2 q2,unsigned int iloc,int id0,int id1,
91 Energy m0,
92 Energy m1, complex<InvEnergy2> & h,
93 Complex & k, complex<InvEnergy2> & bp,
94 complex<InvEnergy2> & bm) const;
96
103 virtual void dataBaseOutput(ofstream & os,bool header,bool create) const;
104
105public:
106
114
120 void persistentInput(PersistentIStream & is, int version);
122
126 static void Init();
127
128protected:
129
142 void formFactor(Energy2 q2,unsigned int iloc,int id0,int id1,Energy m0,
143 Energy m1,Complex & f1,Complex & f2,
144 Complex & f3,Complex & f4) const;
145 // general member to calculate all the form-factors
146
147protected:
148
155 virtual IBPtr clone() const {return new_ptr(*this);}
156
161 virtual IBPtr fullclone() const {return new_ptr(*this);}
163
164protected:
165
173 virtual void doinit();
175
176private:
177
182
183private:
184
188 double _kappa;
189
195 Energy _mdown;
196
200 Energy _mup;
201
205 Energy _mstrange;
206
210 Energy _mcharm;
211
215 Energy _mbottom;
216
220 vector<Energy> _mquark;
222
223
229 Energy _betaSud;
230
234 Energy _betaSus;
235
239 Energy _betaSuc;
240
244 Energy _betaSub;
245
249 vector<vector<Energy> > _betaS;
250
254 Energy _betaPud;
255
259 Energy _betaPus;
260
264 Energy _betaPuc;
265
269 vector<vector<Energy> > _betaP;
271
275 double _thetaeta;
276};
277
278}
279
280#endif /* HERWIG_ISGWFormFactor_H */
The ISGWFormFactor class is the implementation of the ISGW model of Phys.
Energy _betaSud
The wavefunction s-wave variational parameters for .
virtual void ScalarTensorFormFactor(Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, complex< InvEnergy2 > &h, Complex &k, complex< InvEnergy2 > &bp, complex< InvEnergy2 > &bm) const
The form factor for the weak decay of a scalar to a tensor.
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
Energy _betaPus
The wavefunction s-wave variational parameters for .
virtual void dataBaseOutput(ofstream &os, bool header, bool create) const
Output the setup information for the particle database.
ISGWFormFactor()
Default constructor.
double _kappa
The relativistic compensation factor.
Energy _betaPuc
The wavefunction s-wave variational parameters for .
virtual void ScalarVectorFormFactor(Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &V, Complex &A0, Complex &A1, Complex &A2) const
The form factor for the weak decay of a scalar to a vector.
static void Init()
Standard Init function used to initialize the interfaces.
vector< vector< Energy > > _betaP
The p-wave variational parameters as a vector.
ISGWFormFactor & operator=(const ISGWFormFactor &)=delete
Private and non-existent assignment operator.
virtual IBPtr clone() const
Make a simple clone of this object.
Energy _betaPud
The wavefunction p-wave variational parameters for .
virtual void doinit()
Initialize this object after the setup phase before saving and EventGenerator to disk.
Energy _mdown
The down quark mass.
Energy _mup
The up quark mass.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
void formFactor(Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &f1, Complex &f2, Complex &f3, Complex &f4) const
The member which implements all the different form-factors.
Energy _betaSub
The wavefunction s-wave variational parameters for .
Energy _betaSus
The wavefunction s-wave variational parameters for .
Energy _betaSuc
The wavefunction s-wave variational parameters for .
double _thetaeta
The mixing angle.
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.
Energy _mcharm
The charm quark mass.
vector< Energy > _mquark
The masses of the quarks as a vector.
virtual void ScalarScalarFormFactor(Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &f0, Complex &fp) const
The form factor for the weak decay of a scalar to a scalar.
vector< vector< Energy > > _betaS
The s-wave variational parameters as a vector.
Energy _mbottom
The bottom quark mass.
The ScalarFormFactor class is the base class for the form factors for the weak decay of scalar to sca...
-*- C++ -*-
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr