thepeg
is hosted by
Hepforge
,
IPPP Durham
ThePEG
2.3.0
PDF
DipoleFormFactor.h
1
// -*- C++ -*-
2
#ifndef ThePEG_DipoleFormFactor_H
3
#define ThePEG_DipoleFormFactor_H
4
//
5
// This is the declaration of the DipoleFormFactor class.
6
//
7
8
#include "NucleonFormFactor.h"
9
#include "ThePEG/Utilities/Maths.h"
10
11
namespace
ThePEG
{
12
19
class
DipoleFormFactor
:
public
NucleonFormFactor
{
20
21
public
:
22
26
DipoleFormFactor
() :
q02_
(0.71*GeV2)
27
{}
28
33
Complex
formFactor
(
tcPDPtr
,
Energy2
q2)
const
{
34
return
Math::powi
((1 + q2/
q02_
),-2);
35
}
36
37
public
:
38
45
void
persistentOutput
(
PersistentOStream
& os)
const
;
46
52
void
persistentInput
(
PersistentIStream
& is,
int
version);
54
61
static
void
Init
();
62
63
protected
:
64
71
virtual
IBPtr
clone
()
const
;
72
77
virtual
IBPtr
fullclone
()
const
;
79
80
private
:
81
86
DipoleFormFactor
&
operator=
(
const
DipoleFormFactor
&) =
delete
;
87
88
private
:
89
93
Energy2
q02_
;
94
95
};
96
97
}
98
99
#endif
/* ThePEG_DipoleFormFactor_H */
ThePEG::DipoleFormFactor
Here is the documentation of the DipoleFormFactor class.
Definition:
DipoleFormFactor.h:19
ThePEG::DipoleFormFactor::Init
static void Init()
The standard Init function used to initialize the interfaces.
ThePEG::DipoleFormFactor::persistentInput
void persistentInput(PersistentIStream &is, int version)
Function used to read in object persistently.
ThePEG::DipoleFormFactor::q02_
Energy2 q02_
Fitted scale for the dipole form factor.
Definition:
DipoleFormFactor.h:93
ThePEG::DipoleFormFactor::operator=
DipoleFormFactor & operator=(const DipoleFormFactor &)=delete
The assignment operator is private and must never be called.
ThePEG::DipoleFormFactor::DipoleFormFactor
DipoleFormFactor()
The default constructor.
Definition:
DipoleFormFactor.h:26
ThePEG::DipoleFormFactor::clone
virtual IBPtr clone() const
Make a simple clone of this object.
ThePEG::DipoleFormFactor::persistentOutput
void persistentOutput(PersistentOStream &os) const
Function used to write out object persistently.
ThePEG::DipoleFormFactor::formFactor
Complex formFactor(tcPDPtr, Energy2 q2) const
Return the form factor.
Definition:
DipoleFormFactor.h:33
ThePEG::DipoleFormFactor::fullclone
virtual IBPtr fullclone() const
Make a clone of this object, possibly modifying the cloned object to make it sane.
ThePEG::NucleonFormFactor
The documentation of the NucleonFormFactor class provides a base class for the implementation of nucl...
Definition:
NucleonFormFactor.h:20
ThePEG::PersistentIStream
PersistentIStream is used to read persistent objects from a stream where they were previously written...
Definition:
PersistentIStream.h:48
ThePEG::PersistentOStream
PersistentOStream is used to write objects persistently to a stream from which they can be read in ag...
Definition:
PersistentOStream.h:51
ThePEG::Pointer::RCPtr
RCPtr is a reference counted (smart) pointer.
Definition:
RCPtr.h:60
ThePEG::Pointer::TransientConstRCPtr
TransientConstRCPtr is a simple wrapper around a bare const pointer which can be assigned to and from...
Definition:
RCPtr.h:696
ThePEG::Qty< 0, 2, 0 >
ThePEG::Math::powi
double powi(double x, int p)
Return x rased to the integer power p, using recursion.
ThePEG
This is the main namespace within which all identifiers in ThePEG are declared.
Definition:
FactoryBase.h:28
ThePEG::Complex
std::complex< double > Complex
ThePEG code should use Complex for all complex scalars.
Definition:
Complex.h:23
Generated on Thu Jun 20 2024 14:47:00 for ThePEG by
1.9.6