herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
HQETFormFactor.h
1 // -*- C++ -*-
2 //
3 // HQETFormFactor.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_HQETFormFactor_H
10 #define HERWIG_HQETFormFactor_H
11 //
12 // This is the declaration of the HQETFormFactor class.
13 //
14 
15 #include "ScalarFormFactor.h"
16 
17 namespace Herwig {
18 
19 using namespace ThePEG;
20 
31 
32 public:
33 
38 
52  virtual void ScalarScalarFormFactor(Energy2 q2,unsigned int iloc,int id0,int id1,
53  Energy m0,Energy m1,Complex & f0,
54  Complex & fp) const;
55 
69  virtual void ScalarVectorFormFactor(Energy2 q2, unsigned int iloc, int id0, int id1,
70  Energy m0, Energy m1,Complex & A0,
71  Complex & A1,Complex & A2, Complex & V) const;
73 
80  virtual void dataBaseOutput(ofstream & os,bool header,bool create) const;
81 
82 public:
83 
90  void persistentOutput(PersistentOStream & os) const;
91 
97  void persistentInput(PersistentIStream & is, int version);
99 
106  static void Init();
107 
108 protected:
109 
116  virtual IBPtr clone() const {return new_ptr(*this);}
117 
122  virtual IBPtr fullclone() const {return new_ptr(*this);}
124 
125 private:
126 
131  HQETFormFactor & operator=(const HQETFormFactor &) = delete;
132 
133 private:
134 
138  double _f1scalar;
139 
143  double _f1vector;
144 
148  double _r1;
149 
153  double _r2;
154 
158  double _rho2scalar;
159 
163  double _rho2vector;
164 };
165 
166 }
167 
168 #endif /* HERWIG_HQETFormFactor_H */
The ScalarFormFactor class is the base class for the form factors for the weak decay of scalar to sca...
std::complex< double > Complex
ThePEG::Ptr< InterfacedBase >::pointer IBPtr
double _rho2vector
The slope parameter for the vector form factors.
virtual IBPtr clone() const
Make a simple clone of this object.
double _f1vector
The normalisation parameter for the vector form factors.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
double _rho2scalar
The slope parameter for the scalar form factors.
double _r1
The form factor at .
-*- C++ -*-
double _f1scalar
The normalisation parameter for the scalar form factors.
double _r2
The form factor at .
The HQETFormFactor class implements the form factors for the decay of B mesons into D and mesons usi...