cepgen
is hosted by
Hepforge
,
IPPP Durham
CepGen
1.2.5
Central exclusive processes event generator
Loading...
Searching...
No Matches
Parameterisation.h
Go to the documentation of this file.
1
/*
2
* CepGen: a central exclusive processes event generator
3
* Copyright (C) 2013-2024 Laurent Forthomme
4
*
5
* This program is free software: you can redistribute it and/or modify
6
* it under the terms of the GNU General Public License as published by
7
* the Free Software Foundation, either version 3 of the License, or
8
* any later version.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
#ifndef CepGen_FormFactors_Parameterisation_h
20
#define CepGen_FormFactors_Parameterisation_h
21
22
#include "
CepGen/FormFactors/FormFactors.h
"
23
#include "
CepGen/Modules/NamedModule.h
"
24
#include "
CepGen/Physics/HeavyIon.h
"
25
26
namespace
cepgen
{
27
namespace
formfac {
29
class
Parameterisation
:
public
NamedModule
<Parameterisation> {
30
public
:
31
explicit
Parameterisation
(
const
ParametersList
&);
32
33
static
ParametersDescription
description
();
34
35
friend
std::ostream&
operator<<
(std::ostream&,
const
Parameterisation
&);
36
37
double
tau
(
double
q2)
const
;
38
39
virtual
const
FormFactors
&
operator()
(
double
/*q2*/
);
40
virtual
bool
fragmenting
()
const
{
return
false
; }
41
42
protected
:
43
static
constexpr
double
MU
= 2.792847337;
44
45
virtual
void
eval
() = 0;
46
47
void
setFEFM
(
double
fe,
double
fm);
48
void
setGEGM
(
double
ge,
double
gm);
49
50
const
pdgid_t
pdg_id_
;
51
const
double
mass2_
;
52
const
double
mp_
;
53
const
double
mp2_
;
54
55
double
q2_
{-1.};
56
FormFactors
ff_
{};
57
};
58
std::ostream&
operator<<
(std::ostream&,
const
FormFactors&);
59
}
// namespace formfac
60
}
// namespace cepgen
61
62
#endif
FormFactors.h
HeavyIon.h
NamedModule.h
cepgen::NamedModule
Base runtime module object.
Definition
NamedModule.h:28
cepgen::ParametersDescription
A description object for parameters collection.
Definition
ParametersDescription.h:26
cepgen::ParametersList
Definition
ParametersList.h:52
cepgen::formfac::Parameterisation
Nucleon electromagnetic form factors parameterisation.
Definition
Parameterisation.h:29
cepgen::formfac::Parameterisation::fragmenting
virtual bool fragmenting() const
Is the nucleon surviving the exchange?
Definition
Parameterisation.h:40
cepgen::formfac::Parameterisation::operator<<
friend std::ostream & operator<<(std::ostream &, const Parameterisation &)
Friendly printout operator.
Definition
Parameterisation.cpp:70
cepgen::formfac::Parameterisation::tau
double tau(double q2) const
variable definition
Definition
Parameterisation.cpp:33
cepgen::formfac::Parameterisation::MU
static constexpr double MU
Proton magnetic moment.
Definition
Parameterisation.h:43
cepgen::formfac::Parameterisation::mp2_
const double mp2_
Squared proton mass, in GeV /c .
Definition
Parameterisation.h:53
cepgen::formfac::Parameterisation::operator()
virtual const FormFactors & operator()(double)
Compute all form factors for a given value.
Definition
Parameterisation.cpp:35
cepgen::formfac::Parameterisation::setFEFM
void setFEFM(double fe, double fm)
Set the electromagnetic form factors.
Definition
Parameterisation.cpp:52
cepgen::formfac::Parameterisation::setGEGM
void setGEGM(double ge, double gm)
Set the Sachs form factors.
Definition
Parameterisation.cpp:60
cepgen::formfac::Parameterisation::pdg_id_
const pdgid_t pdg_id_
Incoming beam.
Definition
Parameterisation.h:50
cepgen::formfac::Parameterisation::eval
virtual void eval()=0
Local form factors evaluation method.
cepgen::formfac::Parameterisation::ff_
FormFactors ff_
Last form factors computed.
Definition
Parameterisation.h:56
cepgen::formfac::Parameterisation::description
static ParametersDescription description()
Definition
Parameterisation.cpp:45
cepgen::formfac::Parameterisation::mass2_
const double mass2_
Incoming beam squared mass.
Definition
Parameterisation.h:51
cepgen::formfac::Parameterisation::mp_
const double mp_
Proton mass, in GeV/c .
Definition
Parameterisation.h:52
cepgen::formfac::Parameterisation::q2_
double q2_
Virtuality at which the form factors are evaluated.
Definition
Parameterisation.h:55
cepgen::formfac::operator<<
std::ostream & operator<<(std::ostream &os, const Parameterisation &ff)
Definition
Parameterisation.cpp:70
cepgen::formfac::FormFactors
Form factors values.
Definition
FormFactors.h:26
cepgen
Common namespace for this Monte Carlo generator.
Definition
CommandLineHandler.cpp:36
cepgen::pdgid_t
unsigned long long pdgid_t
Alias for the integer-like particle PDG id.
Definition
ParticleProperties.h:26
CepGen
FormFactors
Parameterisation.h
Generated on Mon Jul 29 2024 for CepGen by
1.9.7