Elegent is hosted by Hepforge, IPPP Durham
Elegent
Elegent::Model Class Referenceabstract

The base class for hadronic models of (anti)proton-proton elastic scattering. More...

#include <Model.h>

Inheritance diagram for Elegent::Model:
Elegent::BHModel Elegent::BSWModel Elegent::DLModel Elegent::ExpModel Elegent::FerreiraModel Elegent::GodizovModel Elegent::InterpolationModel Elegent::IslamModel Elegent::JenkovszkyModel Elegent::PPPModel

Classes

struct  Label
 collection of strings that describe a model instance More...
 

Public Member Functions

std::string CompileFullLabel () const
 compiles a human readable string from fullLabel
 
std::string CompileShortLabel () const
 compiles a human readable string from shortLabel
 
virtual void Init ()=0
 sets up model parameters and data members
 
virtual void Print () const =0
 prints model info
 
virtual TComplex Amp (double t) const =0
 Amplitude in t-space. More...
 
virtual TComplex Prf (double b) const =0
 Profile function (amplitude in b-space). More...
 
virtual void ForcePresampling (bool)
 Sets the presampling option, if available. More...
 

Public Attributes

Label fullLabel
 full label (e.g. for figure legend)
 
Label shortLabel
 short label (e.g. for object names in ROOT files)
 

Detailed Description

The base class for hadronic models of (anti)proton-proton elastic scattering.

Member Function Documentation

virtual TComplex Elegent::Model::Amp ( double  t) const
pure virtual

Amplitude in t-space.

Normalisation is such that \( dsigma/dt = (\hbar c)^2 * \pi / (s p^2) * |Amp(t)|^2 \) Differential cross-section can be obtained as Constants::sig_fac * |Amp(t)|^2

Parameters
tin GeV^-2, t < 0

Implemented in Elegent::BSWModel, Elegent::IslamModel, Elegent::InterpolationModel, Elegent::PPPModel, Elegent::GodizovModel, Elegent::DLModel, Elegent::JenkovszkyModel, Elegent::BHModel, Elegent::FerreiraModel, and Elegent::ExpModel.

virtual void Elegent::Model::ForcePresampling ( bool  )
inlinevirtual

Sets the presampling option, if available.

This option determines whether calling Init would presample relevant distributions (typically b distributions) for faster Amp calls. This behaviour is, in contrary, undesirable for evaluating s distributions.

Reimplemented in Elegent::BSWModel, and Elegent::GodizovModel.

virtual TComplex Elegent::Model::Prf ( double  b) const
pure virtual

Profile function (amplitude in b-space).

Normalisation is such that \( Amp(t) = 2 p \sqrt{s} \int db b Prf() J_0(b \sqrt{-t}) \)

Parameters
bin fm.

Implemented in Elegent::InterpolationModel, Elegent::BSWModel, Elegent::IslamModel, Elegent::PPPModel, Elegent::GodizovModel, Elegent::DLModel, Elegent::JenkovszkyModel, Elegent::BHModel, Elegent::FerreiraModel, and Elegent::ExpModel.


The documentation for this class was generated from the following files:
  • src/libElegent/interface/Model.h
  • src/libElegent/src/Model.cc