herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
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 
21 namespace Herwig {
22 using namespace ThePEG;
23 
36 
37 public:
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 
105 public:
106 
113  void persistentOutput(PersistentOStream & os) const;
114 
120  void persistentInput(PersistentIStream & is, int version);
122 
126  static void Init();
127 
128 protected:
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 
147 protected:
148 
155  virtual IBPtr clone() const {return new_ptr(*this);}
156 
161  virtual IBPtr fullclone() const {return new_ptr(*this);}
163 
164 protected:
165 
173  virtual void doinit();
175 
176 private:
177 
181  ISGWFormFactor & operator=(const ISGWFormFactor &) = delete;
182 
183 private:
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 ScalarFormFactor class is the base class for the form factors for the weak decay of scalar to sca...
double _kappa
The relativistic compensation factor.
std::complex< double > Complex
vector< Energy > _mquark
The masses of the quarks as a vector.
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
Energy _betaPud
The wavefunction p-wave variational parameters for .
Energy _betaSuc
The wavefunction s-wave variational parameters for .
Energy _mdown
The down quark mass.
Energy _mbottom
The bottom quark mass.
The ISGWFormFactor class is the implementation of the ISGW model of Phys.
Energy _mcharm
The charm quark mass.
vector< vector< Energy > > _betaS
The s-wave variational parameters as a vector.
Energy _betaSub
The wavefunction s-wave variational parameters for .
Energy _betaSus
The wavefunction s-wave variational parameters for .
Energy _mup
The up quark mass.
virtual IBPtr clone() const
Make a simple clone of this object.
Energy _mstrange
The strange quark mass.
-*- C++ -*-
Energy _betaPuc
The wavefunction s-wave variational parameters for .
double _thetaeta
The mixing angle.
vector< vector< Energy > > _betaP
The p-wave variational parameters as a vector.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
Energy _betaPus
The wavefunction s-wave variational parameters for .
Energy _betaSud
The wavefunction s-wave variational parameters for .