CepGen 1.2.5
Central exclusive processes event generator
|
Nucleon electromagnetic form factors parameterisation. More...
#include <CepGen/FormFactors/Parameterisation.h>
Public Member Functions | |
Parameterisation (const ParametersList &) | |
double | tau (double q2) const |
\(\tau={Q^2}\over{4m_p^2}\) variable definition | |
virtual const FormFactors & | operator() (double) |
Compute all form factors for a given \(Q^2\) value. | |
virtual bool | fragmenting () const |
Is the nucleon surviving the exchange? | |
const std::string & | name () const |
Module unique indexing name. | |
bool | operator== (const SteeredObject &oth) const |
Equality operator. | |
bool | operator!= (const SteeredObject &oth) const |
Inequality operator. | |
const ParametersList & | parameters () const override |
Module user-defined parameters. | |
virtual void | setParameters (const ParametersList ¶ms) override |
Set module parameters. | |
void | setDescribedParameters (const ParametersList ¶ms_orig) |
Set (documented) module parameters. | |
Static Public Member Functions | |
static ParametersDescription | description () |
Protected Member Functions | |
virtual void | eval ()=0 |
Local form factors evaluation method. | |
void | setFEFM (double fe, double fm) |
Set the electromagnetic form factors. | |
void | setGEGM (double ge, double gm) |
Set the Sachs form factors. | |
template<typename T > | |
T | steer (const std::string &key) const |
Retrieve a parameters as previously steered. | |
template<typename T , typename U > | |
U | steerAs (const std::string &key) const |
Retrieve a recasted parameters as previously steered. | |
std::string | steerName () const |
Retrieve module name from parameters. | |
std::string | steerPath (const std::string &key) const |
Retrieve a path from common search paths. | |
Protected Attributes | |
const pdgid_t | pdg_id_ |
Incoming beam. | |
const double | mass2_ |
Incoming beam squared mass. | |
const double | mp_ |
Proton mass, in GeV/c \(^2\). | |
const double | mp2_ |
Squared proton mass, in GeV \(^2\)/c \(^4\). | |
double | q2_ {-1.} |
Virtuality at which the form factors are evaluated. | |
FormFactors | ff_ {} |
Last form factors computed. | |
const std::string | name_ |
Module unique indexing name. | |
ParametersList | params_ |
Module parameters. | |
Static Protected Attributes | |
static constexpr double | MU = 2.792847337 |
Proton magnetic moment. | |
Friends | |
std::ostream & | operator<< (std::ostream &, const Parameterisation &) |
Friendly printout operator. | |
Definition at line 29 of file Parameterisation.h.
|
explicit |
Definition at line 26 of file Parameterisation.cpp.
|
static |
Definition at line 45 of file Parameterisation.cpp.
|
protectedpure virtual |
Implemented in InelasticNucleon, and StandardDipole.
|
virtual |
Reimplemented in InelasticNucleon.
Definition at line 40 of file Parameterisation.h.
|
inherited |
Definition at line 42 of file NamedModule.h.
|
inherited |
Definition at line 51 of file SteeredObject.h.
|
virtual |
Definition at line 35 of file Parameterisation.cpp.
|
inherited |
Definition at line 49 of file SteeredObject.h.
|
overridevirtualinherited |
Reimplemented from Steerable.
Definition at line 54 of file SteeredObject.h.
|
inherited |
Definition at line 73 of file SteeredObject.h.
|
protected |
Definition at line 52 of file Parameterisation.cpp.
|
protected |
Definition at line 60 of file Parameterisation.cpp.
|
overridevirtualinherited |
Reimplemented from Steerable.
Reimplemented in Initial, Remnants, CutsList, IncomingBeams, and Kinematics.
Definition at line 62 of file SteeredObject.h.
|
protectedinherited |
Definition at line 39 of file Steerable.h.
Definition at line 44 of file Steerable.h.
|
protectedinherited |
Definition at line 48 of file Steerable.h.
|
protectedinherited |
Definition at line 30 of file Steerable.cpp.
double tau | ( | double | q2 | ) | const |
Definition at line 33 of file Parameterisation.cpp.
|
friend |
Definition at line 70 of file Parameterisation.cpp.
|
protected |
Definition at line 56 of file Parameterisation.h.
|
protected |
Definition at line 51 of file Parameterisation.h.
|
protected |
Definition at line 53 of file Parameterisation.h.
|
protected |
Definition at line 52 of file Parameterisation.h.
|
staticconstexprprotected |
Definition at line 43 of file Parameterisation.h.
|
protectedinherited |
Definition at line 45 of file NamedModule.h.
|
mutableprotectedinherited |
Definition at line 50 of file Steerable.h.
|
protected |
Definition at line 50 of file Parameterisation.h.
|
protected |
Definition at line 55 of file Parameterisation.h.