herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
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
17namespace Herwig {
18
19using namespace ThePEG;
20
31
32public:
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
82public:
83
91
97 void persistentInput(PersistentIStream & is, int version);
99
106 static void Init();
107
108protected:
109
116 virtual IBPtr clone() const {return new_ptr(*this);}
117
122 virtual IBPtr fullclone() const {return new_ptr(*this);}
124
125private:
126
132
133private:
134
138 double _f1scalar;
139
143 double _f1vector;
144
148 double _r1;
149
153 double _r2;
154
159
164};
165
166}
167
168#endif /* HERWIG_HQETFormFactor_H */
The HQETFormFactor class implements the form factors for the decay of B mesons into D and mesons usi...
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
double _rho2vector
The slope parameter for the vector form factors.
double _r1
The form factor at .
virtual void dataBaseOutput(ofstream &os, bool header, bool create) const
Output the setup information for the particle database.
HQETFormFactor & operator=(const HQETFormFactor &)=delete
The assignment operator is private and must never be called.
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
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.
double _r2
The form factor at .
double _f1vector
The normalisation parameter for the vector form factors.
static void Init()
The standard Init function used to initialize the interfaces.
double _rho2scalar
The slope parameter for the scalar form factors.
double _f1scalar
The normalisation parameter for the scalar form factors.
virtual void ScalarVectorFormFactor(Energy2 q2, unsigned int iloc, int id0, int id1, Energy m0, Energy m1, Complex &A0, Complex &A1, Complex &A2, Complex &V) const
The form factor for the weak decay of a scalar to a vector.
HQETFormFactor()
The default constructor.
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
virtual IBPtr clone() const
Make a simple clone of this object.
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